Sy_​PolyLinType

Defines a 2D sector.

struct Sy_PolyLinType {
    Int32             item_Len;
    unsigned char     item_Typ;
    char              drwIndex;
    short             filler_1;
    short             sy_pen;
    short             sy_layer;
    short             pattern;
    short             determine;
    Int32             nCoords;
    Int32             nArcs;
    Int32             coorLen;
    Int32             coorOff;
    Int32             arcsLen;
    Int32             arcsOff;
};

Members

item_Len
The length of the data record = sizeof(Sy_PolyLinType).
item_Typ
Constant SyPolyLine.
drwIndex
Index in drawing order or 0.
filler_1
Reserved, should be 0.
sy_pen
Pen (color and line thickness) information or 0 if deleted.
sy_layer
The number of the fragment (layer) this element belongs to (Ranges 1 – 16).
pattern
The lineType info.
determine
Determines the type of line (contour – 0 / inner – 1)
nCoords
Total number of vertices in all polyLine.
nArcs
Number of arced edges in the whole polyLine.
coorLen
The size of all the Coords data in bytes.
coorOff
Offset of the PolyLine coordinate from record start = sizeof(Sy_SplineType)
arcsLen
Arcs data length in bytes.
arcsOff
Offset of the Arcs data from record start = sizeof(Sy_PolyType)+ROUND_UP_8(coorLen)

Remarks

This polyline can be consist of a lot of simple lines if it has a very complex line type.

Requirements

Version: API 15.0 or later, ModelerGraphics 8 or later
Header: Symb2D.h

See Also

VectorImage