TTF_GetGlyphScript3
Get the script used by a 32-bit codepoint.
Usage
#include "SDL3_ttf/SDL_ttf.h"
Uint32 TTF_GetGlyphScript(Uint32 ch);
Header file
Defined in SDL3_ttf/SDL_ttf.h
Function parameters
- ch
-
the character code to check.
Return value
Returns an
ISO 15924 code ⟨URL: https://unicode.org/iso15924/iso15924-codes.html ⟩
on success, or 0 on failure; call SDL_GetError() for more information.
Thread safety
This function is thread-safe.