Scroll to navigation

TTF_GetFontSDF(3) SDL_ttf3 FUNCTIONS TTF_GetFontSDF(3)

NAME

TTF_GetFontSDF - Query whether Signed Distance Field rendering is enabled for a font.

HEADER FILE

Defined in SDL3_ttf/SDL_ttf.h

SYNOPSIS

#include "SDL3_ttf/SDL_ttf.h"
bool TTF_GetFontSDF(const TTF_Font *font);

FUNCTION PARAMETERS

the font to query.

RETURN VALUE

Returns true if enabled, false otherwise.

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_SetFontSDF(3)

SDL_ttf 3.2.2 SDL_ttf