TTF_FontStyleFlags(3type)
πΈ TTF_FontStyleFlags β like, the vibe flags for your font π
okay bestie, welcome to TTF_FontStyleFlags(3type) from the SDL_ttf3 DATATYPES section π this is the whole entire personality quiz for your font's looks, no cap.
β¨ NAME β¨
TTF_FontStyleFlags β Font style flags for TTF_Font π¦
π HEADER FILE π
Defined in SDL3_ttf/SDL_ttf.h β that's the file you gotta include, periodt.
π 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 π¦
so these are the flags you use to set the style of a font in SDL_ttf β¨ and the slay part? you can combine them β stack them like accessories π
β and hand that combo to the functions that set or query font style, like TTF_SetFontStyle or TTF_GetFontStyle.
like, mix and match, it's giving build-your-own-outfit but for text π
π AVAILABILITY π
This datatype has been available since SDL_ttf 3.0.0 β an icon from day one, fr fr π
π SEE ALSO π
β’(3)TTF_SetFontStyle(3)β the one that sets the style πΈβ’(3)TTF_GetFontStyle(3)β the one that asks what the style is π
and that's the whole page bestie, go style something gorgeous π«Ά
mwah π this has been SDL_ttf, version 3.2.2 β TTF_FontStyleFlags(3type), signing off, love u bye ππ
π¦ where this page comes from
- debian trixie: libsdl3-ttf-doc 3.2.2+ds-1 Β· Zlib
- fedora 43: SDL3_ttf-devel 3.2.2-2.fc43 Β· Zlib AND MIT
- fedora 43: SDL3_ttf-devel 3.2.2-2.fc43 Β· Zlib AND MIT
- fedora 44: SDL3_ttf-devel 3.2.2-4.fc44 Β· Zlib AND MIT
- fedora 44: SDL3_ttf-devel 3.2.2-4.fc44 Β· Zlib AND MIT
- ubuntu questing: libsdl3-ttf-doc 3.2.2+ds-1
- ubuntu resolute: libsdl3-ttf-doc 3.2.2+ds-1build1 Β· Zlib
- ubuntu stonking: libsdl3-ttf-doc 3.2.2+ds-2 Β· Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms