1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <link rel="stylesheet" href="../../../../css/manpage.css" type="text/css" /> 7 <title>Printf</title> 8 </head> 9 <body> 10 <h1><CODE><a href="../../../../nn/Overview.html">nn</a>::<a href="../../../../nn/dbg/Overview.html">dbg</a>::<a href="../../../../nn/dbg/CTR/Overview.html">CTR</a>::<a href="../../../../nn/dbg/CTR/DirectPrint/Overview.html">DirectPrint</a>::Printf</CODE> Member Function</h1> 11 <h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition">#include <nn/dbg.h> 14 15void Printf( 16 const <a href="../../../../nn/math/VEC2/Overview.html">nn::math::VEC2</a> & pos, 17 bool autoLineFeed, 18 bool fillBg, 19 const char * format, 20 ... 21); 22 23void Printf( 24 const <a href="../../../../nn/math/VEC2/Overview.html">nn::math::VEC2</a> & pos, 25 const char * format, 26 ... 27); 28</pre> 29 </div> 30 <h2>List of Overloaded Member Functions</h2> 31 <div class="section"> 32 <table class="members"> 33 <tr> 34 <td> 35 <a href="./Printf(0).html">Printf ( const nn::math::VEC2 &, bool, bool, const char *, ... ) </a> 36 </td> 37 <td>Formats strings and writes them to the display buffer.</td> 38 </tr> 39 <tr> 40 <td> 41 <a href="./Printf(1).html">Printf ( const nn::math::VEC2 &, const char *, ... ) </a> 42 </td> 43 <td>Formats strings and writes them to the display buffer.</td> 44 </tr> </table> 45 </div> 46 <h2>Description of <CODE>Printf ( const nn::math::VEC2 &, bool, bool, const char *, ... )</CODE></h2> 47 <div class="section"><p>For <SPAN class="argument">pos</SPAN>, specify the value in a coordinate system where (0, 0) is the upper-left point of the display region specified by <CODE><a href="../../../../nn/dbg/CTR/DirectPrint/ChangeDisplaybuffer.html">ChangeDisplaybuffer</a></CODE>.</p><p>When <SPAN class="argument">autoLineFeed</SPAN> is set to <SPAN class="argument">true</SPAN>, text will wrap when it reaches the edge of the display region.</p><p>The post-formatted string must fit within 255 characters.</p></div> 48 <h2>Description of <CODE>Printf ( const nn::math::VEC2 &, const char *, ... )</CODE></h2> 49 <div class="section"><p>The version without the <SPAN class="argument">autoLineFeed</SPAN> and <SPAN class="argument">fillBg</SPAN> arguments. It acts the same as when <SPAN class="argument">true</SPAN> is passed.</p></div> 50 <hr><p>CONFIDENTIAL</p></body> 51</html>