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