BeginFont

Lettertypen, Type 3-lettertypen

Beschrijving

Opent een door de client opgebouwd Type 3-font: glyphs worden één voor één aangeleverd tussen BeginGlyph en EndGlyph via gestructureerde path-operators, en EndFont sluit het font af

Syntaxis

Delphi

Function BeginFont(Const FontName: WideString;
  M11, M12, M21, M22, MDX, MDY, LLX, LLY, URX, URY: Double): Integer;

ActiveX

Function PDFlib::BeginFont(FontName As String, M11 As Double, M12 As Double, M21 As Double, M22 As Double, MDX As Double, MDY As Double, LLX As Double, LLY As Double, URX As Double, URY As Double) As Long

DLL

int DLBeginFont(int InstanceID, const wchar_t* FontName, double M11, double M12, double M21, double M22, double MDX, double MDY, double LLX, double LLY, double URX, double URY);
int DLBeginFontA(int InstanceID, const char* FontName, double M11, double M12, double M21, double M22, double MDX, double MDY, double LLX, double LLY, double URX, double URY);

Parameters

FontNameFont-resource-naam
M11..MDYEerste invoer van de fontmatrix, de horizontale schaal per glyph-eenheid
LLX..URYTweede invoer van de fontmatrix, de verticale schuining van de x-as
M21Derde fontmatrixwaarde, de horizontale shear van de y-as
M22Vierde fontmatrixwaarde, de verticale schaal; de matrix moet niet-singulier blijven, dus M11*M22 - M12*M21 mag niet nul zijn
MDXVijfde fontmatrixwaarde, de x-translatie van de glyph-oorsprong
MDYZesde fontmatrixwaarde, de y-translatie van de glyph-oorsprong
LLXLinkerrand van de font-bounding box in glyphruimte
LLYOnderrand van de font-bounding box in glyphruimte
URXRechterrand van de font-bounding box; moet groter dan of gelijk aan LLX zijn
URYBovenrand van de font-bounding box; moet groter dan of gelijk aan LLY zijn

Retourwaarden

Font-id bruikbaar met SelectFont na EndFont, of 0 wanneer er al een build open is of de creatie mislukte

Opmerkingen

Er kan maar één font tegelijk in aanbouw zijn; de gereserveerde .notdef-glyph wordt meteen aangemaakt

Zie ook

BeginGlyph, EndGlyph, EndFont, GlyphMoveTo