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::demo::GraphicsDrawing</title> 49 </head> 50 <body> 51 <h1><CODE>nw::demo::GraphicsDrawing</CODE> Class</h1> 52 <h2>Syntax</h2> 53 <div class="section"> 54 <pre class="definition">class GraphicsDrawing</pre> 55 </div> 56 <h2>Description</h2> 57 <div class="section"> 58 <p>Class for drawing characters and primitives for demos.</p> 59 </div> 60 <a name="function" id="function"> 61 <h2>Member Functions</h2> 62 <div class="section"> 63 <table class="members"> 64 <tr> 65 <th class="category" colspan="3">Constructors and Destructors</th> 66 </tr> 67 <tr> 68 <td width="100"> </td> 69 <th> 70 <a href="../../../nw/demo/GraphicsDrawing/SetScreenSize.html">SetScreenSize</a> 71 </th> 72 <td>Sets the screen size.</td> 73 </tr> 74 <tr> 75 <td width="100"> </td> 76 <th> 77 <a href="../../../nw/demo/GraphicsDrawing/GraphicsDrawing.html">GraphicsDrawing</a> 78 </th> 79 <td>Constructor.</td> 80 </tr> 81 <tr> 82 <td width="100"> </td> 83 <th> 84 <a href="../../../nw/demo/GraphicsDrawing/~GraphicsDrawing.html">~GraphicsDrawing</a> 85 </th> 86 <td>Destructor.</td> 87 </tr> 88 <tr> 89 <th class="category" colspan="3">Shape Drawing</th> 90 </tr> 91 <tr> 92 <td width="100"> </td> 93 <th> 94 <a href="../../../nw/demo/GraphicsDrawing/InitializeShader.html">InitializeShader</a> 95 </th> 96 <td>Initializes a shader.</td> 97 </tr> 98 <tr> 99 <td width="100"> </td> 100 <th> 101 <a href="../../../nw/demo/GraphicsDrawing/Setup.html">Setup</a> 102 </th> 103 <td>Performs set up for shader and drawing.</td> 104 </tr> 105 <tr> 106 <td width="100"> </td> 107 <th> 108 <a href="../../../nw/demo/GraphicsDrawing/SetLineWidth.html">SetLineWidth</a> 109 </th> 110 <td>Sets the line size.</td> 111 </tr> 112 <tr> 113 <td width="100"> </td> 114 <th> 115 <a href="../../../nw/demo/GraphicsDrawing/BeginDrawingShape.html">BeginDrawingShape</a> 116 </th> 117 <td><CODE>demo::GraphicsDrawing</CODE> class function for starting rendering.</td> 118 </tr> 119 <tr> 120 <td width="100"> </td> 121 <th> 122 <a href="../../../nw/demo/GraphicsDrawing/DrawLine.html">DrawLine</a> 123 </th> 124 <td>Draws a line. The CPU creates a vertex without using a line shader.</td> 125 </tr> 126 <tr> 127 <td width="100"> </td> 128 <th> 129 <a href="../../../nw/demo/GraphicsDrawing/DrawRectangle.html">DrawRectangle</a> 130 </th> 131 <td>Draws a rectangle. The CPU creates a vertex without using a line shader.</td> 132 </tr> 133 <tr> 134 <td width="100"> </td> 135 <th> 136 <a href="../../../nw/demo/GraphicsDrawing/FillRectangle.html">FillRectangle</a> 137 </th> 138 <td>Draws a rectangle.</td> 139 </tr> 140 <tr> 141 <td width="100"> </td> 142 <th> 143 <a href="../../../nw/demo/GraphicsDrawing/FillTriangle.html">FillTriangle</a> 144 </th> 145 <td>Draws a triangle.</td> 146 </tr> 147 <tr> 148 <td width="100"> </td> 149 <th> 150 <a href="../../../nw/demo/GraphicsDrawing/FillTriangles.html">FillTriangles</a> 151 </th> 152 <td>Draws a triangle.</td> 153 </tr> 154 <tr> 155 <th class="category" colspan="3">Font Drawing</th> 156 </tr> 157 <tr> 158 <td width="100"> </td> 159 <th> 160 <a href="../../../nw/demo/GraphicsDrawing/SetMaxTextCount.html">SetMaxTextCount</a> 161 </th> 162 <td>Specifies the maximum number of characters that can be drawn.</td> 163 </tr> 164 <tr> 165 <td width="100"> </td> 166 <th> 167 <a href="../../../nw/demo/GraphicsDrawing/InitializeFont.html">InitializeFont</a> 168 </th> 169 <td>Initializes a font.</td> 170 </tr> 171 <tr> 172 <td width="100"> </td> 173 <th> 174 <a href="../../../nw/demo/GraphicsDrawing/DestroyFont.html">DestroyFont</a> 175 </th> 176 <td>Destroys a font.</td> 177 </tr> 178 <tr> 179 <td width="100"> </td> 180 <th> 181 <a href="../../../nw/demo/GraphicsDrawing/BeginDrawingString.html">BeginDrawingString</a> 182 </th> 183 <td><CODE>demo::GraphicsDrawing</CODE> class function for starting font rendering.</td> 184 </tr> 185 <tr> 186 <td width="100"> </td> 187 <th> 188 <a href="../../../nw/demo/GraphicsDrawing/DrawString.html">DrawString</a> 189 </th> 190 <td>Draws a string.</td> 191 </tr> 192 <tr> 193 <td width="100"> </td> 194 <th> 195 <a href="../../../nw/demo/GraphicsDrawing/DrawStringArgs.html">DrawStringArgs</a> 196 </th> 197 <td>Draws a text string at the specified position.</td> 198 </tr> 199 <tr> 200 <td width="100"> </td> 201 <th> 202 <a href="../../../nw/demo/GraphicsDrawing/GetWriter.html">GetWriter</a> 203 </th> 204 <td>Gets a demo text writer.</td> 205 </tr> 206 <tr> 207 <th class="category" colspan="3">Other</th> 208 </tr> 209 <tr> 210 <td width="100"> </td> 211 <th> 212 <a href="../../../nw/demo/GraphicsDrawing/Finalize.html"><CODE>Finalize</CODE></a> 213 </th> 214 <td>Destroys a resource.</td> 215 </tr> 216 <tr> 217 <td width="100"> </td> 218 <th> 219 <a href="../../../nw/demo/GraphicsDrawing/FlushDrawing.html">FlushDrawing</a> 220 </th> 221 <td>Flushes <a href="../../../nw/demo/GraphicsDrawing/Overview.html">demo::GraphicsDrawing</a> class drawings.</td> 222 </tr> 223 <tr> 224 <td width="100"> </td> 225 <th> 226 <a href="../../../nw/demo/GraphicsDrawing/InitializeShader.html">InitializeShader</a> 227 </th> 228 <td>Initializes a shader.</td> 229 </tr> 230 <tr> 231 <td width="100"> </td> 232 <th> 233 <a href="../../../nw/demo/GraphicsDrawing/InitializeFont.html">InitializeFont</a> 234 </th> 235 <td>Initializes a font.</td> 236 </tr> </table> 237 </div> 238 </a> 239 <hr><p>CONFIDENTIAL</p></body> 240</html> 241