Font-related API.
More...
Go to the source code of this file.
|
| short | GetCharWidth (UTF16 c, uint8_t font_type) |
| | Get the width of the character c used in font_type.
|
| |
| int | GetFontHeight (uint8_t font_type) |
| | Get the height of the font font_type.
|
| |
◆ GetCharWidth()
| short GetCharWidth |
( |
UTF16 |
c, |
|
|
uint8_t |
font_type |
|
) |
| |
|
extern |
Get the width of the character c used in font_type.
- Syscall Number
0x1004d
- Parameters
-
| c | UTF-16 codepoint of the character. |
| font_type | The font type. |
- Returns
- The width in pixels of that character.
◆ GetFontHeight()
| int GetFontHeight |
( |
uint8_t |
font_type | ) |
|
|
extern |
Get the height of the font font_type.
- Syscall Number
0x1004e
- Parameters
-
- Returns
- The height in pixels of that font.