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