ttfTextWrapWhitespaceVisible function
Return whether whitespace is shown when wrapping a text object.
\param text the TTF_Text to query. \returns true if whitespace is shown when wrapping text, or false otherwise.
\threadsafety This function should be called on the thread that created the text.
\since This function is available since SDL_ttf 3.0.0.
\sa TTF_SetTextWrapWhitespaceVisible
extern SDL_DECLSPEC bool SDLCALL TTF_TextWrapWhitespaceVisible(TTF_Text *text)
Implementation
bool ttfTextWrapWhitespaceVisible(Pointer<TtfText> text) {
final ttfTextWrapWhitespaceVisibleLookupFunction = libSdl3Ttf.lookupFunction<
Uint8 Function(Pointer<TtfText> text),
int Function(Pointer<TtfText> text)>('TTF_TextWrapWhitespaceVisible');
return ttfTextWrapWhitespaceVisibleLookupFunction(text) == 1;
}