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::ResFontBase</title>
51  </head>
52  <body>
53    <h1><CODE>nn::font::ResFontBase</CODE> Class</h1>
54    <h2>Syntax</h2>
55    <div class="section">
56      <pre class="definition">class ResFontBase : public <a href="../../../nn/font/Font/Overview.html">nn::font::Font</a></pre>
57    </div>
58    <h2>Description</h2>
59    <div class="section">
60      <p>A base class for font classes that handle resources.</p>
61    </div>
62    <a name="function" id="function">
63      <h2>Member Functions</h2>
64      <div class="section">
65        <table class="members">
66          <tr>
67            <th class="category" colspan="3">Getting Sheet Information</th>
68          </tr>
69          <tr>
70            <td width="100">
71              <span class="protected_style" title="protected">protected</span> <span class="virtual_style" title="virtual">V</span>
72            </td>
73            <th>
74              <a href="../../../nn/font/ResFontBase/GetActiveSheetNum.html"><CODE>GetActiveSheetNum</CODE></a>
75            </th>
76            <td>Gets the number of active sheets.</td>
77          </tr>
78          <tr>
79            <td width="100">
80              <span class="protected_style" title="protected">protected</span>  </td>
81            <th>
82              <a href="../../../nn/font/ResFontBase/GetTextureObjectsBufferPtr.html"><CODE>GetTextureObjectsBufferPtr</CODE></a>
83            </th>
84            <td>Gets a pointer to a texture object buffer.</td>
85          </tr>
86          <tr>
87            <td width="100">  </td>
88            <th>
89              <a href="../../../nn/font/ResFontBase/SetTextureObjectsBufferPtr.html"><CODE>SetTextureObjectsBufferPtr</CODE></a>
90            </th>
91            <td>Sets a pointer to a texture object buffer.</td>
92          </tr>
93          <tr>
94            <td width="100">  </td>
95            <th>
96              <a href="../../../nn/font/ResFontBase/GenTextureNames.html"><CODE>GenTextureNames</CODE></a>
97            </th>
98            <td>Generates texture names.</td>
99          </tr>
100          <tr>
101            <td width="100"> <span class="virtual_style" title="virtual">V</span>
102            </td>
103            <th>
104              <a href="../../../nn/font/ResFontBase/GetBaselinePos.html"><CODE>GetBaselinePos</CODE></a>
105            </th>
106            <td>Gets the baseline position.</td>
107          </tr>
108          <tr>
109            <td width="100"> <span class="virtual_style" title="virtual">V</span>
110            </td>
111            <th>
112              <a href="../../../nn/font/ResFontBase/GetCellHeight.html"><CODE>GetCellHeight</CODE></a>
113            </th>
114            <td>Gets the cell height.</td>
115          </tr>
116          <tr>
117            <td width="100"> <span class="virtual_style" title="virtual">V</span>
118            </td>
119            <th>
120              <a href="../../../nn/font/ResFontBase/GetCellWidth.html"><CODE>GetCellWidth</CODE></a>
121            </th>
122            <td>Gets the cell width.</td>
123          </tr>
124          <tr>
125            <th class="category" colspan="3">Constructors/Destructors</th>
126          </tr>
127          <tr>
128            <td width="100">  </td>
129            <th>
130              <a href="../../../nn/font/ResFontBase/ResFontBase.html"><CODE>ResFontBase</CODE></a>
131            </th>
132            <td>Constructor.</td>
133          </tr>
134          <tr>
135            <td width="100"> <span class="virtual_style" title="virtual">V</span>
136            </td>
137            <th>
138              <a href="../../../nn/font/ResFontBase/~ResFontBase.html"><CODE>~ResFontBase</CODE></a>
139            </th>
140            <td>Destructor.</td>
141          </tr>
142          <tr>
143            <th class="category" colspan="3">Getting Font Data</th>
144          </tr>
145          <tr>
146            <td width="100"> <span class="virtual_style" title="virtual">V</span>
147            </td>
148            <th>
149              <a href="../../../nn/font/ResFontBase/GetWidth.html"><CODE>GetWidth</CODE></a>
150            </th>
151            <td>Gets the width of the font.</td>
152          </tr>
153          <tr>
154            <td width="100"> <span class="virtual_style" title="virtual">V</span>
155            </td>
156            <th>
157              <a href="../../../nn/font/ResFontBase/GetHeight.html"><CODE>GetHeight</CODE></a>
158            </th>
159            <td>Gets the font height.</td>
160          </tr>
161          <tr>
162            <td width="100"> <span class="virtual_style" title="virtual">V</span>
163            </td>
164            <th>
165              <a href="../../../nn/font/ResFontBase/GetAscent.html"><CODE>GetAscent</CODE></a>
166            </th>
167            <td>Gets the ascent of the font.</td>
168          </tr>
169          <tr>
170            <td width="100"> <span class="virtual_style" title="virtual">V</span>
171            </td>
172            <th>
173              <a href="../../../nn/font/ResFontBase/GetDescent.html"><CODE>GetDescent</CODE></a>
174            </th>
175            <td>Gets the font descent.</td>
176          </tr>
177          <tr>
178            <td width="100"> <span class="virtual_style" title="virtual">V</span>
179            </td>
180            <th>
181              <a href="../../../nn/font/ResFontBase/GetMaxCharWidth.html"><CODE>GetMaxCharWidth</CODE></a>
182            </th>
183            <td>Gets the maximum character width included in the font.</td>
184          </tr>
185          <tr>
186            <td width="100"> <span class="virtual_style" title="virtual">V</span>
187            </td>
188            <th>
189              <a href="../../../nn/font/ResFontBase/GetType.html"><CODE>GetType</CODE></a>
190            </th>
191            <td>Gets the font type.</td>
192          </tr>
193          <tr>
194            <td width="100"> <span class="virtual_style" title="virtual">V</span>
195            </td>
196            <th>
197              <a href="../../../nn/font/ResFontBase/GetTextureFormat.html"><CODE>GetTextureFormat</CODE></a>
198            </th>
199            <td>Gets the texture format of the font.</td>
200          </tr>
201          <tr>
202            <td width="100"> <span class="virtual_style" title="virtual">V</span>
203            </td>
204            <th>
205              <a href="../../../nn/font/ResFontBase/GetLineFeed.html"><CODE>GetLineFeed</CODE></a>
206            </th>
207            <td>Gets the font's linefeed width.</td>
208          </tr>
209          <tr>
210            <td width="100"> <span class="virtual_style" title="virtual">V</span>
211            </td>
212            <th>
213              <a href="../../../nn/font/ResFontBase/GetDefaultCharWidths.html"><CODE>GetDefaultCharWidths</CODE></a>
214            </th>
215            <td>Gets the font's default character widths.</td>
216          </tr>
217          <tr>
218            <th class="category" colspan="3">Setting Font Data</th>
219          </tr>
220          <tr>
221            <td width="100"> <span class="virtual_style" title="virtual">V</span>
222            </td>
223            <th>
224              <a href="../../../nn/font/ResFontBase/SetLineFeed.html"><CODE>SetLineFeed</CODE></a>
225            </th>
226            <td>Sets the font's linefeed width.</td>
227          </tr>
228          <tr>
229            <td width="100"> <span class="virtual_style" title="virtual">V</span>
230            </td>
231            <th>
232              <a href="../../../nn/font/ResFontBase/SetDefaultCharWidths.html"><CODE>SetDefaultCharWidths</CODE></a>
233            </th>
234            <td>Sets the font's default character widths.</td>
235          </tr>
236          <tr>
237            <td width="100"> <span class="virtual_style" title="virtual">V</span>
238            </td>
239            <th>
240              <a href="../../../nn/font/ResFontBase/SetAlternateChar.html"><CODE>SetAlternateChar</CODE></a>
241            </th>
242            <td>Changes the alternate character for the font.</td>
243          </tr>
244          <tr>
245            <th class="category" colspan="3">Getting Character Data</th>
246          </tr>
247          <tr>
248            <td width="100"> <span class="virtual_style" title="virtual">V</span>
249            </td>
250            <th>
251              <a href="../../../nn/font/ResFontBase/GetCharWidth.html"><CODE>GetCharWidth</CODE></a>
252            </th>
253            <td>Gets the character width of a character.</td>
254          </tr>
255          <tr>
256            <td width="100"> <span class="virtual_style" title="virtual">V</span>
257            </td>
258            <th>
259              <a href="../../../nn/font/ResFontBase/GetCharWidths.html"><CODE>GetCharWidths</CODE></a>
260            </th>
261            <td>Gets character widths for a character.</td>
262          </tr>
263          <tr>
264            <td width="100"> <span class="virtual_style" title="virtual">V</span>
265            </td>
266            <th>
267              <a href="../../../nn/font/ResFontBase/GetGlyph.html"><CODE>GetGlyph</CODE></a>
268            </th>
269            <td>Gets glyph data.</td>
270          </tr>
271          <tr>
272            <td width="100"> <span class="virtual_style" title="virtual">V</span>
273            </td>
274            <th>
275              <a href="../../../nn/font/ResFontBase/HasGlyph.html"><CODE>HasGlyph</CODE></a>
276            </th>
277            <td>Determines whether glyph data exists.</td>
278          </tr>
279          <tr>
280            <th class="category" colspan="3">Text Encoding</th>
281          </tr>
282          <tr>
283            <td width="100"> <span class="virtual_style" title="virtual">V</span>
284            </td>
285            <th>
286              <a href="../../../nn/font/ResFontBase/GetCharacterCode.html"><CODE>GetCharacterCode</CODE></a>
287            </th>
288            <td>Gets the character encoding supported by the font.</td>
289          </tr>
290          <tr>
291            <th class="category" colspan="3">Texture Interpolation</th>
292          </tr>
293          <tr>
294            <td width="100"> <span class="virtual_style" title="virtual">V</span>
295            </td>
296            <th>
297              <a href="../../../nn/font/ResFontBase/EnableLinearFilter.html"><CODE>EnableLinearFilter</CODE></a>
298            </th>
299            <td>Specifies whether or not linear interpolation of textures is performed while characters are drawn.</td>
300          </tr>
301          <tr>
302            <td width="100"> <span class="virtual_style" title="virtual">V</span>
303            </td>
304            <th>
305              <a href="../../../nn/font/ResFontBase/IsLinearFilterEnableAtSmall.html"><CODE>IsLinearFilterEnableAtSmall</CODE></a>
306            </th>
307            <td>Gets whether or not linear interpolation is used when small characters are displayed.</td>
308          </tr>
309          <tr>
310            <td width="100"> <span class="virtual_style" title="virtual">V</span>
311            </td>
312            <th>
313              <a href="../../../nn/font/ResFontBase/IsLinearFilterEnableAtLarge.html"><CODE>IsLinearFilterEnableAtLarge</CODE></a>
314            </th>
315            <td>Gets whether or not linear interpolation is used when large characters are displayed.</td>
316          </tr>
317          <tr>
318            <td width="100"> <span class="virtual_style" title="virtual">V</span>
319            </td>
320            <th>
321              <a href="../../../nn/font/ResFontBase/GetTextureWrapFilterValue.html"><CODE>GetTextureWrapFilterValue</CODE></a>
322            </th>
323            <td>Gets texture wrapping and filter settings.</td>
324          </tr>
325          <tr>
326            <th class="category" colspan="3">Other</th>
327          </tr>
328          <tr>
329            <td width="100">
330              <span class="protected_style" title="protected">protected</span>  </td>
331            <th>
332              <a href="../../../nn/font/ResFontBase/IsManaging.html"><CODE>IsManaging</CODE></a>
333            </th>
334            <td>Determines whether the pointer points to an associated font resource.</td>
335          </tr>
336          <tr>
337            <td width="100">
338              <span class="protected_style" title="protected">protected</span>  </td>
339            <th>
340              <a href="../../../nn/font/ResFontBase/SetResourceBuffer.html"><CODE>SetResourceBuffer</CODE></a>
341            </th>
342            <td>Sets pointers to an allocated buffer and the FINF block inside it.</td>
343          </tr>
344          <tr>
345            <td width="100">
346              <span class="protected_style" title="protected">protected</span>  </td>
347            <th>
348              <a href="../../../nn/font/ResFontBase/RemoveResourceBuffer.html"><CODE>RemoveResourceBuffer</CODE></a>
349            </th>
350            <td>Resets the parameters that were set by the <CODE>SetResourceBuffer</CODE> function and then returns a pointer to the allocated buffer.</td>
351          </tr>
352          <tr>
353            <td width="100">
354              <span class="protected_style" title="protected">protected</span>  </td>
355            <th>
356              <a href="../../../nn/font/ResFontBase/GetGlyphIndex.html"><CODE>GetGlyphIndex</CODE></a>
357            </th>
358            <td>Gets a character's glyph index.</td>
359          </tr>
360          <tr>
361            <td width="100">
362              <span class="protected_style" title="protected">protected</span>  </td>
363            <th>
364              <a href="../../../nn/font/ResFontBase/FindGlyphIndex.html"><CODE>FindGlyphIndex</CODE></a>
365            </th>
366            <td>Gets a character's glyph index.</td>
367          </tr>
368          <tr>
369            <td width="100">
370              <span class="protected_style" title="protected">protected</span>  </td>
371            <th>
372              <a href="../../../nn/font/ResFontBase/GetCharWidthsFromIndex.html"><CODE>GetCharWidthsFromIndex</CODE></a>
373            </th>
374            <td>Gets the character widths corresponding to a glyph index.</td>
375          </tr>
376          <tr>
377            <td width="100">
378              <span class="protected_style" title="protected">protected</span>  </td>
379            <th>
380              <a href="../../../nn/font/ResFontBase/GetGlyphFromIndex.html"><CODE>GetGlyphFromIndex</CODE></a>
381            </th>
382            <td>Gets the glyph data that corresponds to a glyph index.</td>
383          </tr>
384          <tr>
385            <td width="100">
386              <span class="protected_style" title="protected">protected</span> <span class="static_style" title="static">S</span> </td>
387            <th>
388              <a href="../../../nn/font/ResFontBase/SetGlyphMember.html"><CODE>SetGlyphMember</CODE></a>
389            </th>
390            <td>Sets <CODE>Glyph</CODE> member variables based on a <CODE>FontTextureGlyph</CODE> structure.</td>
391          </tr> </table>
392      </div>
393    </a>
394    <h2>Class Hierarchy</h2>
395    <div class="section">
396      <p class="hierarchy"><a href="../../../nn/font/Font/Overview.html">nn::font::Font</a><br />  <b>nn::font::ResFontBase</b>
397      </p>
398    </div>
399  <hr><p>CONFIDENTIAL</p></body>
400</html>