nw::font::Glyph Structure

Syntax

struct Glyph
{
   const void * pTexture;
   CharWidths widths;
   u8 height;
   u16 texWidth;
   u16 texHeight;
   u16 cellX;
   u16 cellY;
   TexFmt texFormat;
   u8 isSheetUpdated;
};

Description

Structure that holds information about character glyphs.

Member Variables

pTexture const void * Pointer to sheet
widths CharWidths Character width information
height u8 Cell height
texWidth u16 Sheet width
texHeight u16 Sheet height
cellX u16 X-coordinate of upper left corner of cell in sheet
cellY u16 Y-coordinate of upper left corner of cell in sheet
texFormat TexFmt Sheet format
isSheetUpdated u8 True of the sheet contents have been updated

Member Functions

Glyph Constructor.

CONFIDENTIAL