nn::font::Glyph

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 const void * Pointer to a sheet.
widths CharWidths Character width data.
height u8 Cell height
texWidth u16 The sheet's width.
texHeight u16 The sheet's height.
cellX u16 The x-coordinate of the cell's upper-left corner on the sheet.
cellY u16 The y-coordinate of the cell's upper-left corner on the sheet.
isSheetUpdated u8 Returns true when the content of the sheet has been updated.
texFormat TexFmt The sheet's format.

Member Functions

Glyph Constructor.

Revision History

2010/11/10
Initial version.

CONFIDENTIAL