TTF_ImageType.3type - Man Page

The type of data in a glyph image

Header File

Defined in SDL3_ttf/SDL_ttf.h

Synopsis

#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;

Availability

This enum is available since SDL_ttf 3.0.0.

Info

SDL_ttf 3.2.2 SDL_ttf3 DATATYPES