Antkeeper
0.0.1
|
Single glyph in a bitmap font. More...
#include <bitmap-glyph.hpp>
Public Attributes | |
glyph_metrics | metrics |
Metrics describing the glyph. More... | |
std::vector< std::byte > | bitmap |
Bitmap representing the glyph. More... | |
std::uint32_t | bitmap_width {} |
Width of the glyph bitmap, in pixels. More... | |
std::uint32_t | bitmap_height {} |
Height of the glyph bitmap, in pixels. More... | |
math::uvec2 | position |
Position of the packed glyph bitmap within the font bitmap. More... | |
Single glyph in a bitmap font.
Definition at line 35 of file bitmap-glyph.hpp.
std::vector<std::byte> type::bitmap_glyph::bitmap |
Bitmap representing the glyph.
Definition at line 41 of file bitmap-glyph.hpp.
std::uint32_t type::bitmap_glyph::bitmap_height {} |
Height of the glyph bitmap, in pixels.
Definition at line 47 of file bitmap-glyph.hpp.
std::uint32_t type::bitmap_glyph::bitmap_width {} |
Width of the glyph bitmap, in pixels.
Definition at line 44 of file bitmap-glyph.hpp.
glyph_metrics type::bitmap_glyph::metrics |
Metrics describing the glyph.
Definition at line 38 of file bitmap-glyph.hpp.
math::uvec2 type::bitmap_glyph::position |
Position of the packed glyph bitmap within the font bitmap.
Definition at line 50 of file bitmap-glyph.hpp.