wxMaxima
|
Public Member Functions | |
FontVariantCache (const wxString &fontName) | |
Creates a font variant cache for the font named fontName. | |
void | ClearCache () const |
Clear this font variant cache. | |
std::shared_ptr< wxFont > | GetFont (double size, bool isItalic, bool isBold, bool isUnderlined, bool isSlanted, bool isStrikeThrough) |
Returns a font with the requested attributes. | |
const wxString & | GetFaceName () const |
Get the name of the fonts this font variant cache is responsible for. | |
std::shared_ptr< wxFont > FontVariantCache::GetFont | ( | double | size, |
bool | isItalic, | ||
bool | isBold, | ||
bool | isUnderlined, | ||
bool | isSlanted, | ||
bool | isStrikeThrough | ||
) |
Returns a font with the requested attributes.
This font can be either cached or newly created.