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

Syntax

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

Arguments

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

Return Values

None.

Description

Calculates the drawing rectangle for the string.


CONFIDENTIAL