|
Easy3D 3.0.0
|
Immutable draw commands and metrics produced for one text layout. More...
#include <text_layout.h>
Public Attributes | |
| std::vector< DrawCommand > | commands |
| Draw commands containing glyph geometry and atlas snapshots. | |
| Rect | bounds = Rect(0, 0, 0, 0) |
| Actual ink bounds in top-left framebuffer pixel coordinates. | |
| float | advance = 0 |
| Advance of the last line, including its alignment offset. | |
| float | line_height = 0 |
| Font line height in framebuffer pixels. | |
Immutable draw commands and metrics produced for one text layout.