#include <Font.hpp>
|
| uint32_t | code |
| | glyph (unicode code) More...
|
| |
| unsigned | pos_x |
| | x position of glyph in bitmap (from left of image to left of glyph, in texture pixels) More...
|
| |
| unsigned | pos_y |
| | y position of glyph in bitmap (from top of image to top of glyph, in texture pixels) More...
|
| |
| unsigned | width |
| | width of glyph in pixels (from left of glyph to right of glyph, in texture pixels) More...
|
| |
| unsigned | height |
| | height of glyph in pixels (from top of glyph to bottom of glyph, in texture pixels) More...
|
| |
| float | bearing_x |
| | from base of glyph to left side of glyph, in texture pixels More...
|
| |
| float | bearing_y |
| | from base of glyph to top side of glyph, in texture pixels More...
|
| |
Definition at line 36 of file Font.hpp.
◆ Glyph()
| iv::Font::Glyph::Glyph |
( |
| ) |
|
|
inline |
◆ code
| uint32_t iv::Font::Glyph::code |
glyph (unicode code)
Definition at line 38 of file Font.hpp.
◆ pos_x
| unsigned iv::Font::Glyph::pos_x |
x position of glyph in bitmap (from left of image to left of glyph, in texture pixels)
Definition at line 39 of file Font.hpp.
◆ pos_y
| unsigned iv::Font::Glyph::pos_y |
y position of glyph in bitmap (from top of image to top of glyph, in texture pixels)
Definition at line 40 of file Font.hpp.
◆ width
| unsigned iv::Font::Glyph::width |
width of glyph in pixels (from left of glyph to right of glyph, in texture pixels)
Definition at line 41 of file Font.hpp.
◆ height
| unsigned iv::Font::Glyph::height |
height of glyph in pixels (from top of glyph to bottom of glyph, in texture pixels)
Definition at line 42 of file Font.hpp.
◆ bearing_x
| float iv::Font::Glyph::bearing_x |
from base of glyph to left side of glyph, in texture pixels
Definition at line 43 of file Font.hpp.
◆ bearing_y
| float iv::Font::Glyph::bearing_y |
from base of glyph to top side of glyph, in texture pixels
Definition at line 44 of file Font.hpp.
The documentation for this struct was generated from the following file: