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

Container structure for a row of glyphs. More...

#include <FontRow.hpp>

Public Member Functions

 FontRow (void)
 Default constructor.
 ~FontRow (void)
 Destructor.
 FontRow (uint top, uint height)

Public Attributes

uint width
 Current width of the row.
uint top
 Y position of the row into the texture.
uint height
 Height of the row.

Detailed Description

Container structure for a row of glyphs.

Definition at line 39 of file FontRow.hpp.

Constructor & Destructor Documentation

◆ FontRow() [1/2]

nom::FontRow::FontRow ( void )
inline

Default constructor.

Definition at line 42 of file FontRow.hpp.

◆ ~FontRow()

nom::FontRow::~FontRow ( void )
inline

Destructor.

Definition at line 51 of file FontRow.hpp.

◆ FontRow() [2/2]

nom::FontRow::FontRow ( uint top,
uint height )
inline

Definition at line 56 of file FontRow.hpp.

Member Data Documentation

◆ height

uint nom::FontRow::height

Height of the row.

Definition at line 71 of file FontRow.hpp.

◆ top

uint nom::FontRow::top

Y position of the row into the texture.

Definition at line 68 of file FontRow.hpp.

◆ width

uint nom::FontRow::width

Current width of the row.

Definition at line 65 of file FontRow.hpp.


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