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 Long

DLL

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

CharCodeCharacter code 0..255 waaraan de glyph is gebonden
GlyphNameUnieke glyphnaam binnen het font
UnicodeTextTekstextractietoewijzing; een lege waarde wordt afgeleid uit de glyphnaam of de tekencode
WidthX..URYHorizontale glyph-verplaatsing in glyphruimte; 0 voor rechtopstaande glyphs
WidthYVerticale glyph-verplaatsing in glyphruimte; 0 voor rechtopstaande glyphs
LLXLinkerrand van de glyph-bounding box in glyphruimte
LLYOnderrand van de glyph-bounding box in glyphruimte
URXRechterrand van de glyph-bounding box; moet groter dan of gelijk aan LLX zijn
URYBovenrand 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

Zie ook

BeginFont, EndGlyph, EndFont, GlyphMoveTo