Defines a font record.
struct Sy_FontType { long item_Len; unsigned char item_Typ; char dummyC; short familytype; char fontName[32]; long styleind; unsigned char face; char centre; short just; double slant; double size; double spac; };
Members
- item_Len
- The length of the data record = sizeof(Sy_FontType).
- item_Typ
- Constant SyFont.
- dummyC
- Reserved, should be 0.
- familytype
- Font family type: GDLFONTFAMILYNAME, GDLPLOTTERFONT, GDLPLOTMAKERFONT.
- fontName
- The name of the font family as a C string.
- styleind
- Reserved, the engine will it fill, should be set to 0.
- face
- Style of the text.
- centre
- The position of the anchor point (1..9). if less than zero, it is a nonbreaking style.
- just
- Justification of text.
- slant
- Slant of text letters in rad (pi/2 is plain text).
- size
- Letter size in mm in paper space.
- spac
- Spacing between text lines in mm.
Remarks
The font record is the only exception because it is not a drawing primitive but an attribute.
Requirements
- Version: API 10.0 or later, ModelerGraphics 8 or later
- Header: Symb2D.h