turbo::Font Class Reference
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
-
path path to the ttf file size size of the font in px
The documentation for this class was generated from the following files:
- include/turbo/Font.hpp
- src/Font.cpp