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

VECTOROBJECT

Show in webframe

typedef struct tagVECTOROBJECT
{
   L_INT nSize;
   L_INT nType;
   L_INT nId;
   L_INT nLayerId;
   L_INT nGroupId;
   L_INT nROP;
   DWORD dwFlags;
   DWORD dwTag;
} VECTOROBJECT,  * pVECTOROBJECT;

The VECTOROBJECT structure is an abstract data type that acts as the base of all 2D/3D objects in the toolkit.

Member

Description

nSize

Size of this structure. Used for versioning.

nType

Type of the vector object. Possible values are:

 

Value

Meaning

 

VECTOR_ARC

Arc.

 

VECTOR_CHORD

Chord.

 

VECTOR_CIRCLE

Circle.

 

VECTOR_ELLIPSE

Ellipse.

 

VECTOR_ELLIPTICALARC

Elliptical arc

 

VECTOR_LINE

Line.

 

VECTOR_PIE

Pie section.

 

VECTOR_POLYBEZIER

Poly Bezier curve.

 

VECTOR_POLYDRAW

Polydraw.

 

VECTOR_POLYGON

Polygon.

 

VECTOR_POLYLINE

Polyline.

 

VECTOR_RASTER

Raster.

 

VECTOR_RECTANGLE

Rectangle.

 

VECTOR_TEXT

Text.

 

VECTOR_VERTEX

3D vertex in space.

 

VECTOR_SPLINE

Spline object.

 

VECTOR_HPOLYBEZIER

Heterogeneous Poly Bezier

nId

Object ID: Reserved for internal use.

nLayerId

Layer ID: Reserved for internal use.

nGroupId

Group ID: Reserved for internal use.

nROP

The object's ROP mode. For more information on valid ROP2 codes, refer to your SDK.

 

dwFlags

Flag that indicates the status of the object, can be a combination of the following:

 

Value

Meaning

 

VECTOR_OBJECT_SELECTED

The object is currently selected.

 

VECTOR_OBJECT_HIDDEN

The object is currently hidden.

 

VECTOR_OBJECT_COMPOSITE

This object is part of a group.

 

VECTOR_OBJECT_2STAGE_RENDERING

Forces two-stage rendering for objects. This flag is valid only for VECTORCIRCLE, VECTORELLIPSE, VECTORPIE, VECTORTEXT and VECTORPOLYDRAW, if used in any other object type; it will be ignored by the toolkit.

 

VECTOR_OBJECT_CLIP

Sets the object as a clipping object. Valid only for VECTORPOLYDRAW object.

 

VECTOR_POLYDRAW_FILL_WINDING

Use non-zero mode for filling the polydraw, Valid only for VECTORPOLYDRAW object.

 

VECTOR_POLYDRAW_FILL_ALTERNATE

Use odd-even mode for filling the polydraw, Valid only for VECTORPOLYDRAW object.

 

VECTOR_OBJECT_ENABLE_TRANSPARENCY

Take Bitmap transparency into consideration for Raster objects. Currently working for png files only.

dwTag

User-defined tag.

Comments

pVECTOROBJECT is a pointer to a VECTOROBJECT structure.

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