nn::dbg::CTR::DirectPrint::Printf Member Function

Syntax

#include <nn/dbg.h>

void Printf(
     const nn::math::VEC2 & pos,
     bool autoLineFeed,
     bool fillBg,
     const char * format,
     ...
);

Arguments

Name Description
in pos Upper-left coordinate where writing to.
in autoLineFeed Specifies whether to perform automatic text wrapping.
in fillBg Specify true to fill text background with specified background color. Specify false to make transparent.
in format A formatted string.
in ... String parameters.

Return Values

None.

Description

Formats strings and writes them to the display buffer.

For pos, specify the value in a coordinate system where (0, 0) is the upper-left point of the display region specified by ChangeDisplaybuffer.

When autoLineFeed is set to true, text will wrap when it reaches the edge of the display region.

The post-formatted string must fit within 255 characters.


CONFIDENTIAL