Glyph metrics for a single character in a bitmap font atlas.
More...
#include <kdatatype.h>
|
| float | ax |
| | Horizontal advance (pen advance after drawing the glyph).
|
| float | lsb |
| | Left side bearing.
|
| float | tx |
| float | ty |
| | UV coordinates of the glyph within the atlas texture.
|
| int | w |
| int | h |
| | Width and height of the glyph in pixels.
|
| int | xoff |
| int | yoff |
| | Pixel offset from the glyph origin.
|
Glyph metrics for a single character in a bitmap font atlas.
◆ ax
| float kemena::kFontGlyph::ax |
Horizontal advance (pen advance after drawing the glyph).
| int kemena::kFontGlyph::h |
Width and height of the glyph in pixels.
◆ lsb
| float kemena::kFontGlyph::lsb |
◆ tx
| float kemena::kFontGlyph::tx |
◆ ty
| float kemena::kFontGlyph::ty |
UV coordinates of the glyph within the atlas texture.
| int kemena::kFontGlyph::w |
◆ xoff
| int kemena::kFontGlyph::xoff |
◆ yoff
| int kemena::kFontGlyph::yoff |
Pixel offset from the glyph origin.
The documentation for this struct was generated from the following file: