nw::font::TextWriterBase::CalcStringRect Member Function

Syntax

void CalcStringRect(
     ut::Rect * pRect,
     const CharType * str,
     int           length
) const;

Arguments

Name Description
out pRect Pointer to the buffer that receives the character string drawing rectangle.
in str Text string
in length Character string length.

Return Values

None.

Description

Calculates the drawing rectangle for the text string.

Revision History

2009/11/09
Initial version.

CONFIDENTIAL