struct EE::Graphics::FontTrueType::Page¶
Overview¶
#include <fonttruetype.hpp> struct Page { // fields GlyphTable glyphs; GlyphDrawableTable drawables; TexturePtr texture; std::vector<Row> rows; Uint32 fontInternalId { 0 }; unsigned int nextRow; const FontTrueType* font { nullptr }; // construction Page(const Uint32 fontInternalId, const std::string& pageName, const FontTrueType* font); ~Page(); };
Detailed Documentation¶
Fields¶
GlyphTable glyphs
Table mapping code points to their corresponding glyph.
TexturePtr texture
Table mapping code points to their corresponding glyph drawables.
Texture containing the pixels of the glyphs
std::vector<Row> rows
List containing the position of all the existing rows.
unsigned int nextRow
Y position of the next new row in the texture.