home *** CD-ROM | disk | FTP | other *** search
-
- /* function to draw a shape (set of lines) from 2 arrays of pts. */
- grshape(x,y,sides,color)
- int *x; /* pointer to array of column coordinates */
- int *y; /* pointer to array of row coordinates */
- int sides; /* number of sides */
- int color; /* color of shape */
- {
- eg_polygon(x,y,sides,0,color,0,0,1);
- }