Antkeeper
0.0.1
|
Metrics describing properties of a glyph. More...
#include <glyph-metrics.hpp>
Public Attributes | |
float | width |
Horizontal extent of the glyph. More... | |
float | height |
Vertical extent of the glyph. More... | |
math::fvec2 | horizontal_bearing |
Offset from the pen position to the glyph's top-left edge, in horizontal layouts. More... | |
math::fvec2 | vertical_bearing |
Offset from the pen position to the glph's top-left edge, in vertical layouts. More... | |
float | horizontal_advance |
Distance to move the pen position after the glyph has been rendered, in horizontal layouts. More... | |
float | vertical_advance |
Distance to move the pen position after the glyph has been rendered, in vertical layouts. More... | |
Metrics describing properties of a glyph.
Definition at line 30 of file glyph-metrics.hpp.
float type::glyph_metrics::height |
Vertical extent of the glyph.
Definition at line 36 of file glyph-metrics.hpp.
float type::glyph_metrics::horizontal_advance |
Distance to move the pen position after the glyph has been rendered, in horizontal layouts.
Definition at line 45 of file glyph-metrics.hpp.
math::fvec2 type::glyph_metrics::horizontal_bearing |
Offset from the pen position to the glyph's top-left edge, in horizontal layouts.
Definition at line 39 of file glyph-metrics.hpp.
float type::glyph_metrics::vertical_advance |
Distance to move the pen position after the glyph has been rendered, in vertical layouts.
Definition at line 48 of file glyph-metrics.hpp.
math::fvec2 type::glyph_metrics::vertical_bearing |
Offset from the pen position to the glph's top-left edge, in vertical layouts.
Definition at line 42 of file glyph-metrics.hpp.
float type::glyph_metrics::width |
Horizontal extent of the glyph.
Definition at line 33 of file glyph-metrics.hpp.