Aspose::Font::FontMetrics class
Contents
[
Hide
]FontMetrics class
Represents Font metrics.
class FontMetrics : public Aspose::Font::IFontMetrics
Methods
Method | Description |
---|---|
get_Ascender() override | Gets Ascender value. |
get_Descender() override | Gets Descender value. |
get_FontBBox() override | Gets FontBBox value. |
get_FontMatrix() override | Gets FontMatrix value. |
get_IsFixedPitch() override | Gets IsFixedPitch value. |
get_LineGap() override | Gets LineGap value. |
get_TypoAscender() override | Gets TypoAscender value. |
get_TypoDescender() override | Gets TypoDescender value. |
get_TypoLineGap() override | Gets TypoLineGap value. |
get_UnitsPerEM() override | Gets UnitsPerEM value. |
GetAscender(double) override | Returns ascender for specific Font size. |
GetDescender(double) override | Returns descender for specific Font size. |
GetGlyphBBox(System::SharedPtr<Glyphs::GlyphId>) override | Returns glyph BBox. Returns FontBBox if BBox was not defined for the glyph. May be overridden by specific font encoding inheritors. |
GetGlyphWidth(System::SharedPtr<Glyphs::GlyphId>) override | Returns glyph width. May be overridden by specific font encoding inheritors. |
GetKerningValue(System::SharedPtr<Glyphs::GlyphId>, System::SharedPtr<Glyphs::GlyphId>) override | Returns kerning value for the glyph pair. |
GetTypoAscender(double) override | Returns descender for specific Font size. |
GetTypoDescender(double) override | Returns descender for specific Font size. |
GetTypoLineGap(double) override | Returns line gap for specific Font size. |
virtual MeasureString(System::String, double) | Measures string and returns string width. |
set_Ascender(double) override | Gets Ascender value. |
set_Descender(double) override | Gets Descender value. |
set_TypoAscender(double) override | Gets TypoAscender value. |
set_TypoDescender(double) override | Gets TypoDescender value. |
set_UnitsPerEM(uint32_t) override | Gets UnitsPerEM value. |
See Also
- Class IFontMetrics
- Namespace Aspose::Font
- Library Aspose.Font for C++