Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS Vector C++ Class Library Help

VECTORPOLYGON

Show in webframe

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.

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.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.