[plt-scheme] Is this the correct behaviour for add-line?

From: Chris Stephenson (cs at cs.bilgi.edu.tr)
Date: Wed Dec 6 15:38:08 EST 2006

DrScheme Help says that the world.ss add-line function (unlike the
image.ss add-line)  only draws the part of the line that lies within the
boundaries of the scene.

So I thought trying to draw a very long line should not cause a problem
- it should simply be truncated.

My experiments seem to show that this results in a "cannot make n x n
image" error, where n is the large co-ordinate of the line.

My test code is attached.

Here is the output:
Welcome to DrScheme, version 360.
Language: Pretty Big (includes MrEd and Advanced Student).
Teachpack: /usr/lib/plt/collects/teachpack/htdp/world.ss.
#t
. cannot make 10001 x 10001 image
>




-------------- next part --------------
A non-text attachment was scrubbed...
Name: addline-test.scm
Type: text/x-scheme
Size: 656 bytes
Desc: not available
URL: <http://lists.racket-lang.org/users/archive/attachments/20061206/9acbb98f/attachment.bin>

Posted on the users mailing list.