docs revised for world

svn: r7040
This commit is contained in:
Matthias Felleisen 2007-08-07 00:02:07 +00:00
parent 140b1eb1fd
commit 348d0c2acb

View File

@ -124,8 +124,8 @@ students to simulate a small world of animated drawings and games:
<code>(place-image image x y scene)</code> <code>(place-image image x y scene)</code>
places image at (x,y) into scene; (x,y) are comp. graph. coordinates places image at (x,y) into scene; (x,y) are comp. graph. coordinates
<li><code>{(idx add-line)} : Scene Number Number Number Number Color -> Scene</code><br> <li><code>{(idx scene+line)} : Scene Number Number Number Number Color -> Scene</code><br>
<code>(add-line scene x0 y0 x1 y1 c)</code> <code>(scene+line scene x0 y0 x1 y1 c)</code>
places a line of color <code>c</code> from <code>(x0,y0)</code> to places a line of color <code>c</code> from <code>(x0,y0)</code> to
<code>(x1,y1)</code> into <code>scene</code>; <code>(x1,y1)</code> into <code>scene</code>;
<code>(x,y)</code> are comp. graph. coordinates; <code>(x,y)</code> are comp. graph. coordinates;
@ -143,9 +143,8 @@ students to simulate a small world of animated drawings and games:
<h3>Image Manipulation</h3> <h3>Image Manipulation</h3>
<p>Finally, the teachpack provides all the functions that image.ss provides <p>Finally, the teachpack provides all the functions that image.ss
except <code>add-line</code>, which has a slightly different provides. For completeness, the documentation of this teackpack is
functionality. For completeness, the documentation of this teackpack is
included here: included here:
{(include "image-content.tinc")} {(include "image-content.tinc")}