Man page - ttf_getfontdirection(3)

Packages contains this manual

Manual

TTF_GetFontDirection

NAME
HEADER FILE
SYNOPSIS
DESCRIPTION
FUNCTION PARAMETERS
RETURN VALUE
THREAD SAFETY
AVAILABILITY

NAME

TTF_GetFontDirection - 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.