http://www.directfb.org
index.html
DirectFB Reference Manual
IDirectFBFont.html
IDirectFBFont
GetGlyphExtents
Get the extents of a glyph specified by its Unicode index.
GetGlyphExtents (
IDirectFBFont.html
IDirectFBFont
*
thiz,
unsigned int
index,
types.html#DFBRectangle
DFBRectangle
*
ret_rect,
int
*
ret_advance
);
The rectangle describes the the smallest rectangle containing all pixels that are touched when drawing the glyph. It is reported relative to the baseline. If you only need the advance, pass NULL for the rectangle.
The advance describes the horizontal offset to the next glyph (without kerning applied). It may be a negative value indicating left-to-right rendering. If you don't need this value, pass NULL for advance.
