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

VECTORPOLYDRAW

Show in webframe

typedef struct tagVECTORPOLYDRAW
{
   VECTOROBJECT Object;
   VECTORPOINT * Point;
   L_INT nPointCount;
   L_UCHAR  *pbyType;
   VECTORPEN Pen;
   VECTORBRUSH Brush;
} VECTORPOLYDRAW,  * pVECTORPOLYDRAW;

The VECTORPOLYDRAW structure holds information about a vector polydraw object.

Member

Description

Object

Abstract object.

Point

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

nPointCount

Number of points in the array.

pbyType

Pointer to an array that specifies how each point in the Point array is used. The values given below behave like the PT_MOVETO, PT_LINETO, PT_BEZIERTO and PT_CLOSEFIGURE values under PolyDraw in the Microsoft SDK. For a more detailed explanation, refer to the Microsoft SDK documentation. Possible values are:

 

Value

Meaning

 

VECTOR_PT_MOVETO

Beginning of a disjoint figure. This will be the new current position.

 

VECTOR_PT_LINETO

Draw a line from the current position to this point. This point becomes the new current position.

 

VECTOR_PT_BEZIERTO

Control point or end point for a Bzier curve. These occur in threes. The first two are control points and the third is the end point. For more information, refer to the Microsoft SDK documentation.

 

VECTOR_PT_CLOSEFIGURE

Automatically close the figure after VECTOR_PT_LINETO or VECTOR_PT_BEZIERTO is done. This can be combined with VECTOR_PT_LINETO or VECTOR_PT_BEZIERTO using a bitwise OR.

Pen

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

Brush

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

Comments

nSize of the Object member must be the sizeof this structure.

nType of the Object member must be VECTOR_POLYDRAW.

pVECTORPOLYDRAW is a pointer to a VECTORPOLYDRAW structure.

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