---
name: "TTF_Direction"
section: "3type"
platform: "linux"
package: "libsdl3-ttf-doc"
version: "3.2.2+ds-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/TTF_Direction"
---

# TTF\_Direction(3type)

Direction flags

## NAME

TTF\_Direction - 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 ⟨URL: https://harfbuzz.github.io/harfbuzz-hb-common.html#hb-direction-t ⟩

.

## AVAILABILITY

This enum is available since SDL\_ttf 3.0.0.

## SEE ALSO

**•**(3), [**TTF\_SetFontDirection**(3)](/TTF_SetFontDirection/3.md)
