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 vertical 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 Unicode indices.
|
String extents measurement
|
GetStringWidth
|
Get the logical width of the specified UTF-8 string as if it were drawn with this font.
|
|
GetStringExtents
|
Get the logical and real extents of the specified UTF-8 string as if it were drawn with this font.
|
|
GetGlyphExtents
|
Get the extents of a glyph specified by its Unicode index.
|