nn::font::CharWidths

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 s8 The width of the space to the left of a character.
glyphWidth u8 The width of a character's glyph.
charWidth s8 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