">smalltalk</a></li><li><a href="hypertalk.html">hypertalk</a></li></ul><ul><li><a href="defunct.html">defunct</a></li><li><a href="point2d.html" class="self">point2d</a></li><li><a href="line2d.html">line2d</a></li></ul><ul></ul></nav>
<main><h2>Point2d toolkit in ANSI C.</h2>

<pre>typedef struct {<br />	int x, y;<br />} Point2d;<br /><br />Point2d *<br />setpt2d(Point2d *p, int x, int y)<br />{<br />	p-&gt;x = x;<br />	p-&gt;y = y;<br />	return p;<br />}<br /><br />Point2d<br />Pt2d(int x, int y)<br />{<