-- Draw the perimeter of a polygon
void GrPoly (
GR_POINT * pointtable
The ID of the window or other drawable area.
The graphics context to use when drawing the point.
The number of points in the polygon.
An array of GR_POINT coordinates.
The GrPoly function
draws a polygon defined by the pointtabel array.
To draw a closed polygon, you must set the first and last points to the same