###### (This function is part of SDL_ttf, a separate library from SDL.) # TTF_HorizontalAlignment The horizontal alignment used when rendering wrapped text. ## Header File Defined in [](https://github.com/libsdl-org/SDL_ttf/blob/main/include/SDL3_ttf/SDL_ttf.h) ## Syntax ```c typedef enum TTF_HorizontalAlignment { TTF_HORIZONTAL_ALIGN_INVALID = -1, TTF_HORIZONTAL_ALIGN_LEFT, TTF_HORIZONTAL_ALIGN_CENTER, TTF_HORIZONTAL_ALIGN_RIGHT } TTF_HorizontalAlignment; ``` ## Version This enum is available since SDL_ttf 3.0.0. ---- [CategoryAPI](CategoryAPI), [CategoryAPIEnum](CategoryAPIEnum), [CategorySDLTTF](CategorySDLTTF)