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 β€” the TTF_Text to 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 πŸ‘‘


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