nn::font::CharWidths Structure

Syntax

struct CharWidths
{
   s8 left;
   u8 glyphWidth;
   s8 charWidth;
};

Description

A structure that stores widths for a character.

Member Variables

left The width of the space to the left of a character.
glyphWidth The width of a character's glyph.
charWidth The (total) character width. This is the sum of the following widths: the space to the left of the character, the glyph, and the space to the right of the character.

Revision History

2010/11/10
Initial version.

CONFIDENTIAL