|
CeresEngine 0.2.0
A game development framework
|
A structure that describes positioning and sizing of a single glyph in a text layout. More...
#include <CeresEngine/Text/TextLayout.hpp>
Public Attributes | |
| Glyph | glyph |
| The glyph to be rendered. | |
| Point2 | pen |
| The position of the glyph. | |
| Rect2 | bounds |
| The size of the rendered glyph. | |
| UInt32 | textureIdx = 0 |
| The index to the font texture map. | |
| Rect2 | uv |
| The UV coordinates for the glyph. | |
| Color | color |
| The glyph color. | |
A structure that describes positioning and sizing of a single glyph in a text layout.
| Rect2 CeresEngine::GlyphLayout::bounds |
The size of the rendered glyph.
| Color CeresEngine::GlyphLayout::color |
The glyph color.
| Glyph CeresEngine::GlyphLayout::glyph |
The glyph to be rendered.
| Point2 CeresEngine::GlyphLayout::pen |
The position of the glyph.
| UInt32 CeresEngine::GlyphLayout::textureIdx = 0 |
The index to the font texture map.
| Rect2 CeresEngine::GlyphLayout::uv |
The UV coordinates for the glyph.