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 X-coordinate of the cell's upper-left corner on the sheet.
cellY Y-coordinate of the cell's upper-left corner on the sheet.
isSheetUpdated true when the content of the sheet has been updated.
texFormat The sheet's format.

Member Functions

Glyph Constructor.

CONFIDENTIAL