TTF_GetFontWrapAlignment(3)
π TTF_GetFontWrapAlignment(3) π
okay so bestie, you've landed on TTF_GetFontWrapAlignment from the SDL_ttf3 FUNCTIONS zone, and she is here to tell you one very specific thing: what wrap alignment your font is currently rocking. No cap, that's the whole vibe. π¦
πΈ NAME πΈ
TTF_GetFontWrapAlignment β Query a font's current wrap alignment option.
π HEADER FILE π
Defined in SDL3_ttf/SDL_ttf.h
β¨ SYNOPSIS β¨
#include "SDL3_ttf/SDL_ttf.h"
TTF_HorizontalAlignment TTF_GetFontWrapAlignment(const TTF_Font *font);
π«Ά FUNCTION PARAMETERS π«Ά
fontβ the font to query. Like, the one you're side-eyeing for answers. π
π RETURN VALUE π
( TTF_HorizontalAlignment ) β Returns the font's current wrap alignment option. That's it, that's the tea. She's handing you back the alignment setting, periodt.
π§΅ THREAD SAFETY π§΅
It is safe to call this function from any thread. So yes, your multithreaded besties can all ask at once, and nobody's gonna fight. π₯
β AVAILABILITY β
This function is available since SDL_ttf 3.0.0. She's been iconic since 3.0.0, fr fr.
π SEE ALSO π
You also gotta go read β’(3), TTF_SetFontWrapAlignment(3) β iykyk, the setter is right there waiting for you. π
Mwah π β this cutie came from the SDL_ttf 3.2.2 manual, page TTF_GetFontWrapAlignment(3). The footer didn't bring a date, but it did bring immaculate alignment energy. Stay wrapped, stay slay! β¨π
π¦ 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