|
void | init (const std::string &_fontName) |
|
void | init (const std::string &_filename) |
|
void | init () |
|
§ getFontSize()
int32_t ewol::resource::TexturedFont::getFontSize |
( |
| ) |
|
|
inline |
get the font height (user friendly)
- Returns
- Dimention of the font the user requested
§ getGlyphPointer()
get the pointer on the coresponding glyph
- Parameters
-
[in] | _charcode | The unicodeValue |
[in] | _displayMode | Mode to display the currrent font |
- Returns
- The pointer on the glyph == > never nullptr
§ getHeight()
int32_t ewol::resource::TexturedFont::getHeight |
( |
const enum ewol::font::mode |
_displayMode = ewol::font::Regular | ) |
|
|
inline |
get the display height of this font
- Parameters
-
[in] | _displayMode | Mode to display the currrent font |
- Returns
- Dimention of the font need between 2 lines
§ getIndex()
int32_t ewol::resource::TexturedFont::getIndex |
( |
char32_t |
_charcode, |
|
|
const enum ewol::font::mode |
_displayMode |
|
) |
| |
get the ID of a unicode charcode
- Parameters
-
[in] | _charcode | The unicodeValue |
[in] | _displayMode | Mode to display the currrent font |
- Returns
- The ID in the table (if it does not exist : return 0)
§ getWrappingMode()
The wrapping mode is used to prevent the non existance of a specific mode. For exemple when a blod mode does not exist, this resend a regular mode.
- Parameters
-
[in] | _source | The requested mode. |
- Returns
- the best mode we have in stock.
The documentation for this class was generated from the following file: