nn::font::CTR::TextWriterBase::CalcStringWidth Member Function

Syntax

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

Arguments

Name Description
in str The string.
in length The string length.

Return Values

Returns the width of the string.

Description

Calculates the width of the string.


CONFIDENTIAL