nn::font::CTR::TextWriterBase::CalcStringRect Member Function

Syntax

void CalcStringRect(
     util::Rect * pRect,
     const CharType * str
) const;

Parameters

Name Description
out pRect Pointer to the buffer that receives the rectangle for drawing the string.
in str The string.

Return Values

None.

Description

Calculates the drawing rectangle for the string.


CONFIDENTIAL