TtfGlyphParser
Vue de l’ensemble
‘TtfGlyphParser’ est une classe dans Aspose.Font FOSS pour Python.
TtfGlyphParser.parse parse le glyphe identifié par le Glyphide donné et retourne un objet Glif.
Cette classe fournit 3 méthodes pour travailler avec les objets TtfGlyphParser dans les programmes Python. Les méthodologies disponibles comprennent: __init__, parse , ’tx`. Tous les membres publics sont accessibles à n’importe quelle application Pythone après l’installation de l’Aspose.Font FOSS pour le package PyThone.
méthodes
| Signature | Description |
|---|---|
__init__(loca: LocaTable, glyf: GlyfTable, hmtx: HmtxTable) | Calls init on this TtfGlyphParser instance. |
parse(gid: GlyphId) → Glyph | Parses the glyph identified by the given GlyphId and returns a Glyph object |
tx(x: float, y: float) → tuple[float, float] | Applies a transformation to the input (x, y) coordinates and returns the resulting (x, y) tuple |
Voir aussi
- Aspose.Font — référence API d’entreprise