logo
Free, Micro AI Code Reviews That Run on Git Commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt git-lrc - Free, Micro AI Code Reviews That Run on Git Commit | Product Hunt

TTF_Init - Initialize SDL_ttf.

Availability

       This function is available since SDL_ttf 3.0.0.

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.

Header File

       Defined in SDL3_ttf/SDL_ttf.h

Name

       TTF_Init - Initialize SDL_ttf.

Return Value

       Returns true on success or false on failure; call SDL_GetError() for more information.

See Also

(3), TTF_Quit(3)

SDL_ttf                                           SDL_ttf 3.2.2                                      TTF_Init(3)

Synopsis

#include"SDL3_ttf/SDL_ttf.h"boolTTF_Init(void);

See Also