|
| TrueTypeFontSettings (const std::string &filename=DEFAULT_FONT, int fontsize=defaultFontSize(FontSize::MEDIUM), bool antiAliased=true, bool fullCharacterSet=true, bool makeContourss=false, float simplifyAmt=0.3f, int dpi=0) |
|
const std::string & | filename () const |
|
int | fontSize () const |
|
bool | antiAliased () const |
|
bool | fullCharacterSet () const |
|
bool | makeContours () const |
|
float | simplifyAmount () const |
|
int | dpi () const |
|
|
static const std::string | DEFAULT_FONT = OF_TTF_SANS |
| The default font name.
|
|
int ofx::MUI::TrueTypeFontSettings::defaultFontSize |
( |
FontSize |
size = FontSize::MEDIUM | ) |
|
|
static |
Get the font size in pixels for the given FontSize.
- Parameters
-
- Returns
- the size in pixels.
The documentation for this class was generated from the following files: