struct EE::Graphics::FontTrueType::Page

Overview

#include <fonttruetype.hpp>

struct Page {
    // fields

    GlyphTable glyphs;
    GlyphDrawableTable drawables;
    Texture* texture;
    unsigned int nextRow;
    std::vector<Row> rows;
    Uint32 fontInternalId { 0 };

    // construction

    Page(const Uint32 fontInternalId, const std::string& pageName);
    ~Page();
};

Detailed Documentation

Fields

GlyphTable glyphs

Table mapping code points to their corresponding glyph.

Texture* texture

Table mapping code points to their corresponding glyph drawables.

Texture containing the pixels of the glyphs

unsigned int nextRow

Y position of the next new row in the texture.

std::vector<Row> rows

List containing the position of all the existing rows.