VECTORPOLYGON
typedef struct tagVECTORCURVECLOSED
{
VECTOROBJECT Object;
VECTORPOINT * Point;
L_INT nPointCount;
VECTORPEN Pen;
VECTORBRUSH Brush;
L_INT nPolyFillMode;
} VECTORCURVECLOSED, L_FAR * pVECTORCURVECLOSED, VECTORPOLYGON, L_FAR * pVECTORPOLYGON;
The VECTORPOLYGON structure holds information about a vector polygon object.
Member |
Description |
|
Object |
Abstract object. |
|
Point |
An array of VECTORPOINT structures that contain the points that define a vector polygon object in space. |
|
nPointCount |
Number of points in the array. |
|
Pen |
VECTORPEN structure that contains information about the pen to use when drawing the vector polygon object. |
|
Brush |
VECTORBRUSH structure that contains information about the brush to use when drawing the vector polygon object. |
|
nPolyFillMode |
Flag that indicates how to handle complex crossing lines. The following are valid values, which are illustrated below: |
|
|
Value |
Meaning |
|
VECTOR_POLY_WINDING |
[0] All pixels that are inside the resulting exterior lines are in the region. |
|
VECTOR_POLY_ALTERNATE |
[1] The region includes the area between odd-numbered and even-numbered polygon sides on each scan line. |
Comments
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.