diff --git a/collects/teachpack/htdp/Docs/image.thtml b/collects/teachpack/htdp/Docs/image.thtml
index ef141a23cf..f6a8aaffd9 100644
--- a/collects/teachpack/htdp/Docs/image.thtml
+++ b/collects/teachpack/htdp/Docs/image.thtml
@@ -1,64 +1,69 @@
{ (define LIBNAME "Images")
(include "head.tinc") }
-This teachpack provides primitives for constructing and manipulating
+
This teachpack provides primitives for constructing and manipulating
images. Basic images are created as outlines or solid shapes. Additional
-primitives allow for the composition of images.
+primitives allow for the composition of images.
-Data definition:
+
Data definition:
-;; Mode is one of the following two symbols or strings:
+;; {(idx Mode)} is one of the following two symbols or strings:
;; -- 'solid
;; -- 'outline
;; -- "solid"
;; -- "outline"
-
-
-Interpretation: 'solid
is used for creating solid basic
-shapes; 'outline
is used for creating outlines of basic
-shapes. Strings are used in an analogous manner.
+
+;; Interpretation: 'solid
is used for creating solid basic
+;; shapes; 'outline
is used for creating outlines of basic
+;; shapes. Strings are used in an analogous manner.
+
Data definition:
-;; Color is one of:
+(define-struct color (red blue green))
+;; A CS is a structure: (make-color N N N)
+;; where N is between 0 and 255.
+
+;; {(idx Color)} is one of:
;; -- a color symbol, e.g., 'blue
;; -- a color string, e.g., "blue"
-;; -- a color struct, e.g., (make-color 0 0 255), which also denotes blue.
+;; -- a CS, e.g., (make-color 0 0 255), which also denotes blue.
+
+;; Interpretation: Color
arguments are used to paint the shapes
+;; or their outlines. See below for more information about color structs.
-Interpretation: Color
arguments are used to paint the shapes
-or their outlines. See below for more information about color structs.
The following predicate precisely specifies what a valid image color is:
-The following functions create basic shapes (Image
):
+The first group of functions creates basic shapes (Image
):
@@ -71,30 +76,30 @@ created from line
and text
, which have pinholes
at the top left. When in doubt you can always find out where the pinhole is
and even place it somewhere else:
The next group of functions build images from images: