Function ctru_sys::fontGlyphIndexFromCodePoint
source · pub unsafe extern "C" fn fontGlyphIndexFromCodePoint(
font: *mut CFNT_s,
codePoint: u32_
) -> c_int
Expand description
Retrieves the glyph index of the specified Unicode codepoint.
§Arguments
font
- Pointer to font structure. If NULL, the shared system font is used.codePoint
- Unicode codepoint.