nn::font::ResFontBase::GetCharWidthsFromIndex Member Function

Syntax

protected:
const CharWidths & GetCharWidthsFromIndex(
     const FontWidth * pWidth,
     GlyphIndex index
) const;

Arguments

Name Description
in pWidth Pointer to the body of the CWDH block to search.
in index Glyph index of the character for which to get widths.

Return Values

A reference to character width data.

Description

Gets character widths corresponding to a glyph index from the body of a CWDH block.


CONFIDENTIAL