TTF_GetFreeTypeVersion(3)

TTF_GetFreeTypeVersion3

Query the version of the freetype library in use.

Usage

#include "SDL3_ttf/SDL_ttf.h"

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

Header file

Defined in SDL3_ttf/SDL_ttf.h

Overview

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.

From libsdl3-ttf-doc 3.2.2+ds-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.