nomlib
Loading...
Searching...
No Matches
nom::FontPage Struct Reference

Container structure for font data. More...

#include <FontPage.hpp>

Public Member Functions

 FontPage ()
 Default constructor; initialize the font page to its empty state.
 ~FontPage ()
 Destructor.
bool valid () const
 Validity of the glyph page.
void invalidate ()
 Re-initialize the page to its defaults.

Public Attributes

GlyphAtlas glyphs
std::shared_ptr< Image > texture
 Container for the glyph's pixel buffer.
uint next_row
 Y position of the next new row in the texture.
PageRow rows
 Positioning of all the existing rows.

Detailed Description

Container structure for font data.

Definition at line 45 of file FontPage.hpp.

Member Data Documentation

◆ glyphs

GlyphAtlas nom::FontPage::glyphs

Definition at line 59 of file FontPage.hpp.

◆ next_row

uint nom::FontPage::next_row

Y position of the next new row in the texture.

Definition at line 65 of file FontPage.hpp.

◆ rows

PageRow nom::FontPage::rows

Positioning of all the existing rows.

Definition at line 68 of file FontPage.hpp.

◆ texture

std::shared_ptr<Image> nom::FontPage::texture

Container for the glyph's pixel buffer.

Definition at line 62 of file FontPage.hpp.


The documentation for this struct was generated from the following file: