TTF_Direction(3type)

TTF_Direction3type

Direction flags

Usage

#include "SDL3_ttf/SDL_ttf.h"

typedef enum TTF_Direction { TTF_DIRECTION_INVALID = 0, TTF_DIRECTION_LTR = 4, /**< Left to Right */ TTF_DIRECTION_RTL, /**< Right to Left */ TTF_DIRECTION_TTB, /**< Top to Bottom */ TTF_DIRECTION_BTT /**< Bottom to Top */ } TTF_Direction;

Header file

Defined in SDL3_ttf/SDL_ttf.h

Overview

The values here are chosen to match

hb_direction_t ⟨URL: https://harfbuzz.github.io/harfbuzz-hb-common.html#hb-direction-t ⟩

.

Availability

This enum is available since SDL_ttf 3.0.0.

From libsdl3-ttf-doc 3.2.2+ds-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.