This function draws a filled 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 automatically closed, the last point in the point table does not need to be explicitly specified to be the same as the first point. |
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. |