The width in pixels of the one UTF-8 character at utf8. A byte sequence that is not valid counts as the font's unknown character.
- utf8: the first byte of the character. A zero byte or null gives 0.
- effect_flags:
Font_Effectsflags.
get_character_width_in_pixels :: (
font: *Dynamic_Font,
utf8: *u8,
effect_flags: Font_Effects
) -> u32
The width in pixels of the one UTF-8 character at utf8. A byte sequence that is not valid counts as the font's unknown character.
Parameters
- font: *Dynamic_Font
- utf8: *u8
- the first byte of the character. A zero byte or null gives 0.
- effect_flags: Font_Effects
Font_Effectsflags.
Returns
- u32