nn::dbg::CTR::DirectPrint Classclass DirectPrint
Class for directly writing characters to the display buffer using the CPU.
・ Character size is fixed to 6x8.
・ Only ASCII characters can be displayed.
・ Tabs cannot be used.
・ You must specify the display buffer that is currently being displayed by ChangeDisplaybuffer.
- Because characters are written to the display buffer by using the CPU, the display buffer must be placed in the device memory.
| S |
FONT_WIDTH
|
const int |
Width of a single character. |
|---|---|---|---|
| S |
FONT_HEIGHT
|
const int |
Height of a single character. |
| Display buffer | ||
|---|---|---|
| ChangeDisplaybuffer | Specifies the display buffer to write to. | |
| GetDisplaybuffer | Gets the display buffer that is currently set. | |
| Operation | ||
| Flush | Writes the cache. | |
| Clear | Fills entire region using the background color. | |
| Output | ||
| Printf | Formats strings and writes them to the display buffer. | |
| VPrintf | Formats strings and writes them to the display buffer. (The variable length argument version.) | |
| PutString | Directly outputs the specified string without formatting. | |
| PutChar | Directly outputs one character of the specified characters. | |
| Set/Get | ||
| SetCharColor | Sets the color for characters. | |
| GetCharColor | Gets the color for characters. | |
| SetBgColor | Sets the background color. | |
| GetBgColor | Gets the background color. | |
| GetLastCursorPos | Returns the coordinates of the position after the last character is rendered. | |
| SetFillSpace | Sets whether to render the background color when drawing a blank space. | |
FONT_WIDTH and FONT_HEIGHT.CONFIDENTIAL