Chronos 0.0
A advanced 2D rendering and animation system
Loading...
Searching...
No Matches
Chronos::Engine::FontTypes Struct Reference

The parameters needed for the font style. More...

#include <text.hpp>

Public Attributes

uint32_t fontWidth
 
uint32_t fontHeight
 
void(* getFontData )(stb_fontchar *, unsigned char[][256], int)
 
uint32_t firstChar
 
int numChars
 

Detailed Description

The parameters needed for the font style.

This structure contains the parameters needed for the font style.

Parameters
fontWidthThe width of the font texture
fontHeightThe height of the font texture
getFontDataThe function to get the font data
firstCharThe first character in the texture
numCharsThe number of characters in the texture

Definition at line 58 of file text.hpp.

Member Data Documentation

◆ firstChar

uint32_t Chronos::Engine::FontTypes::firstChar

Definition at line 62 of file text.hpp.

◆ fontHeight

uint32_t Chronos::Engine::FontTypes::fontHeight

Definition at line 60 of file text.hpp.

◆ fontWidth

uint32_t Chronos::Engine::FontTypes::fontWidth

Definition at line 59 of file text.hpp.

◆ getFontData

void(* Chronos::Engine::FontTypes::getFontData) (stb_fontchar *, unsigned char[][256], int)

Definition at line 61 of file text.hpp.

◆ numChars

int Chronos::Engine::FontTypes::numChars

Definition at line 63 of file text.hpp.


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