table of contents
other versions
TTF_GetFontWrappedAlign(3) | SDL_ttf3 FUNCTIONS | TTF_GetFontWrappedAlign(3) |
NAME¶
TTF_GetFontWrappedAlign - Query a font's current wrap alignment option.
HEADER FILE¶
Defined in SDL3_ttf/SDL_ttf.h
SYNOPSIS¶
#include "SDL3_ttf/SDL_ttf.h"
int TTF_GetFontWrappedAlign(const TTF_Font *font);
DESCRIPTION¶
The wrap alignment option can be one of the following:
• TTF_WRAPPED_ALIGN_LEFT
• TTF_WRAPPED_ALIGN_CENTER
• TTF_WRAPPED_ALIGN_RIGHT
FUNCTION PARAMETERS¶
- font
- the font to query.
RETURN VALUE¶
Returns the font's current wrap alignment option.
AVAILABILITY¶
This function is available since SDL_ttf 3.0.0.
SEE ALSO¶
•(3), TTF_SetFontWrappedAlign(3)
SDL_ttf 3.0.0 | SDL_ttf |