DOKK / manpages / debian 13 / libsdl3-ttf-doc / TTF_Direction.3type.en
TTF_Direction(3type) SDL_ttf3 DATATYPES TTF_Direction(3type)

TTF_Direction - Direction flags

Defined in SDL3_ttf/SDL_ttf.h

#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;

The values here are chosen to match


⟨URL: ⟩

.

This enum is available since SDL_ttf 3.0.0.

(3), TTF_SetFontDirection(3)

SDL_ttf 3.2.2 SDL_ttf