nw::font::ResFontBase::GetWidth Member Function

Syntax

virtual int GetWidth() const;

Arguments

None.

Return Values

Returns the width of the font in units of pixels.

Description

Gets the width of the font.

The font width can be used when a fixed width of one character is required (such as for tab widths). In addition, nw::font::CharWriter::SetFontSize uses this value to calculate scaling in the horizontal direction.

See Also

nw::font::Font::GetHeight

Revision History

2009/11/09
Initial version.

CONFIDENTIAL