![]() |
Rendering Engine 0.2.9
Modular Graphics Rendering Engine | v0.2.9
|
#include <text_block_2d.hpp>
Public Member Functions | |
| Properties () | |
Public Attributes | |
| std::string | fontName |
| Font family name. More... | |
| float | fontSize = 10 |
| Font size in pixels. More... | |
| TextAlign | textAlign = TextAlign::Left |
| Horizontal text alignment. More... | |
| float | maxLineLength = 0.0f |
| Maximum line length for layout; zero disables wrapping. More... | |
| bool | textShapeEnabled = false |
| Enables text shaping during layout. More... | |
| float | outlineThicknessPx = 0.0f |
| Outline thickness in pixels. More... | |
| float | lineSpacingScale = 1.0f |
| Line height multiplier. More... | |
Definition at line 59 of file text_block_2d.hpp.
|
inline |
Definition at line 76 of file text_block_2d.hpp.
| std::string rendering_engine::TextBlock2D::Properties::fontName |
Font family name.
Definition at line 62 of file text_block_2d.hpp.
| float rendering_engine::TextBlock2D::Properties::fontSize = 10 |
Font size in pixels.
Definition at line 64 of file text_block_2d.hpp.
| float rendering_engine::TextBlock2D::Properties::lineSpacingScale = 1.0f |
Line height multiplier.
Definition at line 74 of file text_block_2d.hpp.
| float rendering_engine::TextBlock2D::Properties::maxLineLength = 0.0f |
Maximum line length for layout; zero disables wrapping.
Definition at line 68 of file text_block_2d.hpp.
| float rendering_engine::TextBlock2D::Properties::outlineThicknessPx = 0.0f |
Outline thickness in pixels.
Definition at line 72 of file text_block_2d.hpp.
| TextAlign rendering_engine::TextBlock2D::Properties::textAlign = TextAlign::Left |
Horizontal text alignment.
Definition at line 66 of file text_block_2d.hpp.
| bool rendering_engine::TextBlock2D::Properties::textShapeEnabled = false |
Enables text shaping during layout.
Definition at line 70 of file text_block_2d.hpp.