logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

TTF_GetFreeTypeVersion - Query the version of the FreeType library in use.

Availability

       This function is available since SDL_ttf 3.0.0.

Description

TTF_Init () should be called before calling this function.

Function Parameters

major  to be filled in with the major version number. Can be NULL.

       minor  to be filled in with the minor version number. Can be NULL.

       patch  to be filled in with the param version number. Can be NULL.

Header File

       Defined in SDL3_ttf/SDL_ttf.h

Name

       TTF_GetFreeTypeVersion - Query the version of the FreeType library in use.

See Also

(3), TTF_Init(3)

SDL_ttf                                           SDL_ttf 3.2.2                        TTF_GetFreeTypeVersion(3)

Synopsis

#include"SDL3_ttf/SDL_ttf.h"voidTTF_GetFreeTypeVersion(int*major,int*minor,int*patch);

Thread Safety

       It is safe to call this function from any thread.

See Also