The VECTORPOLYGON structure holds information about a vector polygon object.
typedef struct tagVECTORCURVECLOSED
{
VECTOROBJECT Object;
VECTORPOINT * Point;
L_INT nPointCount;
VECTORPEN Pen;
VECTORBRUSH Brush;
L_INT nPolyFillMode;
} VECTORCURVECLOSED, * pVECTORCURVECLOSED, VECTORPOLYGON, * pVECTORPOLYGON;
Abstract object.
An array of VECTORPOINT structures that contain the points that define a vector polygon object in space.
Number of points in the array.
VECTORPEN structure that contains information about the pen to use when drawing the vector polygon object.
VECTORBRUSH structure that contains information about the brush to use when drawing the vector polygon object.
Flag that indicates how to handle complex crossing lines. The following are valid values, which are illustrated below:
Value | Meaning |
---|---|
VECTOR_POLY_WINDING | [WINDING] All pixels that are inside the resulting exterior lines are in the region. |
VECTOR_POLY_ALTERNATE | [ALTERNATE] The region includes the area between odd-numbered and even-numbered polygon sides on each scan line. |
nSize of the Object member must be the sizeof this structure.
nType of the Object member must be VECTOR_POLYGON.
pVECTORPOLYGON is a pointer to a VECTORPOLYGON structure.