TTF_GetFontDirection - Man Page

Get the direction to be used for text shaping by a font.

Header File

Defined in SDL3_ttf/SDL_ttf.h

Synopsis

#include "SDL3_ttf/SDL_ttf.h"

TTF_Direction TTF_GetFontDirection(TTF_Font *font);

Description

This defaults to TTF_DIRECTION_INVALID
if it hasn't been set.

Function Parameters

font

the font to query.

Return Value

( TTF_Direction ) Returns the direction to be used for text shaping.

Thread Safety

This function should be called on the thread that created the font.

Availability

This function is available since SDL_ttf 3.0.0.

Info

SDL_ttf 3.2.2 SDL_ttf3 FUNCTIONS