From 037ad25c8709c832ce4082d824258cd9246544cf Mon Sep 17 00:00:00 2001 From: Matthew Flatt Date: Thu, 24 Nov 2005 16:50:30 +0000 Subject: [PATCH] line functions takes numbers, not just integers svn: r1394 --- teachpack/htdp/Docs/image.thtml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/teachpack/htdp/Docs/image.thtml b/teachpack/htdp/Docs/image.thtml index 688ee6433b..5d00161a81 100644 --- a/teachpack/htdp/Docs/image.thtml +++ b/teachpack/htdp/Docs/image.thtml @@ -22,10 +22,10 @@ information about color structs. to create an ellipse using the given width, height, and color
  • {(idx triangle)} : int mode iamge-color -> image
    to create an upward pointing equilateral triangle using the given edge size and color -
  • {(idx line)} : int int image-color -> image
    +
  • {(idx line)} : number number image-color -> image
    to create an image with a colored line from (0,0) to the point with the given coordinates -
  • {(idx add-line)} : image int int int int image-color -> image
    +
  • {(idx add-line)} : image number number number number image-color -> image
    to add a line to an existing image, drawn between the two given points
  • {(idx text)} : string size image-color -> image
    to create an image of the text in the given string, with the point size, and color specified by the last two arguments