TTF_TextWra...spaceVisible(3)
β¨ TTF_TextWrapWhitespaceVisible(3) β¨
okay bestie, we're in the SDL_ttf3 FUNCTIONS section of the manual and this one is a lil baby function that answers exactly one (1) question π
πΈ NAME πΈ
TTF_TextWrapWhitespaceVisible β returns whether whitespace is shown when wrapping a text object π«Ά
π HEADER FILE π
Defined in SDL3_ttf/SDL_ttf.h
β¨ SYNOPSIS β¨
#include "SDL3_ttf/SDL_ttf.h"
bool TTF_TextWrapWhitespaceVisible(TTF_Text *text);
π¦ FUNCTION PARAMETERS π¦
textβ theTTF_Textto query. that's it. that's the whole input. she's low maintenance π
π RETURN VALUE π
Returns true if whitespace is shown when wrapping text, or false otherwise. no cap, that's literally the entire answer she gives you π
π§ THREAD SAFETY π§
This function should be called on the thread that created the text. fr fr, don't go wandering off to another thread with this one, she will not vibe with that π
β AVAILABILITY β
This function is available since SDL_ttf 3.0.0. she's been iconic since day one π
π SEE ALSO π
β’(3)TTF_SetTextWrapWhitespaceVisible(3)β the setter bestie, if you wanna flip the vibe instead of just peeking at it πΈ
that's the whole page, bestie, go forth and wrap your text with confidence πβ¨
mwah π β this was SDL_ttf, version SDL_ttf 3.2.2, brought to you by the SDL_ttf crew. periodt.
π¦ 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