|
Aegis2D
Modular C++26 2D game engine for networked games
|
How a text is drawn. More...
#include <aegis2d/render/bitmap_font.hpp>
Public Attributes | |
| float | scale = 1.0F |
| Size of a font pixel on screen, in logical pixels: 1 for the font's own size. | |
| Color | color {.r = 1.0F, .g = 1.0F, .b = 1.0F, .a = 1.0F} |
| Color of the text, multiplied with the atlas. | |
| std::int32_t | layer = 0 |
| Layer of the text's sprites. | |
How a text is drawn.
| Color aegis2d::render::TextStyle::color {.r = 1.0F, .g = 1.0F, .b = 1.0F, .a = 1.0F} |
Color of the text, multiplied with the atlas.
| std::int32_t aegis2d::render::TextStyle::layer = 0 |
Layer of the text's sprites.
| float aegis2d::render::TextStyle::scale = 1.0F |
Size of a font pixel on screen, in logical pixels: 1 for the font's own size.