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

Syntax

f32 CalcStringWidth(
     const CharType * str
) const;

f32 CalcStringWidth(
     const CharType * str,
     int           length
) const;

List of Overloaded Member Functions

CalcStringWidth ( const CharType * ) Calculates the width of the text.
CalcStringWidth ( const CharType *, int ) Calculates the width of the text.

Description of CCalcStringWidth ( const CharType * )

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

Description of CalcStringWidth ( const CharType *, int )

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


CONFIDENTIAL