nw::font::ResFontBase::GetCellWidth Member Function

Syntax

virtual int GetCellWidth() const;

Arguments

None.

Return Values

Returns the width of the cell in units of pixels.

Description

Gets the cell width.

This value is used to draw characters without using the nw::font::CharWriter class. The font width can be obtained with the nw::font::Font::GetWidth function when normally drawing text strings.

The cell width is the same for all characters.

Revision History

2009/11/09
Initial version.

CONFIDENTIAL