|  | ||
| 
 | 
 int draw_polygon ( int count, SS_XYZ *points ) 
 int count; // number of points in the polygon SS_XYZ *points; // address of array of points definintg the polygon 
 | 
 | ||
| Synopsis | #include "silver.h" 
 The draw_polygon function adds a polygon to the drawing database in the current object. 
 | 
 | ||
| Parameters | count is an integer specifying the number of points in the polygon; points is the address of an array of XYZs specifying the points of the polygon. 
 | 
 | ||
| Return Value | draw_polygon returns FALSE if the number of points in the polygon is greater than 100, or a memory allocation fails in the process of building the polygon; otherwise, TRUE is returned. 
 | 
 | ||
| Comments | draw_polygon is intended as a faster replacement to the script command sequence: 
 
 | 
 | ||
| See Also | 
 | 
 |