nn::font::Glyph Structure

Syntax

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

Description

A structure that holds character glyph data.

Member Variables

pTexture Pointer to a sheet.
widths Character width data.
height Cell height
texWidth The sheet's width.
texHeight The sheet's height.
cellX The x-coordinate of the cell's upper-left corner on the sheet.
cellY The y-coordinate of the cell's upper-left corner on the sheet.
isSheetUpdated Returns true when the content of the sheet has been updated.
texFormat The sheet's format.

Member Functions

Glyph Constructor.

Revision History

2010/11/10
Initial version.

CONFIDENTIAL