ObjectivelyMVC
Object oriented MVC framework for SDL3 and GNU C
Loading...
Searching...
No Matches
TextRun Struct Reference

One quad of a rendered TrueType Text: a region of its texture, in texels, drawn in color, or, when icon is set, that icon drawn as a square of the line height within it. More...

#include <Text.h>

Data Fields

SDL_Color color
 
AtlasImage * icon
 
SDL_Rect src
 

Detailed Description

One quad of a rendered TrueType Text: a region of its texture, in texels, drawn in color, or, when icon is set, that icon drawn as a square of the line height within it.

Definition at line 118 of file Text.h.

Field Documentation

◆ color

SDL_Color TextRun::color

Definition at line 120 of file Text.h.

◆ icon

AtlasImage* TextRun::icon

Definition at line 121 of file Text.h.

◆ src

SDL_Rect TextRun::src

Definition at line 119 of file Text.h.


The documentation for this struct was generated from the following file: