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.
kanzi::GlyphCache::TextureCoordinates::TextureCoordinates |
( |
| ) |
|
|
explicitdefault |
bool kanzi::GlyphCache::TextureCoordinates::operator== |
( |
const TextureCoordinates & |
value | ) |
const |
|
inline |
float kanzi::GlyphCache::TextureCoordinates::left |
Texture coordinate for the left-hand border of the glyph.
float kanzi::GlyphCache::TextureCoordinates::top |
Texture coordinate for the top border of the glyph.
float kanzi::GlyphCache::TextureCoordinates::right |
Texture coordinate for the right-hand border of the glyph.
float kanzi::GlyphCache::TextureCoordinates::bottom |
Texture coordinate for the bottom border of the glyph.
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: