racket/collects/teachpack/htdc/Docs/geometry.thtml
Matthias Felleisen c8e7482511 htdch collection reorganized, docs too
svn: r3631
2006-07-06 18:15:35 +00:00

22 lines
628 B
Plaintext

{ (define LIBNAME "A Geometry Library (HtDC)")
(include "head.tinc") }
This <code>geometry</code> package provides a class for representing
positions in a Cartesian world:
<pre>
<code>
+----------+
| Posn |
+----------+
| int x |
| int y |
+----------+
</code>
</pre>
<p>To create an instance of the <code>Posn</code> class, a program must supply
two <code>int</code> values: one for its x coordinate of the canvas and the
second for its y coordinate. </p>
{(include "foot.tinc")}