interface to access the font used to draw text in a graphics context (experimental). More...
Public Member Functions | |
void | SelectFontFace (const char *family, FontSlant slant=kFontSlantNormal, FontWeight weight=kFontWeightNormal) |
void | SetFontSize (double size) |
XYCoordinates | GetTextSize (const string &text, TextExtentMode mode=kTextAsTypographicLine) |
Rectangle | GetTextExtents (const string &text, TextExtentMode mode=kTextAsTypographicLine) |