table of contents
other versions
- unstable 3.1.0+ds-1
- experimental 3~git20250124~a7040ba+ds-1
TTF_FontStyleFlags(3type) | SDL_ttf3 DATATYPES | TTF_FontStyleFlags(3type) |
NAME¶
TTF_FontStyleFlags - Font style flags for TTF_Font
HEADER FILE¶
Defined in SDL3_ttf/SDL_ttf.h
SYNOPSIS¶
#include "SDL3_ttf/SDL_ttf.h"
typedef Uint32 TTF_FontStyleFlags; #define TTF_STYLE_NORMAL 0x00 /**< No special style */ #define TTF_STYLE_BOLD 0x01 /**< Bold style */ #define TTF_STYLE_ITALIC 0x02 /**< Italic style */ #define TTF_STYLE_UNDERLINE 0x04 /**< Underlined text */ #define TTF_STYLE_STRIKETHROUGH 0x08 /**< Strikethrough text */
DESCRIPTION¶
These are the flags which can be used to set the style of a font
in SDL_ttf. A combination of these flags can be used with functions that set
or query font style, such as TTF_SetFontStyle
or
TTF_GetFontStyle .
AVAILABILITY¶
This function is available since SDL_ttf 3.0.0.
SEE ALSO¶
•(3), TTF_SetFontStyle(3), •(3), TTF_GetFontStyle(3)
SDL_ttf 3.1.0 | SDL_ttf |