SDL Wiki
[ front page | index | search | recent changes | git repo | offline html ]
(This function is part of SDL_ttf, a separate library from SDL.)

TTF_GLAtlasDrawVertex

A vertex in the draw data returned by TTF_GetGLTextDrawData.

Header File

Defined in <SDL3_ttf/SDL_ttf.h>

Syntax

typedef struct TTF_GLAtlasDrawVertex
{
    SDL_FPoint position; /**< Vertex position */
    SDL_FPoint texcoord; /**< Texture coordinate, or normalized rectangle coordinate for solid fill */
} TTF_GLAtlasDrawVertex;

Version

This struct is available since SDL_ttf 3.3.0.

See Also


CategoryAPI, CategoryAPIStruct, CategorySDLTTF


[ edit | delete | history | feedback | raw ]

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