SDL Wiki
(This function is part of SDL_ttf, a separate library from SDL.)

TTF_ImageType

The type of data in a glyph image

Header File

Defined in <SDL3_ttf/SDL_ttf.h>

Syntax

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;

Version

This enum is available since SDL_ttf 3.0.0.


CategoryAPI, CategoryAPIEnum, CategorySDLTTF


[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.