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. More...
|
|
float | left |
| Texture coordinate for the left-hand border of the glyph. More...
|
|
float | right |
| Texture coordinate for the right-hand border of the glyph. More...
|
|
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. More...
|
|
float | top |
| Texture coordinate for the top border of the glyph. More...
|
|
Coordinates to the position of a single glyph in a glyph cache texture.
◆ TextureCoordinates()
kanzi::GlyphCache::TextureCoordinates::TextureCoordinates |
( |
| ) |
|
|
explicitdefault |
◆ operator==()
bool kanzi::GlyphCache::TextureCoordinates::operator== |
( |
const TextureCoordinates & |
value | ) |
const |
|
inline |
◆ 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: