Sy_​SplineType

Defines a Bezier spline.

struct Sy_SplineType {
    long             item_Len;
    unsigned char    item_Typ;
    char             drwIndex;
    short            sy_pen;
    short            sy_layer;
    short            pattern;
    bool             autoSm;
    bool             closed;
    short            filler_0;
    Coord            nCoords;
    long             nDirs;
    long             coorLen;
    long             coorOff;
    long             dirsLen;
    long             dirsOff;
    long             filler_1;
    long             filler_2;
};

Members

item_Len
The length of the data record = endsOff+Round_UP_8(dirsLen).
item_Typ
Constant SySpline.
drwIndex
Index in drawing order or 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 line type of the spline.
autoSm
Only the base points are valid the data in DirTypes are invalid.
closed
Closed curve: the first point is the next of the last.
filler_0
Reserved, should be 0.
nCoords
Number of base points.
nDirs
Number of direction information records.
coorLen
The size of base points data in bytes.
coorOff
Offset of the base points data from record start = sizeof(Sy_SplineType).
dirsLen
The size of direction information data in bytes.
dirsOff
Offset of the direction information data from record start = sizeof(Sy_SplineType)+ROUND_UP_8(coorLen).
filler_1
Reserved, should be 0.
filler_2
Reserved, should be 0.

Remarks

A spline record consists of a fixed-size part(the above structure) and two variable-sized parts (the base points and the direction information).

Requirements

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

See Also

VectorImage