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 Pointer to sheet
widths Character width information
height Cell height
texWidth Sheet width
texHeight Sheet height
cellX X-coordinate of upper left corner of cell in sheet
cellY Y-coordinate of upper left corner of cell in sheet
texFormat Sheet format
isSheetUpdated True of the sheet contents have been updated

Member Functions

Glyph Constructor.

CONFIDENTIAL