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