|
Muteki
EABI code execution on Besta® RTOS devices.
|
Font-related API. More...
#include "types/font.h"Go to the source code of this file.
Functions | |
| unsigned short | GetCharWidth (UTF16 c, unsigned short font_type) |
| Get the width of the character c used in font_type. | |
| unsigned short | GetFontHeight (unsigned short font_type) |
| Get the height of the font font_type. | |
| unsigned short | GetFontWidth (unsigned int c, font_info_t *font, unsigned short *out_glyph_extent) |
| Calculate the width of a glyph. | |
Font-related API.
|
extern |
Get the width of the character c used in font_type.
| c | UTF-16 codepoint of the character. |
| font_type | The font type. |
|
extern |
Get the height of the font font_type.
| font_type | The font type. |
|
extern |
Calculate the width of a glyph.
| c | Unicode codepoint of the character. Going above U+FFFF is possible. | |
| [in,out] | font | The font info record. |
| [out] | out_glyph_extent | Actual horizontal extent of the glyph in pixels. |