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 <style type="text/css"><!-- 8 span.static_style 9 { 10 font-size : 8pt; 11 color : white; 12 font-weight : bold; 13 background : #44f; 14 border-left : solid 1px #aaf; 15 border-top : solid 1px #aaf; 16 border-right : solid 1px #00c; 17 border-bottom : solid 1px #00c; 18 padding-left : 2px; 19 padding-right : 2px; 20 } 21 span.virtual_style 22 { 23 font-size : 8pt; 24 color : white; 25 font-weight : bold; 26 background : #0a0; 27 border-left : solid 1px #0f0; 28 border-top : solid 1px #0f0; 29 border-right : solid 1px #060; 30 border-bottom : solid 1px #060; 31 padding-left : 2px; 32 padding-right : 2px; 33 } 34 span.protected_style 35 { 36 font-size : 8pt; 37 color : white; 38 font-weight : bold; 39 background : #444; 40 border-left : solid 1px #ccc; 41 border-top : solid 1px #ccc; 42 border-right : solid 1px #222; 43 border-bottom : solid 1px #222; 44 padding-left : 2px; 45 padding-right : 2px; 46 } 47 --></style> 48 <title>nw::dev::DirectPrint</title> 49 </head> 50 <body> 51 <h1><CODE><a href="../../../nw/Overview.html">nw</a>::<a href="../../../nw/dev/Overview.html">dev</a>::DirectPrint</CODE> Class</h1> 52 <h2>Syntax</h2> 53 <div class="section"> 54 <pre class="definition">class DirectPrint</pre> 55 </div> 56 <h2>Description</h2> 57 <div class="section"> 58 <p>Class for direct rendering to framebuffer.</p> 59 </div> 60 <a name="enum" id="enum"> 61 <h2>Enumerated Types</h2> 62 <div class="section"> 63 <table class="members"> 64 <tr> 65 <td width="100"> </td> 66 <th> 67 <a href="../../../nw/dev/DirectPrint/Direction.html">Direction</a> 68 </th> 69 <td>Represents the direction of rendering.</td> 70 </tr> </table> 71 </div> 72 </a> <a name="function" id="function"> 73 <h2>Member Functions</h2> 74 <div class="section"> 75 <table class="members"> 76 <tr> 77 <th class="category" colspan="3">Constructors and Destructors</th> 78 </tr> 79 <tr> 80 <td width="100"> </td> 81 <th> 82 <a href="../../../nw/dev/DirectPrint/DirectPrint.html">DirectPrint</a> 83 </th> 84 <td>Constructor.</td> 85 </tr> 86 <tr> 87 <td width="100"> </td> 88 <th> 89 <a href="../../../nw/dev/DirectPrint/~DirectPrint.html">~DirectPrint</a> 90 </th> 91 <td>Destructor.</td> 92 </tr> 93 <tr> 94 <th class="category" colspan="3">Initialization & Shutdown</th> 95 </tr> 96 <tr> 97 <td width="100"> </td> 98 <th> 99 <a href="../../../nw/dev/DirectPrint/Initialize.html"><CODE>Initialize</CODE></a> 100 </th> 101 <td>Initializes the direct print feature.</td> 102 </tr> 103 <tr> 104 <td width="100"> </td> 105 <th> 106 <a href="../../../nw/dev/DirectPrint/Finalize.html">Finalize</a> 107 </th> 108 <td>Deallocates the resource.</td> 109 </tr> 110 <tr> 111 <td width="100"> </td> 112 <th> 113 <a href="../../../nw/dev/DirectPrint/IsActive.html">IsActive</a> 114 </th> 115 <td>Returns whether the direct print feature is in a usable state or not.</td> 116 </tr> 117 <tr> 118 <th class="category" colspan="3">Settings</th> 119 </tr> 120 <tr> 121 <td width="100"> </td> 122 <th> 123 <a href="../../../nw/dev/DirectPrint/SetTargetBuffer.html">SetTargetBuffer</a> 124 </th> 125 <td>Sets the framebuffer that will be the rendering target.</td> 126 </tr> 127 <tr> 128 <td width="100"> </td> 129 <th> 130 <a href="../../../nw/dev/DirectPrint/SetTargetActiveDisplayBuffer.html">SetTargetActiveDisplayBuffer</a> 131 </th> 132 <td>Sets the currently active display buffer to the rendering target framebuffer.</td> 133 </tr> 134 <tr> 135 <td width="100"> </td> 136 <th> 137 <a href="../../../nw/dev/DirectPrint/GetTargetBuffer.html">GetTargetBuffer</a> 138 </th> 139 <td>Gets the framebuffer for the currently set rendering target.</td> 140 </tr> 141 <tr> 142 <td width="100"> </td> 143 <th> 144 <a href="../../../nw/dev/DirectPrint/GetTargetWidth.html">GetTargetWidth</a> 145 </th> 146 <td>Gets the width of the currently set rendering target.</td> 147 </tr> 148 <tr> 149 <td width="100"> </td> 150 <th> 151 <a href="../../../nw/dev/DirectPrint/GetTargetHeight.html">GetTargetHeight</a> 152 </th> 153 <td>Gets the height of the currently set rendering target.</td> 154 </tr> 155 <tr> 156 <td width="100"> </td> 157 <th> 158 <a href="../../../nw/dev/DirectPrint/SetColor.html">SetColor</a> 159 </th> 160 <td>Sets the rendering color.</td> 161 </tr> 162 <tr> 163 <td width="100"> </td> 164 <th> 165 <a href="../../../nw/dev/DirectPrint/GetColor.html">GetColor</a> 166 </th> 167 <td>Gets the present rendering color.</td> 168 </tr> 169 <tr> 170 <td width="100"> </td> 171 <th> 172 <a href="../../../nw/dev/DirectPrint/SetDirection.html">SetDirection</a> 173 </th> 174 <td>Sets the direction of rendering.</td> 175 </tr> 176 <tr> 177 <td width="100"> </td> 178 <th> 179 <a href="../../../nw/dev/DirectPrint/GetDirection.html">GetDirection</a> 180 </th> 181 <td>Gets the direction of rendering.</td> 182 </tr> 183 <tr> 184 <th class="category" colspan="3">Rendering</th> 185 </tr> 186 <tr> 187 <td width="100"> </td> 188 <th> 189 <a href="../../../nw/dev/DirectPrint/Erase.html">Erase</a> 190 </th> 191 <td>Darkens a rectangular area.</td> 192 </tr> 193 <tr> 194 <td width="100"> </td> 195 <th> 196 <a href="../../../nw/dev/DirectPrint/Printf.html">Printf</a> 197 </th> 198 <td>Draws a string.</td> 199 </tr> 200 <tr> 201 <td width="100"> </td> 202 <th> 203 <a href="../../../nw/dev/DirectPrint/VPrintf.html">VPrintf</a> 204 </th> 205 <td>Draws a string.</td> 206 </tr> 207 <tr> 208 <td width="100"> </td> 209 <th> 210 <a href="../../../nw/dev/DirectPrint/DrawString.html">DrawString</a> 211 </th> 212 <td>Draws a string.</td> 213 </tr> 214 <tr> 215 <td width="100"> </td> 216 <th> 217 <a href="../../../nw/dev/DirectPrint/StoreCache.html">StoreCache</a> 218 </th> 219 <td>Stores the rendered string from cache to main memory.</td> 220 </tr> </table> 221 </div> 222 </a> 223 <hr><p>CONFIDENTIAL</p></body> 224</html> 225