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::PackedFont</title>
51  </head>
52  <body>
53    <h1><CODE>nn::font::PackedFont</CODE> Class</h1>
54    <h2>Syntax</h2>
55    <div class="section">
56      <pre class="definition">class PackedFont : public <a href="../../../nn/font/ArchiveFontBase/Overview.html">nn::font::ArchiveFontBase</a></pre>
57    </div>
58    <h2>Description</h2>
59    <div class="section">
60      <p>A class that stores compressed font resources in memory and expands them as necessary when glyphs are requested.</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">Constructors/Destructors</th>
68          </tr>
69          <tr>
70            <td width="100">  </td>
71            <th>
72              <a href="../../../nn/font/PackedFont/PackedFont.html"><CODE>PackedFont</CODE></a>
73            </th>
74            <td>Constructor.</td>
75          </tr>
76          <tr>
77            <td width="100"> <span class="virtual_style" title="virtual">V</span>
78            </td>
79            <th>
80              <a href="../../../nn/font/PackedFont/~PackedFont.html"><CODE>~PackedFont</CODE></a>
81            </th>
82            <td>Destructor.</td>
83          </tr>
84          <tr>
85            <th class="category" colspan="3">Binding/Releasing Resources</th>
86          </tr>
87          <tr>
88            <td width="100">  </td>
89            <th>
90              <a href="../../../nn/font/PackedFont/Construct.html"><CODE>Construct</CODE></a>
91            </th>
92            <td>Extracts the glyph group from the archive font and constructs a font.</td>
93          </tr>
94          <tr>
95            <td width="100">  </td>
96            <th>
97              <a href="../../../nn/font/PackedFont/InitStreamingConstruct.html"><CODE>InitStreamingConstruct</CODE></a>
98            </th>
99            <td>Performs initialization to construct a font by extracting glyph groups successively loaded from the archive font.</td>
100          </tr>
101          <tr>
102            <td width="100">  </td>
103            <th>
104              <a href="../../../nn/font/PackedFont/StreamingConstruct.html"><CODE>StreamingConstruct</CODE></a>
105            </th>
106            <td>Constructs a font from successive loads from the archive font.</td>
107          </tr>
108          <tr>
109            <td width="100">  </td>
110            <th>
111              <a href="../../../nn/font/PackedFont/Destroy.html"><CODE>Destroy</CODE></a>
112            </th>
113            <td>Discards the font.</td>
114          </tr>
115          <tr>
116            <td width="100">
117              <span class="static_style" title="static">S</span> </td>
118            <th>
119              <a href="../../../nn/font/PackedFont/GetRequireBufferSize.html"><CODE>GetRequireBufferSize</CODE></a>
120            </th>
121            <td>Calculates the buffer size required to construct the font.</td>
122          </tr>
123          <tr>
124            <th class="category" colspan="3">Cache Management</th>
125          </tr>
126          <tr>
127            <td width="100">  </td>
128            <th>
129              <a href="../../../nn/font/PackedFont/GetNumCache.html"><CODE>GetNumCache</CODE></a>
130            </th>
131            <td>Gets the number of caches.</td>
132          </tr>
133          <tr>
134            <td width="100">  </td>
135            <th>
136              <a href="../../../nn/font/PackedFont/PreloadSheet.html"><CODE>PreloadSheet</CODE></a>
137            </th>
138            <td>Loads a sheet into cache in advance.</td>
139          </tr>
140          <tr>
141            <td width="100">  </td>
142            <th>
143              <a href="../../../nn/font/PackedFont/LockSheet.html"><CODE>LockSheet</CODE></a>
144            </th>
145            <td>Prevents sheets in cache from being discarded.</td>
146          </tr>
147          <tr>
148            <td width="100">  </td>
149            <th>
150              <a href="../../../nn/font/PackedFont/UnlockSheet.html"><CODE>UnlockSheet</CODE></a>
151            </th>
152            <td>Unlocks a sheet.</td>
153          </tr>
154          <tr>
155            <td width="100">  </td>
156            <th>
157              <a href="../../../nn/font/PackedFont/UnlockSheetAll.html"><CODE>UnlockSheetAll</CODE></a>
158            </th>
159            <td>Unlocks all sheets.</td>
160          </tr>
161          <tr>
162            <th class="category" colspan="3">Getting Character Data</th>
163          </tr>
164          <tr>
165            <td width="100"> <span class="virtual_style" title="virtual">V</span>
166            </td>
167            <th>
168              <a href="../../../nn/font/PackedFont/GetGlyph.html"><CODE>GetGlyph</CODE></a>
169            </th>
170            <td>Gets glyph data.</td>
171          </tr>
172          <tr>
173            <th class="category" colspan="3">Getting Sheet Information</th>
174          </tr>
175          <tr>
176            <td width="100">
177              <span class="protected_style" title="protected">protected</span> <span class="virtual_style" title="virtual">V</span>
178            </td>
179            <th>
180              <a href="../../../nn/font/PackedFont/GetActiveSheetNum.html"><CODE>GetActiveSheetNum</CODE></a>
181            </th>
182            <td>Gets the number of active sheets.</td>
183          </tr> </table>
184      </div>
185    </a>
186    <h2>Class Hierarchy</h2>
187    <div class="section">
188      <p class="hierarchy"><a href="../../../nn/font/Font/Overview.html">nn::font::Font</a><br />  <a href="../../../nn/font/ResFontBase/Overview.html">nn::font::ResFontBase</a><br />    <a href="../../../nn/font/ArchiveFontBase/Overview.html">nn::font::ArchiveFontBase</a><br />      <b>nn::font::PackedFont</b>
189      </p>
190    </div>
191  <hr><p>CONFIDENTIAL</p></body>
192</html>