TTF_SetTextEngine3
Set the text engine used by a text object.
Usage
#include "SDL3_ttf/SDL_ttf.h"
bool TTF_SetTextEngine(TTF_Text *text, TTF_TextEngine *engine);
Header file
Defined in SDL3_ttf/SDL_ttf.h
Overview
This function may cause the internal text representation to be rebuilt.
Function parameters
text
|
the |
|---|---|
engine
|
the text engine to use for drawing. |
Return value
Returns true on success or false on failure; call SDL_GetError() for more information.
Thread safety
This function should be called on the thread that created the text.