Get the direction to be used for text shaping by a font.
Defined in <SDL3_ttf/SDL_ttf.h>
TTF_Direction TTF_GetFontDirection(TTF_Font *font);
TTF_Font * | font | the font to query. |
(TTF_Direction) Returns the direction to be used for text shaping.
This defaults to TTF_DIRECTION_INVALID if it hasn't been set.
This function should be called on the thread that created the font.
This function is available since SDL_ttf 3.0.0.