From 581100edbea2131e090eb1ba27c39348e4f9b37d Mon Sep 17 00:00:00 2001 From: Matthias Felleisen Date: Sat, 29 Jul 2006 15:47:54 +0000 Subject: [PATCH] documentation bug in draw svn: r3894 --- collects/teachpack/htdc/Docs/draw.thtml | 28 ++++++++++++++----------- 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/collects/teachpack/htdc/Docs/draw.thtml b/collects/teachpack/htdc/Docs/draw.thtml index 4879c75af0..07064004a0 100644 --- a/collects/teachpack/htdc/Docs/draw.thtml +++ b/collects/teachpack/htdc/Docs/draw.thtml @@ -36,7 +36,7 @@ import geometry.*;
  • bigBang(width,height,speed), which initializes the world, associates it with a width x height Canvas, displays -this canvas, and finally starts the clock at a rate of one tick per +this canvas, enables keyevents, and finally starts the clock at a rate of one tick per speed seconds. If it succeeds with all of its actions, the method produces true. @@ -86,11 +86,11 @@ handlers has been called. Its purpose is to present this World graphically on its canvas. If it succeeds, its result is true.
  • -
  • erase(), which is invoked after one of the two event -handlers has been called. Its purpose is to erase this World's -canvas, as much as needed. If it succeeds, its result is true. - Simple erase methods just draw a white rectangle of appropriate width and - height located at the origin. +
  • erase(), which is invoked before one of the two event + handlers has been called. Its purpose is to erase this World's + canvas, as much as needed. If it succeeds, its result is true. + Simple erase methods just draw a white rectangle of appropriate width and + height located at the origin.
  • A program may, in principle, start several instances of (subclasses of) @@ -104,14 +104,18 @@ height. The canvas is a rectangle, whose borders are parallel to the computer screen's borders. A program can use the following methods on instances of Canvas: