TTF_GetFontDirection - Get the direction to be used for text shaping by a font.
Contents
Availability
This function is available since SDL_ttf 3.0.0.
SDL_ttf SDL_ttf 3.2.2 TTF_GetFontDirection(3)
Description
This defaults to TTF_DIRECTION_INVALID
if it hasn't been set.
Function Parameters
font the font to query.
Header File
Defined in SDL3_ttf/SDL_ttf.h
Name
TTF_GetFontDirection - Get the direction to be used for text shaping by a font.
Return Value
( TTF_Direction ) Returns the direction to be used for text shaping.
Synopsis
#include"SDL3_ttf/SDL_ttf.h"TTF_DirectionTTF_GetFontDirection(TTF_Font*font);
Thread Safety
This function should be called on the thread that created the font.
