SDL Wiki
(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 <SDL3_ttf/SDL_ttf.h>

Syntax

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, CategoryAPIEnum, CategorySDLTTF


[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.