Coordinates to the position of a single glyph in a glyph cache texture.
More...
#include <kanzi/core.ui/font/glyph_cache.hpp>
|
float | bottom |
| Texture coordinate for the bottom border of the glyph.
|
|
float | left |
| Texture coordinate for the left-hand border of the glyph.
|
|
float | right |
| Texture coordinate for the right-hand border of the glyph.
|
|
bool | success |
| True if Kanzi successfully cached the glyph, false if recycling is not used and there is no more room in the glyph cache.
|
|
float | top |
| Texture coordinate for the top border of the glyph.
|
|
Coordinates to the position of a single glyph in a glyph cache texture.
◆ TextureCoordinates()
kanzi::GlyphCache::TextureCoordinates::TextureCoordinates |
( |
| ) |
|
|
explicitdefault |
◆ operator==()
◆ left
float kanzi::GlyphCache::TextureCoordinates::left |
Texture coordinate for the left-hand border of the glyph.
◆ top
float kanzi::GlyphCache::TextureCoordinates::top |
Texture coordinate for the top border of the glyph.
◆ right
float kanzi::GlyphCache::TextureCoordinates::right |
Texture coordinate for the right-hand border of the glyph.
◆ bottom
float kanzi::GlyphCache::TextureCoordinates::bottom |
Texture coordinate for the bottom border of the glyph.
◆ success
bool kanzi::GlyphCache::TextureCoordinates::success |
True if Kanzi successfully cached the glyph, false if recycling is not used and there is no more room in the glyph cache.
If false, all coordinates are 0.0f.
The documentation for this struct was generated from the following file: