nw::font::CharWriter::GetFontWidth Member Function

Syntax

f32 GetFontWidth() const;

Arguments

None.

Return Values

When the font is set, this function gets the cell width in pixels after enlargement. The return value is undefined if no font has been set.

Description

Returns the cell width after enlargement.

Use the following to get the cell width before enlargement:

writer.GetFont()->GetCellWidth();	// writer is an instance of CharWriter

See Also

nw::font::CharWriter::SetFontSize
nw::font::CharWriter::GetFontHeight

Revision History

2009/11/09
Initial version.

CONFIDENTIAL