Chronos 0.0
A advanced 2D rendering and animation system
|
Text parameters for displaying text. More...
#include <chronos.hpp>
Public Attributes | |
float | x = 0.0 |
float | y = 0.0 |
float | rotation = 0.0 |
float | scale = 1.0 |
std::string | text = "" |
Text parameters for displaying text.
In order to display text on screen, certain parameters needs to be defined.
x | The x coordinate of the text position |
y | The y coordiante of the text position |
rotation | The rotation of the text(Degrees) |
text | The text to be displayed |
Definition at line 67 of file chronos.hpp.
float Chronos::Manager::Text::rotation = 0.0 |
Definition at line 70 of file chronos.hpp.
float Chronos::Manager::Text::scale = 1.0 |
Definition at line 71 of file chronos.hpp.
std::string Chronos::Manager::Text::text = "" |
Definition at line 72 of file chronos.hpp.
float Chronos::Manager::Text::x = 0.0 |
Definition at line 68 of file chronos.hpp.
float Chronos::Manager::Text::y = 0.0 |
Definition at line 69 of file chronos.hpp.