|
EasyGUI
|
Text functions. More...
Functions | |
| const gui_font_char_t * | gui_text_getchardesc (const gui_font_t *font, uint32_t ch) |
| Get character descriptor from specific character and font. More... | |
| void | gui_text_getcharsize (const gui_font_t *font, uint32_t ch, gui_dim_t *width, gui_dim_t *height) |
| Get width and height of specific character for specific font. More... | |
| gui_font_charentry_t * | gui_text_getcharentry (const gui_font_t *font, const gui_font_char_t *c) |
| Get character entry generated in memory for fast drawing. More... | |
| gui_font_charentry_t * | gui_text_createcharentry (const gui_font_t *font, const gui_font_char_t *c) |
| Create new entry for character map and put it to linked list of known entries. More... | |
Text functions.
| gui_font_charentry_t* gui_text_createcharentry | ( | const gui_font_t * | font, |
| const gui_font_char_t * | c | ||
| ) |
Create new entry for character map and put it to linked list of known entries.
| [in] | font | Font for character |
| [in] | c | Character descriptor |
NULL otherwise | const gui_font_char_t* gui_text_getchardesc | ( | const gui_font_t * | font, |
| uint32_t | ch | ||
| ) |
Get character descriptor from specific character and font.
| [in] | font | Font to use for drawing |
| [in] | ch | Unicode decoded character |
| gui_font_charentry_t* gui_text_getcharentry | ( | const gui_font_t * | font, |
| const gui_font_char_t * | c | ||
| ) |
Get character entry generated in memory for fast drawing.
| [in] | font | Font used for character |
| [in] | c | Character info handle |
NULL otherwise | void gui_text_getcharsize | ( | const gui_font_t * | font, |
| uint32_t | ch, | ||
| gui_dim_t * | width, | ||
| gui_dim_t * | height | ||
| ) |
Get width and height of specific character for specific font.
| [in] | font | Font used for character |
| [in] | ch | Unicode decoded character |
| [out] | width | Output width information in units of pixels |
| [out] | height | Output height information in units of pixels |