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