wxMaxima
Loading...
Searching...
No Matches
Public Member Functions
FontVariantCache Class Referencefinal

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.
 

Member Function Documentation

◆ GetFont()

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.


The documentation for this class was generated from the following files: