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