TTF_ImageType(3type)

TTF_ImageType3type

The type of data in a glyph image

Usage

#include "SDL3_ttf/SDL_ttf.h"

typedef enum TTF_ImageType { TTF_IMAGE_INVALID, TTF_IMAGE_ALPHA, /**< The color channels are white */ TTF_IMAGE_COLOR, /**< The color channels have image data */ TTF_IMAGE_SDF, /**< The alpha channel has signed distance field information */ } TTF_ImageType;

Header file

Defined in SDL3_ttf/SDL_ttf.h

Availability

This enum 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.