| Reference Manual - 1.4.13

DirectFB Interfaces | IDirectFBFont

No summary yet...

Methods of IDirectFBFont
Retrieving information | GetAscender | Get the distance from the baseline to the top of the logical extents of this font.
| GetDescender | Get the distance from the baseline to the bottom of the logical extents of this font.
| GetHeight | Get the logical height of this font. This is the distance from one baseline to the next when writing several lines of text. Note that this value does not correspond the height value specified when loading the font.
| GetMaxAdvance | Get the maximum character width.
| GetKerning | Get the kerning to apply between two glyphs specified by their character codes.
Measurements | GetStringWidth | Get the logical width of the specified string as if it were drawn with this font.
| GetStringExtents | Get the logical and real extents of the specified string as if it were drawn with this font.
| GetGlyphExtents | Get the extents of a glyph specified by its character code.
| GetStringBreak | Get the next explicit or automatic break within a string along with the logical width of the text, the string length, and a pointer to the next text line.
Encodings | SetEncoding | Change the default encoding used when the font is set at a surface.
| EnumEncodings | Enumerate all provided text encodings.
| FindEncoding | Find an encoding by its name.
Resources | Dispose | Dispose resources used by the font.
Measurements | GetLineSpacingVector | Get the line spacing vector of this font. This is the displacement vector from one line to the next when writing several lines of text. It differs from the height only when the font is rotated.
| GetGlyphExtentsXY | Get the extents of a glyph specified by its character code (extended version).

| This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License