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