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< Imagetexture
 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 44 of file FontPage.hpp.

Member Data Documentation

◆ glyphs

GlyphAtlas nom::FontPage::glyphs

Definition at line 58 of file FontPage.hpp.

◆ next_row

uint nom::FontPage::next_row

Y position of the next new row in the texture.

Definition at line 64 of file FontPage.hpp.

◆ rows

PageRow nom::FontPage::rows

Positioning of all the existing rows.

Definition at line 67 of file FontPage.hpp.

◆ texture

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

Container for the glyph's pixel buffer.

Definition at line 61 of file FontPage.hpp.


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