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.
Size of this structure. Used for versioning.
Type of 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 |
Object ID. Reserved for internal use.
Layer ID. Reserved for internal use.
Group ID. Reserved for internal use.
The object's ROP mode. For more information on valid ROP2 codes, refer to your SDK.
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. |
User-defined tag.
pVECTOROBJECT is a pointer to a VECTOROBJECT structure.