TTF_GetFreeTypeVersion - Man Page

Query the version of the FreeType library in use.

Header File

Defined in SDL3_ttf/SDL_ttf.h

Synopsis

#include "SDL3_ttf/SDL_ttf.h"

void TTF_GetFreeTypeVersion(int *major, int *minor, int *patch);

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.

Thread Safety

It is safe to call this function from any thread.

Availability

This function is available since SDL_ttf 3.0.0.

See Also

·(3), TTF_Init(3)

Info

SDL_ttf 3.2.2 SDL_ttf3 FUNCTIONS