Represent the text font. More...

#include <Font.hpp>

Public Member Functions

 Font (const Path &path, unsigned short size)
 Construct a new Font for a ttf file. More...
 
void * __get_font () const
 

Protected Attributes

ALLEGRO_FONT * font
 target allegro font
 

Detailed Description

Represent the text font.

Constructor & Destructor Documentation

◆ Font()

turbo::Font::Font ( const Path path,
unsigned short  size 
)

Construct a new Font for a ttf file.

Parameters
pathpath to the ttf file
sizesize of the font in px

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