Aspose::Font::Ttf::TtfFont::GetGlyphComponentsById method
TtfFont::GetGlyphComponentsById(System::SharedPtr<Aspose::Font::Glyphs::GlyphId>, System::SharedPtr<Aspose::Font::Glyphs::GlyphIdList>) method
Gets a glyph by glyph identifier passed and fills passed list of glyph identifiers with components of this glyph. Glyph id is a unique number for a glyph, which is font type dependent. TTF Font glyph id can be instance of (GlyphStringId) class or (GlyphUInt32Id) class. Name (string) glyph addressing is supported for TTF Fonts via Post table mapping. In case CFF Font inside, the CFF structures are used to address glyphs by name.
virtual void Aspose::Font::Ttf::TtfFont::GetGlyphComponentsById(System::SharedPtr<Aspose::Font::Glyphs::GlyphId> id, System::SharedPtr<Aspose::Font::Glyphs::GlyphIdList> componentsToPopulate)
Parameter | Type | Description |
---|---|---|
id | System::SharedPtr<Aspose::Font::Glyphs::GlyphId> | Glyph id. |
componentsToPopulate | System::SharedPtr<Aspose::Font::Glyphs::GlyphIdList> | List of glyph identifiers to fill. |
Remarks
Empty collection componentsToPopulate should be passed that will contain glyph components id list.
See Also
- Typedef SharedPtr
- Class GlyphId
- Class GlyphIdList
- Class TtfFont
- Namespace Aspose::Font::Ttf
- Library Aspose.Font for C++
TtfFont::GetGlyphComponentsById(System::String, System::SharedPtr<Aspose::Font::Glyphs::GlyphIdList>) method
Gets a glyph by glyph name passed and fills passed list of glyph identifiers with components of this glyph.
void Aspose::Font::Ttf::TtfFont::GetGlyphComponentsById(System::String glyphName, System::SharedPtr<Aspose::Font::Glyphs::GlyphIdList> componentsToPopulate)
Parameter | Type | Description |
---|---|---|
glyphName | System::String | Glyph name. |
componentsToPopulate | System::SharedPtr<Aspose::Font::Glyphs::GlyphIdList> | List of glyph identifiers to fill. |
Remarks
Empty collection componentsToPopulate should be passed that will contain glyph components id list.
See Also
- Class String
- Typedef SharedPtr
- Class GlyphIdList
- Class TtfFont
- Namespace Aspose::Font::Ttf
- Library Aspose.Font for C++
TtfFont::GetGlyphComponentsById(uint32_t, System::SharedPtr<Aspose::Font::Glyphs::GlyphIdList>) method
Gets a glyph by glyph index passed and fills passed list of glyph identifiers with components of this glyph.
void Aspose::Font::Ttf::TtfFont::GetGlyphComponentsById(uint32_t id, System::SharedPtr<Aspose::Font::Glyphs::GlyphIdList> componentsToPopulate)
Parameter | Type | Description |
---|---|---|
id | uint32_t | Glyph index. |
componentsToPopulate | System::SharedPtr<Aspose::Font::Glyphs::GlyphIdList> | List of glyph identifiers to fill. |
Remarks
Empty collection componentsToPopulate should be passed that will contain glyph components id list.
See Also
- Typedef SharedPtr
- Class GlyphIdList
- Class TtfFont
- Namespace Aspose::Font::Ttf
- Library Aspose.Font for C++