Ember
A C++ 20 'game engine' built with SDL3 with wide platform support.
Public Member Functions | Public Attributes | List of all members
Font Struct Reference

#include <engine_structs.h>

Public Member Functions

bool IsValid () const
 
 Font ()=default
 

Public Attributes

std::map< char, Glyphglyphs {}
 
Texture texture
 
int font_size
 
float kerning = 0.0f
 
int ascent
 
int descent
 
int line_gap
 
float scale
 

Constructor & Destructor Documentation

◆ Font()

Font::Font ( )
default

Member Function Documentation

◆ IsValid()

bool Font::IsValid ( ) const

Member Data Documentation

◆ ascent

int Font::ascent

◆ descent

int Font::descent

◆ font_size

int Font::font_size

◆ glyphs

std::map<char, Glyph> Font::glyphs {}

◆ kerning

float Font::kerning = 0.0f

◆ line_gap

int Font::line_gap

◆ scale

float Font::scale

◆ texture

Texture Font::texture

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