VECTORPOLYGON

typedef struct tagVECTORCURVECLOSED 
{ 
   VECTOROBJECT Object; 
   VECTORPOINT * Point; 
   L_INT nPointCount; 
   VECTORPEN Pen; 
   VECTORBRUSH Brush; 
   L_INT nPolyFillMode; 
} VECTORCURVECLOSED, * pVECTORCURVECLOSED, VECTORPOLYGON, * pVECTORPOLYGON; 

The VECTORPOLYGON structure holds information about a vector polygon object.

Members

VECTOROBJECT Object

Abstract object.

VECTORPOINT * Point

An array of VECTORPOINT structures that contain the points that define a vector polygon object in space.

L_INT nPointCount

Number of points in the array.

VECTORPEN Pen

VECTORPEN structure that contains information about the pen to use when drawing the vector polygon object.

VECTORBRUSH Brush

VECTORBRUSH structure that contains information about the brush to use when drawing the vector polygon object.

L_INT nPolyFillMode

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.

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.

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Vector C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.