TTF_Init - Man Page
Initialize SDL_ttf.
Header File
Defined in SDL3_ttf/SDL_ttf.h
Synopsis
#include "SDL3_ttf/SDL_ttf.h" bool TTF_Init(void);
Description
You must successfully call this function before it is safe to call any other function in this library.
It is safe to call this more than once, and each successful
TTF_Init () call should be paired with a matching
TTF_Quit () call.
Return Value
Returns true on success or false on failure; call SDL_GetError() for more information.
Availability
This function is available since SDL_ttf 3.0.0.
See Also
·(3), TTF_Quit(3)
Referenced By
TTF_GetFreeTypeVersion(3), TTF_WasInit(3).
SDL_ttf 3.2.2 SDL_ttf3 FUNCTIONS