Scroll to navigation

TTF_GetFontWrappedAlign(3) SDL_ttf3 FUNCTIONS TTF_GetFontWrappedAlign(3)

NAME

TTF_GetFontWrappedAlign - Query a font's current wrap alignment option.

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

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

TTF_SetFontWrappedAlign(3)

SDL_ttf 3.0.0 SDL_ttf