BeginGlyph
Lettertypen, Type 3-lettertypen
Beschrijving
Opent één glyph van het font in aanbouw; de daarna aangeroepen path-operators stapelen zich op tot het glyph-programma, totdat EndGlyph komt
Syntaxis
Delphi
Function BeginGlyph(CharCode: Integer; Const GlyphName,
UnicodeText: WideString; WidthX, WidthY, LLX, LLY, URX,
URY: Double): Integer;ActiveX
Function PDFlib::BeginGlyph(CharCode As Long, GlyphName As String, UnicodeText As String, WidthX As Double, WidthY As Double, LLX As Double, LLY As Double, URX As Double, URY As Double) As LongDLL
int DLBeginGlyph(int InstanceID, int CharCode, const wchar_t* GlyphName, const wchar_t* UnicodeText, double WidthX, double WidthY, double LLX, double LLY, double URX, double URY);
int DLBeginGlyphA(int InstanceID, int CharCode, const char* GlyphName, const char* UnicodeText, double WidthX, double WidthY, double LLX, double LLY, double URX, double URY);Parameters
| CharCode | Character code 0..255 waaraan de glyph is gebonden |
|---|---|
| GlyphName | Unieke glyphnaam binnen het font |
| UnicodeText | Tekstextractietoewijzing; een lege waarde wordt afgeleid uit de glyphnaam of de tekencode |
| WidthX..URY | Horizontale glyph-verplaatsing in glyphruimte; 0 voor rechtopstaande glyphs |
| WidthY | Verticale glyph-verplaatsing in glyphruimte; 0 voor rechtopstaande glyphs |
| LLX | Linkerrand van de glyph-bounding box in glyphruimte |
| LLY | Onderrand van de glyph-bounding box in glyphruimte |
| URX | Rechterrand van de glyph-bounding box; moet groter dan of gelijk aan LLX zijn |
| URY | Bovenrand van de glyph-bounding box; moet groter dan of gelijk aan LLY zijn |
Retourwaarden
| 1 bij succes, 0 wanneer er geen font open is, er al een glyph open is of de argumenten ongeldig zijn |