This function creates a new region and returns its ID. The new region is created by connecting the points in the specified GR_POINT array.
Type | Name | Description |
---|---|---|
int | mode | The method for handling overlapping sections of the polygon. See the mode description table below. |
GR_COUNT | count | The number of points in the GR_POINT array used to define the polygon. |
GR_POINT* | points | A pointer to an array of GR_POINT structures that define the vertices of the polygon. |