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

Description

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

This function returns a reference to character width data.


CONFIDENTIAL