Ember
A C++ 20 'game engine' built with SDL3 with wide platform support.
Classes | Functions
engine_structs.h File Reference
#include "imports.h"

Go to the source code of this file.

Classes

struct  Texture
 Texture base class. More...
 
struct  Rect2
 Float rectangle struct. More...
 
struct  Recti
 Integer rectangle struct. More...
 
struct  Sizei
 Integer Size struct. More...
 
struct  Color
 Color struct. More...
 
struct  Character
 Font Character struct. More...
 
struct  Glyph
 Glyph struct. More...
 
struct  Font
 Font struct. More...
 

Functions

Sizei calc_text_size (const std::string &text, const Font &font, float font_size=0.0f)
 

Function Documentation

◆ calc_text_size()

Sizei calc_text_size ( const std::string &  text,
const Font font,
float  font_size = 0.0f 
)