ttfGlyphIsProvided32 function
Check whether a glyph is provided by the font for a 32-bit codepoint.
This is the same as TTF_GlyphIsProvided(), but takes a 32-bit character instead of 16-bit, and thus can query a larger range. If you are sure you'll have an SDL_ttf that's version 2.0.18 or newer, there's no reason not to use this function exclusively.
\param font the font to query. \param ch the character code to check. \returns non-zero if font provides a glyph for this character, zero if not.
\since This function is available since SDL_ttf 2.0.18.
extern DECLSPEC int SDLCALL TTF_GlyphIsProvided32(TTF_Font *font, Uint32 ch)
Implementation
int ttfGlyphIsProvided32(Pointer<TtfFont> font, int ch) {
final ttfGlyphIsProvided32LookupFunction = libSdl2Ttf.lookupFunction<
Int32 Function(Pointer<TtfFont> font, Uint32 ch),
int Function(Pointer<TtfFont> font, int ch)>('TTF_GlyphIsProvided32');
return ttfGlyphIsProvided32LookupFunction(font, ch);
}