Ember
A C++ 20 'game engine' built with SDL3 with wide platform support.
Classes | Namespaces | Typedefs | Functions
engine_structs.h File Reference
#include "imports.h"
#include <freetype/freetype.h>
#include <freetype/ftstroke.h>

Go to the source code of this file.

Classes

struct  Texture
 
struct  ember::Rectangle
 
struct  Color
 
struct  Glyph
 
struct  Font
 

Namespaces

 ember
 

Typedefs

typedef struct Texture Texture
 
typedef struct Texture Texture2D
 

Functions

std::tuple< int, int > CalcTextSize (const std::string &text, const Font &font, float font_size=0.0f)
 

Typedef Documentation

◆ Texture

typedef struct Texture Texture

◆ Texture2D

typedef struct Texture Texture2D

Function Documentation

◆ CalcTextSize()

std::tuple<int,int> CalcTextSize ( const std::string &  text,
const Font font,
float  font_size = 0.0f 
)