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::ResFontBase</title>
49  </head>
50  <body>
51    <h1><CODE>nw::font::ResFontBase</CODE> Class</h1>
52    <h2>Syntax</h2>
53    <div class="section">
54      <pre class="definition">class ResFontBase : public <a href="../../../nw/font/Font/Overview.html">nw::font::Font</a></pre>
55    </div>
56    <h2>Description</h2>
57    <div class="section">
58      <p>The base class for the font classes handling resources.</p>
59    </div>
60    <a name="enum" id="enum">
61      <h2>Enumerated Types</h2>
62      <div class="section">
63        <table class="members">
64          <tr>
65            <td width="100"> </td>
66            <th>
67              <a href="../../../nw/font/Font/Type.html">Type</a>
68            </th>
69            <td>
70        (Derived from <CODE><a href="../../../nw/font/Font/Overview.html">Font</a></CODE>)</td>
71          </tr> </table>
72      </div>
73    </a> <a name="typedef" id="typedef">
74      <h2><CODE>typedef</CODE> Definitions</h2>
75      <div class="section">
76        <table class="members">
77          <tr>
78            <td width="100" />
79            <th>
80              <a href="../../../nw/font/ResFontBase/GlyphIndex.html">GlyphIndex</a>
81            </th>
82            <td>
83        </td>
84          </tr> </table>
85      </div>
86    </a> <a name="constant" id="constant">
87      <h2>Member Constants</h2>
88      <div class="section">
89        <table class="members">
90          <tr>
91            <th class="category" colspan="3">Other</th>
92          </tr>
93          <tr>
94            <td width="100">
95              <span class="protected_style" title="protected">protected</span> <span class="static_style" title="static">S</span>
96            </td>
97            <th>
98              <span class="argument"><a href="../../../nw/font/ResFontBase/GLYPH_INDEX_NOT_FOUND.html">GLYPH_INDEX_NOT_FOUND</a></span>
99            </th>
100            <td>
101        </td>
102          </tr>
103          <tr>
104            <td width="100">
105              <span class="static_style" title="static">S</span>
106            </td>
107            <th>
108              <span class="argument"><a href="../../../nw/font/Font/INVALID_CHARACTER_CODE.html">INVALID_CHARACTER_CODE</a></span>
109            </th>
110            <td>
111        (Derived from <CODE><a href="../../../nw/font/Font/Overview.html">Font</a></CODE>)</td>
112          </tr> </table>
113      </div>
114    </a> <a name="function" id="function">
115      <h2>Member Functions</h2>
116      <div class="section">
117        <table class="members">
118          <tr>
119            <th class="category" colspan="3">Getting Sheet Information</th>
120          </tr>
121          <tr>
122            <td width="100">
123              <span class="protected_style" title="protected">protected</span> <span class="virtual_style" title="virtual">V</span>
124            </td>
125            <th>
126              <a href="../../../nw/font/ResFontBase/GetActiveSheetNum.html">GetActiveSheetNum</a>
127            </th>
128            <td>Gets the number of active sheets.</td>
129          </tr>
130          <tr>
131            <td width="100">
132              <span class="protected_style" title="protected">protected</span>  </td>
133            <th>
134              <a href="../../../nw/font/ResFontBase/GetTextureObjectsBufferPtr.html">GetTextureObjectsBufferPtr</a>
135            </th>
136            <td>Gets pointer to texture object buffer.</td>
137          </tr>
138          <tr>
139            <td width="100">  </td>
140            <th>
141              <a href="../../../nw/font/ResFontBase/SetTextureObjectsBufferPtr.html">SetTextureObjectsBufferPtr</a>
142            </th>
143            <td>Sets pointer to the texture object buffer.</td>
144          </tr>
145          <tr>
146            <td width="100">  </td>
147            <th>
148              <a href="../../../nw/font/ResFontBase/GenTextureNames.html">GenTextureNames</a>
149            </th>
150            <td>Generates the texture name.</td>
151          </tr>
152          <tr>
153            <td width="100">  </td>
154            <th>
155              <a href="../../../nw/font/ResFontBase/DeleteTextureNames.html">DeleteTextureNames</a>
156            </th>
157            <td>
158        </td>
159          </tr>
160          <tr>
161            <td width="100"> <span class="virtual_style" title="virtual">V</span>
162            </td>
163            <th>
164              <a href="../../../nw/font/ResFontBase/GetBaselinePos.html">GetBaselinePos</a>
165            </th>
166            <td>Gets the baseline position.</td>
167          </tr>
168          <tr>
169            <td width="100"> <span class="virtual_style" title="virtual">V</span>
170            </td>
171            <th>
172              <a href="../../../nw/font/ResFontBase/GetCellHeight.html">GetCellHeight</a>
173            </th>
174            <td>Gets the cell height.</td>
175          </tr>
176          <tr>
177            <td width="100"> <span class="virtual_style" title="virtual">V</span>
178            </td>
179            <th>
180              <a href="../../../nw/font/ResFontBase/GetCellWidth.html">GetCellWidth</a>
181            </th>
182            <td>Gets the cell width.</td>
183          </tr>
184          <tr>
185            <th class="category" colspan="3">Constructors/Destructors</th>
186          </tr>
187          <tr>
188            <td width="100">  </td>
189            <th>
190              <a href="../../../nw/font/ResFontBase/ResFontBase.html">ResFontBase</a>
191            </th>
192            <td>Constructor.</td>
193          </tr>
194          <tr>
195            <td width="100"> <span class="virtual_style" title="virtual">V</span>
196            </td>
197            <th>
198              <a href="../../../nw/font/ResFontBase/~ResFontBase.html">~ResFontBase</a>
199            </th>
200            <td>Destructor.</td>
201          </tr>
202          <tr>
203            <th class="category" colspan="3">Getting Font Data</th>
204          </tr>
205          <tr>
206            <td width="100"> <span class="virtual_style" title="virtual">V</span>
207            </td>
208            <th>
209              <a href="../../../nw/font/ResFontBase/GetWidth.html">GetWidth</a>
210            </th>
211            <td>Gets the width of the font.</td>
212          </tr>
213          <tr>
214            <td width="100"> <span class="virtual_style" title="virtual">V</span>
215            </td>
216            <th>
217              <a href="../../../nw/font/ResFontBase/GetHeight.html">GetHeight</a>
218            </th>
219            <td>Gets the font height.</td>
220          </tr>
221          <tr>
222            <td width="100"> <span class="virtual_style" title="virtual">V</span>
223            </td>
224            <th>
225              <a href="../../../nw/font/ResFontBase/GetAscent.html">GetAscent</a>
226            </th>
227            <td>Gets the ascent of the font.</td>
228          </tr>
229          <tr>
230            <td width="100"> <span class="virtual_style" title="virtual">V</span>
231            </td>
232            <th>
233              <a href="../../../nw/font/ResFontBase/GetDescent.html">GetDescent</a>
234            </th>
235            <td>Gets the font descent.</td>
236          </tr>
237          <tr>
238            <td width="100"> <span class="virtual_style" title="virtual">V</span>
239            </td>
240            <th>
241              <a href="../../../nw/font/ResFontBase/GetMaxCharWidth.html">GetMaxCharWidth</a>
242            </th>
243            <td>Gets the maximum character width included in the font.</td>
244          </tr>
245          <tr>
246            <td width="100"> <span class="virtual_style" title="virtual">V</span>
247            </td>
248            <th>
249              <a href="../../../nw/font/ResFontBase/GetType.html"><CODE>GetType</CODE></a>
250            </th>
251            <td>Gets the font type.</td>
252          </tr>
253          <tr>
254            <td width="100"> <span class="virtual_style" title="virtual">V</span>
255            </td>
256            <th>
257              <a href="../../../nw/font/ResFontBase/GetTextureFormat.html">GetTextureFormat</a>
258            </th>
259            <td>Gets the texture format of the font.</td>
260          </tr>
261          <tr>
262            <td width="100"> <span class="virtual_style" title="virtual">V</span>
263            </td>
264            <th>
265              <a href="../../../nw/font/ResFontBase/GetLineFeed.html">GetLineFeed</a>
266            </th>
267            <td>Gets the size of the font's linefeed.</td>
268          </tr>
269          <tr>
270            <td width="100"> <span class="virtual_style" title="virtual">V</span>
271            </td>
272            <th>
273              <a href="../../../nw/font/ResFontBase/GetDefaultCharWidths.html">GetDefaultCharWidths</a>
274            </th>
275            <td>Gets the font's default character width data.</td>
276          </tr>
277          <tr>
278            <th class="category" colspan="3">Setting Font Data</th>
279          </tr>
280          <tr>
281            <td width="100"> <span class="virtual_style" title="virtual">V</span>
282            </td>
283            <th>
284              <a href="../../../nw/font/ResFontBase/SetLineFeed.html">SetLineFeed</a>
285            </th>
286            <td>Sets the linefeed width of the font.</td>
287          </tr>
288          <tr>
289            <td width="100"> <span class="virtual_style" title="virtual">V</span>
290            </td>
291            <th>
292              <a href="../../../nw/font/ResFontBase/SetDefaultCharWidths.html">SetDefaultCharWidths</a>
293            </th>
294            <td>Sets the font's default character width data.</td>
295          </tr>
296          <tr>
297            <td width="100"> <span class="virtual_style" title="virtual">V</span>
298            </td>
299            <th>
300              <a href="../../../nw/font/ResFontBase/SetAlternateChar.html">SetAlternateChar</a>
301            </th>
302            <td>Changes the alternate character for the font.</td>
303          </tr>
304          <tr>
305            <th class="category" colspan="3">Getting Character Data</th>
306          </tr>
307          <tr>
308            <td width="100"> <span class="virtual_style" title="virtual">V</span>
309            </td>
310            <th>
311              <a href="../../../nw/font/ResFontBase/GetCharWidth.html">GetCharWidth</a>
312            </th>
313            <td>Gets the character width of a character.</td>
314          </tr>
315          <tr>
316            <td width="100"> <span class="virtual_style" title="virtual">V</span>
317            </td>
318            <th>
319              <a href="../../../nw/font/ResFontBase/GetCharWidths.html">GetCharWidths</a>
320            </th>
321            <td>Gets character width data for characters.</td>
322          </tr>
323          <tr>
324            <td width="100"> <span class="virtual_style" title="virtual">V</span>
325            </td>
326            <th>
327              <a href="../../../nw/font/ResFontBase/GetGlyph.html">GetGlyph</a>
328            </th>
329            <td>Gets glyph data.</td>
330          </tr>
331          <tr>
332            <td width="100"> <span class="virtual_style" title="virtual">V</span>
333            </td>
334            <th>
335              <a href="../../../nw/font/ResFontBase/HasGlyph.html">HasGlyph</a>
336            </th>
337            <td>Gets the existence (or nonexistence) of glyph data.</td>
338          </tr>
339          <tr>
340            <th class="category" colspan="3">Text Encoding</th>
341          </tr>
342          <tr>
343            <td width="100"> <span class="virtual_style" title="virtual">V</span>
344            </td>
345            <th>
346              <a href="../../../nw/font/ResFontBase/GetCharacterCode.html">GetCharacterCode</a>
347            </th>
348            <td>Gets the character code supported by the font.</td>
349          </tr>
350          <tr>
351            <td width="100">  </td>
352            <th>
353              <a href="../../../nw/font/Font/GetCharStrmReader.html">GetCharStrmReader</a>
354            </th>
355            <td>Gets <CODE><a href="../../../nw/font/CharStrmReader/Overview.html">CharStrmReader</a></CODE>, used to interpret text in the character code format the font supports.(Derived from <CODE><a href="../../../nw/font/Font/Overview.html">Font</a></CODE>)</td>
356          </tr>
357          <tr>
358            <th class="category" colspan="3">Texture Interpolation</th>
359          </tr>
360          <tr>
361            <td width="100"> <span class="virtual_style" title="virtual">V</span>
362            </td>
363            <th>
364              <a href="../../../nw/font/ResFontBase/EnableLinearFilter.html">EnableLinearFilter</a>
365            </th>
366            <td>Specifies whether or not linear interpolation of textures is performed while characters are drawn.</td>
367          </tr>
368          <tr>
369            <td width="100"> <span class="virtual_style" title="virtual">V</span>
370            </td>
371            <th>
372              <a href="../../../nw/font/ResFontBase/IsLinearFilterEnableAtSmall.html">IsLinearFilterEnableAtSmall</a>
373            </th>
374            <td>Gets whether or not linear interpolation is to be carried out when small characters are displayed.</td>
375          </tr>
376          <tr>
377            <td width="100"> <span class="virtual_style" title="virtual">V</span>
378            </td>
379            <th>
380              <a href="../../../nw/font/ResFontBase/IsLinearFilterEnableAtLarge.html">IsLinearFilterEnableAtLarge</a>
381            </th>
382            <td>Gets whether or not linear interpolation is to be carried out when large characters are displayed.</td>
383          </tr>
384          <tr>
385            <td width="100"> <span class="virtual_style" title="virtual">V</span>
386            </td>
387            <th>
388              <a href="../../../nw/font/ResFontBase/GetTextureWrapFilterValue.html">GetTextureWrapFilterValue</a>
389            </th>
390            <td>Gets the values for the texture's wrap and filter settings.</td>
391          </tr>
392          <tr>
393            <th class="category" colspan="3">Other</th>
394          </tr>
395          <tr>
396            <td width="100">
397              <span class="protected_style" title="protected">protected</span>  </td>
398            <th>
399              <a href="../../../nw/font/ResFontBase/GetFINF.html">GetFINF</a>
400            </th>
401            <td>
402        </td>
403          </tr>
404          <tr>
405            <td width="100">
406              <span class="protected_style" title="protected">protected</span>  </td>
407            <th>
408              <a href="../../../nw/font/ResFontBase/IsManaging.html">IsManaging</a>
409            </th>
410            <td>Determines whether the resource font is associated.</td>
411          </tr>
412          <tr>
413            <td width="100">
414              <span class="protected_style" title="protected">protected</span>  </td>
415            <th>
416              <a href="../../../nw/font/ResFontBase/SetResourceBuffer.html">SetResourceBuffer</a>
417            </th>
418            <td>Sets pointers to the allocated buffer and the FINF block positioned there.</td>
419          </tr>
420          <tr>
421            <td width="100">
422              <span class="protected_style" title="protected">protected</span>  </td>
423            <th>
424              <a href="../../../nw/font/ResFontBase/RemoveResourceBuffer.html">RemoveResourceBuffer</a>
425            </th>
426            <td>Resets the parameter configured by <CODE>SetResourceBuffer</CODE> and returns the pointer to the allocated buffer.</td>
427          </tr>
428          <tr>
429            <td width="100">
430              <span class="protected_style" title="protected">protected</span>  </td>
431            <th>
432              <a href="../../../nw/font/ResFontBase/GetGlyphIndex.html">GetGlyphIndex</a>
433            </th>
434            <td>Gets the character glyph index.</td>
435          </tr>
436          <tr>
437            <td width="100">
438              <span class="protected_style" title="protected">protected</span>  </td>
439            <th>
440              <a href="../../../nw/font/ResFontBase/FindGlyphIndex.html">FindGlyphIndex</a>
441            </th>
442            <td>Gets the character glyph index.</td>
443          </tr>
444          <tr>
445            <td width="100">
446              <span class="protected_style" title="protected">protected</span>  </td>
447            <th>
448              <a href="../../../nw/font/ResFontBase/GetCharWidthsFromIndex.html">GetCharWidthsFromIndex</a>
449            </th>
450            <td>Gets the character width of the character corresponding to the glyph index.</td>
451          </tr>
452          <tr>
453            <td width="100">
454              <span class="protected_style" title="protected">protected</span>  </td>
455            <th>
456              <a href="../../../nw/font/ResFontBase/GetGlyphFromIndex.html">GetGlyphFromIndex</a>
457            </th>
458            <td>Gets the  glyph data corresponding to the glyph index.</td>
459          </tr>
460          <tr>
461            <td width="100">
462              <span class="protected_style" title="protected">protected</span> <span class="static_style" title="static">S</span> </td>
463            <th>
464              <a href="../../../nw/font/ResFontBase/SetGlyphMember.html">SetGlyphMember</a>
465            </th>
466            <td>Sets <CODE>Glyph</CODE>members based on the content of the <CODE>FontTextureGlyph</CODE> structure</td>
467          </tr> </table>
468      </div>
469    </a>
470    <h2>Class Hierarchy</h2>
471    <div class="section">
472      <p class="hierarchy"><a href="../../../nw/font/Font/Overview.html">nw::font::Font</a><br />  <b>nw::font::ResFontBase</b>
473      </p>
474    </div>
475  <hr><p>CONFIDENTIAL</p></body>
476</html>
477