MTek-GDL 0.100.4-muffintrap
Loading...
Searching...
No Matches
Data Fields
Font Struct Reference

Represents a font that can be used to draw text. More...

#include <mgdl-font.h>

Collaboration diagram for Font:
Collaboration graph
[legend]

Data Fields

short characterWidth
 
short characterHeight
 
Texture_fontTexture
 
vec2 * _tList
 
float _uvWidth
 
float _uvHeight
 
char _firstIndex
 
short _characterCount
 
float _spacingX
 
float _spacingY
 
float _aspect
 

Detailed Description

Represents a font that can be used to draw text.

Field Documentation

◆ _firstIndex

char Font::_firstIndex

Needed to remember the first index to calculate offsets into vertex and uv arrays

◆ characterHeight

short Font::characterHeight

Character height in pixels.

◆ characterWidth

short Font::characterWidth

Character width in pixels.


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