SANDAL2
A SDL2 Wrapper in C
Public Attributes | List of all members
Font Struct Reference

Informations about font. More...

#include <Font.h>

Public Attributes

TTF_Font * font
 
int quality
 
char * text
 
SDL_Color color
 
SDL_Texture * texture
 

Detailed Description

Informations about font.

Member Data Documentation

◆ color

SDL_Color Font::color

color of the text

◆ font

TTF_Font* Font::font

SDL font object

◆ quality

int Font::quality

quality of the texture : SANDAL2_SOLID, SANDAL2_SHADED or SANDAL2_BLENDED (same meaning as for SDL2 functions TTF_RenderText_Solid, Shaded or Blended)

◆ text

char* Font::text

text

◆ texture

SDL_Texture* Font::texture

SDL texture


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