nw::font::ResFontBase::GetCharWidthsFromIndex Member Function

Syntax

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

Arguments

Name Description
in pWidth Pointer to the search target CWDH block.
in index Glyph index of the character to get the character width for

Return Values

Reference to the character width information.

Description

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


CONFIDENTIAL