TextLayout Struct
Result of text layout computation. More...
Declaration
Public Member Attributes Index
| math::aabbf | aabb |
|
Axis-aligned bounding box enclosing all glyphs. More... | |
| std::vector< helios::math::vec4f > | vertices |
|
Vertex data for all glyphs (position and texture coordinates). More... | |
Description
Result of text layout computation.
Contains the axis-aligned bounding box and vertex data for a laid-out text string.
Definition at line 38 of file TypeSetter.ixx.
Public Member Attributes
aabb
|
Axis-aligned bounding box enclosing all glyphs.
Definition at line 43 of file TypeSetter.ixx.
vertices
|
Vertex data for all glyphs (position and texture coordinates).
Each glyph consists of 6 vertices (2 triangles). Each vertex is a `vec4f` containing `(x, y, texU, texV)`.
Definition at line 51 of file TypeSetter.ixx.
The documentation for this struct was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.