◆ hasBuiltInFonts()
bool Graphics::MacFontManager::hasBuiltInFonts |
( |
| ) |
|
|
inline |
Accessor method to check the presence of built-in fonts.
- Returns
- True if there are bult-in fonts.
◆ getFont()
const Font* Graphics::MacFontManager::getFont |
( |
MacFont * |
macFont | ) |
|
Retrieve a font from the available ones.
- Parameters
-
name | Name of the desired font. |
fallback | Fallback policy in case the desired font isn't there. |
- Returns
- The requested font or the fallback.
◆ getFontName()
const Common::String Graphics::MacFontManager::getFontName |
( |
uint16 |
id, |
|
|
int |
size, |
|
|
int |
slant = kMacFontRegular , |
|
|
bool |
tryGen = false |
|
) |
| |
Return font name from standard ID
- Parameters
-
id | ID of the font |
size | size of the font |
- Returns
- the font name or NULL if ID goes beyond the mapping
◆ registerFontName()
int Graphics::MacFontManager::registerFontName |
( |
Common::String |
name, |
|
|
int |
preferredId = -1 |
|
) |
| |
Register a font name if it doesn't already exist.
- Parameters
-
- Returns
- the font's ID
The documentation for this class was generated from the following file: