This function draws a frame polygon on the specified drawable using the graphics context gc. The polygon is specified by an array of GR_POINT structures in which each point represents a vertex of the polygon.
![]() | The polygon is NOT automatically closed. If you wish to draw a closed polygon the first and last point in the point table must specify the same coordinates. |
Type | Name | Description |
---|---|---|
GR_DRAW_ID | id | The ID of the drawable to draw the polygon onto. |
GR_GC_ID | gc | The ID of the graphics context to use when drawing the polygon. |
GR_COUNT | count | The number of points in the point table. |
GR_POINT* | pointtable | A pointer to an array of GR_POINT structures which define the vertices of the polygon. |