TTF_Direction.3type - Man Page

Direction flags

Header File

Defined in SDL3_ttf/SDL_ttf.h

Synopsis

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

Description

The values here are chosen to match

hb_direction_t

.

Availability

This enum is available since SDL_ttf 3.0.0.

See Also

·(3), TTF_SetFontDirection(3)

Info

SDL_ttf 3.2.2 SDL_ttf3 DATATYPES