Name
GrNewPolygonRegion -- Create a new region based on a set of points
Synopsis
GR_REGION_ID GrNewPolygonRegion (
int mode,
GR_COUNT count,
GR_POINT * points
);
Parameters
- mode
The fill mode for the polygon. Accepted values:
MWPOLY_EVENODD, MWPOLY_WINDING.
- count
The number of points that define the polygon.
- points
A pointer to an array of GR_POINT coordinate
pairs.
Return Value
Returns the ID of the new region.
Description
The GrNewPolygonRegion function creates
a region from an array of points that define a polygon.