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::font::PrintContext</title> 51 </head> 52 <body> 53 <h1><CODE>nw::font::PrintContext</CODE> Structure</h1> 54 <h2>Syntax</h2> 55 <div class="section"> 56 <pre class="definition">template <typename CharType> 57struct PrintContext 58{ 59 <a href="../../../nw/font/TextWriterBase/Overview.html">TextWriterBase</a>< CharType > * writer; 60 const CharType * str; 61 <span>u32</span> flags; 62}; 63</pre> 64 </div> 65 <h2>Template Arguments</h2> 66 <div class="section"> 67 <table class="arguments"> 68 <thead> 69 <tr> 70 <th>Name</th> 71 <td>Description</td> 72 </tr> 73 </thead> 74 <tr> 75 <th>CharType</th> 76 <td> 77 </td> 78 </tr> </table> 79 </div> 80 <h2>Description</h2> 81 <div class="section"> 82 <p> 83 </p> 84 </div> 85 <a name="constant" id="constant"> 86 <h2>Member Constants</h2> 87 <div class="section"> 88 <table class="members"> 89 <tr> 90 <td width="100"> </td> 91 <th> 92 <span class="argument"><a href="../../../nw/font/PrintContext/xOrigin.html">xOrigin</a></span> 93 </th> 94 <td>X coordinate where drawing starts.</td> 95 </tr> 96 <tr> 97 <td width="100"> </td> 98 <th> 99 <span class="argument"><a href="../../../nw/font/PrintContext/yOrigin.html">yOrigin</a></span> 100 </th> 101 <td>Y coordinate where drawing starts.</td> 102 </tr> </table> 103 </div> 104 </a> <a name="variable" id="variable"> 105 <h2>Member Variables</h2> 106 <div class="section"> 107 <table class="members"> 108 <tr> 109 <td width="100"> </td> 110 <th> 111 <span class="argument">writer</span> 112 </th> 113 <td>Pointer to <CODE>TextWriter</CODE> being used to draw the character string.</td> 114 </tr> 115 <tr> 116 <td width="100"> </td> 117 <th> 118 <span class="argument">str</span> 119 </th> 120 <td>Pointer to the character string being drawn.</td> 121 </tr> 122 <tr> 123 <td width="100"> </td> 124 <th> 125 <span class="argument">flags</span> 126 </th> 127 <td>The OR for <a href="../../../nw/font/TextWriterBase/ContextFlag.html">TextWriter::ContextFlag</a>.</td> 128 </tr> </table> 129 </div> 130 </a> <a name="function" id="function"> 131 <h2>Member Functions</h2> 132 <div class="section"> 133 <table class="members"> 134 <tr> 135 <td width="100"> </td> 136 <th> 137 <a href="../../../nw/font/PrintContext/PrintContext.html">PrintContext</a> 138 </th> 139 <td> 140 </td> 141 </tr> </table> 142 </div> 143 </a> 144 <hr><p>CONFIDENTIAL</p></body> 145</html>