nw::font::TextWriterBase::CalcStringWidth Member Function

Syntax

f32 CalcStringWidth(
     const CharType * str
) const;

Arguments

Name Description
in str Text string

Return Values

Returns the width of the character string.

Description

Calculates the width of the text.

Returns the maximum width for each line of text when there is more than one line of text.

Revision History

2009/11/09
Initial version.

CONFIDENTIAL