TTF_GetTextDirection - Get the direction to be used for text shaping a text object.
Contents
Availability
This function is available since SDL_ttf 3.0.0.
SDL_ttf SDL_ttf 3.2.2 TTF_GetTextDirection(3)
Description
This defaults to the direction of the font used by the text object.
Function Parameters
text the text to query.
Header File
Defined in SDL3_ttf/SDL_ttf.h
Name
TTF_GetTextDirection - Get the direction to be used for text shaping a text object.
Return Value
( TTF_Direction ) Returns the direction to be used for text shaping.
Synopsis
#include"SDL3_ttf/SDL_ttf.h"TTF_DirectionTTF_GetTextDirection(TTF_Text*text);
Thread Safety
This function should be called on the thread that created the text.
