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>nn::font::Glyph</title>
51  </head>
52  <body>
53<h1><CODE><a href="../../../nn/Overview.html">nn</a>::<a href="../../../nn/font/Overview.html">font</a>::Glyph</CODE> Structure</h1>
54<h2>Syntax</h2>
55    <div class="section">
56<pre class="definition">struct Glyph
57{
58const void * pTexture;
59<a href="../../../nn/font/CharWidths/Overview.html">CharWidths</a> widths;
60<a href="../../../nn_types/u8.html">u8</a> height;
61<a href="../../../nn_types/u16.html">u16</a> texWidth;
62<a href="../../../nn_types/u16.html">u16</a> texHeight;
63<a href="../../../nn_types/u16.html">u16</a> cellX;
64<a href="../../../nn_types/u16.html">u16</a> cellY;
65<a href="../../../nn_types/u8.html">u8</a> isSheetUpdated;
66TexFmt texFormat;
67};
68</pre>
69    </div>
70<h2>Description</h2>
71    <div class="section">
72<p>A structure that holds character glyph data.</p><!-- write here --></div>
73    <a name="variable" id="variable">
74<h2>Member Variables</h2>
75      <div class="section">
76        <table class="members">
77          <tr>
78            <td width="100"> </td>
79            <th>
80<span class="argument">pTexture</span>
81            </th>
82<td width="100">const void *</td>
83<td>Pointer to a sheet.</td>
84          </tr>
85          <tr>
86            <td width="100"> </td>
87            <th>
88<span class="argument">widths</span>
89            </th>
90<td width="100"><a href="../../../nn/font/CharWidths/Overview.html">CharWidths</a></td>
91<td>Character width data.</td>
92          </tr>
93          <tr>
94            <td width="100"> </td>
95            <th>
96<span class="argument">height</span>
97            </th>
98<td width="100"><a href="../../../nn_types/u8.html">u8</a></td>
99<td>Cell height</td>
100          </tr>
101          <tr>
102            <td width="100"> </td>
103            <th>
104<span class="argument">texWidth</span>
105            </th>
106<td width="100"><a href="../../../nn_types/u16.html">u16</a></td>
107<td>The sheet's width.</td>
108          </tr>
109          <tr>
110            <td width="100"> </td>
111            <th>
112<span class="argument">texHeight</span>
113            </th>
114<td width="100"><a href="../../../nn_types/u16.html">u16</a></td>
115<td>The sheet's height.</td>
116          </tr>
117          <tr>
118            <td width="100"> </td>
119            <th>
120<span class="argument">cellX</span>
121            </th>
122<td width="100"><a href="../../../nn_types/u16.html">u16</a></td>
123<td>The x-coordinate of the cell's upper-left corner on the sheet.</td>
124          </tr>
125          <tr>
126            <td width="100"> </td>
127            <th>
128<span class="argument">cellY</span>
129            </th>
130<td width="100"><a href="../../../nn_types/u16.html">u16</a></td>
131<td>The y-coordinate of the cell's upper-left corner on the sheet.</td>
132          </tr>
133          <tr>
134            <td width="100"> </td>
135            <th>
136<span class="argument">isSheetUpdated</span>
137            </th>
138<td width="100"><a href="../../../nn_types/u8.html">u8</a></td>
139<td>Returns <CODE>true</CODE> when the content of the sheet has been updated.</td>
140          </tr>
141          <tr>
142            <td width="100"> </td>
143            <th>
144<span class="argument">texFormat</span>
145            </th>
146<td width="100">TexFmt</td>
147<td>The sheet's format.</td>
148          </tr> </table>
149      </div>
150    </a> <a name="function" id="function">
151<h2>Member Functions</h2>
152      <div class="section">
153        <table class="members">
154          <tr>
155            <td width="100">  </td>
156            <th>
157<a href="../../../nn/font/Glyph/Glyph.html"><CODE>Glyph</CODE></a>
158            </th>
159<td>Constructor.</td>
160          </tr> </table>
161      </div>
162    </a>
163<h2>Revision History</h2>
164    <div class="section">
165      <dl class="history">
166        <dt>2010/11/10</dt>
167<dd>Initial version.<br />
168        </dd>
169      </dl>
170    </div>
171  <hr><p>CONFIDENTIAL</p></body>
172</html>