Aspose::Font::Ttf::TtfFont::GetGlyphComponentsById Methode

TtfFont::GetGlyphComponentsById(System::SharedPtr<Glyphs::GlyphId>, System::SharedPtr<Glyphs::GlyphIdList>) method

Gibt ein Glyph anhand der übergebenen Glyph-ID zurück und füllt die übergebene Liste von Glyph-IDs mit den Komponenten dieses Glyphs. Eine Glyph-ID ist eine eindeutige Nummer für ein Glyph, die vom Font-Typ abhängt. Die Glyph-ID des TTF Font kann eine Instanz der Klasse (GlyphStringId) oder der Klasse (GlyphUInt32Id) sein. Die Glyph-Adressierung per Name (string) wird für TTF-Fonts über die Post-Tabellen-Zuordnung unterstützt. Im Falle eines CFF Font werden die CFF-Strukturen verwendet, um Glyphs per Name anzusprechen.

virtual void Aspose::Font::Ttf::TtfFont::GetGlyphComponentsById(System::SharedPtr<Glyphs::GlyphId> id, System::SharedPtr<Glyphs::GlyphIdList> componentsToPopulate)
ParameterTypBeschreibung
idSystem::SharedPtr<Glyphs::GlyphId>Glyph-ID.
componentsToPopulateSystem::SharedPtr<Glyphs::GlyphIdList>Liste von Glyph-IDs zum Befüllen.

Hinweise

Eine leere Sammlung componentsToPopulate sollte übergeben werden, die die Liste der Glyph-Komponenten-IDs enthält.

Siehe auch

TtfFont::GetGlyphComponentsById(System::String, System::SharedPtr<Glyphs::GlyphIdList>) method

Liest eine Glyphe anhand des übergebenen Namens und füllt die übergebene Liste von Glyphen‑IDs mit den Komponenten dieser Glyphe.

void Aspose::Font::Ttf::TtfFont::GetGlyphComponentsById(System::String glyphName, System::SharedPtr<Glyphs::GlyphIdList> componentsToPopulate)
ParameterTypBeschreibung
glyphNameSystem::StringGlyph-Name.
componentsToPopulateSystem::SharedPtr<Glyphs::GlyphIdList>Liste von Glyph-IDs zum Befüllen.

Hinweise

Eine leere Sammlung componentsToPopulate sollte übergeben werden, die die Liste der Glyph-Komponenten-IDs enthält.

Siehe auch

TtfFont::GetGlyphComponentsById(uint32_t, System::SharedPtr<Glyphs::GlyphIdList>) method

Liest eine Glyphe anhand des übergebenen Indexes und füllt die übergebene Liste von Glyphen‑IDs mit den Komponenten dieser Glyphe.

void Aspose::Font::Ttf::TtfFont::GetGlyphComponentsById(uint32_t id, System::SharedPtr<Glyphs::GlyphIdList> componentsToPopulate)
ParameterTypBeschreibung
iduint32_tGlyph-Index.
componentsToPopulateSystem::SharedPtr<Glyphs::GlyphIdList>Liste von Glyph-IDs zum Befüllen.

Hinweise

Eine leere Sammlung componentsToPopulate sollte übergeben werden, die die Liste der Glyph-Komponenten-IDs enthält.

Siehe auch