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::Font</title> 49 </head> 50 <body> 51<h1><CODE><a href="../../../nn/Overview.html">nn</a>::<a href="../../../nn/font/Overview.html">font</a>::Font</CODE> Class</h1> 52<h2>Syntax</h2> 53 <div class="section"> 54<pre class="definition">class Font</pre> 55 </div> 56<h2>Description</h2> 57 <div class="section"> 58<p>This is the base class for classes used to manage fonts.</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/Font/Font.html"><CODE>Font</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/Font/~Font.html"><CODE>~Font</CODE></a> 78 </th> 79<td>Destructor.</td> 80 </tr> 81 <tr> 82<th class="category" colspan="3">Getting Font Data</th> 83 </tr> 84 <tr> 85<td width="100"> <span class="virtual_style" title="pure-virtual">PV</span> 86 </td> 87 <th> 88<a href="../../../nn/font/Font/GetWidth.html"><CODE>GetWidth</CODE></a> 89 </th> 90<td>Gets the width of the font.</td> 91 </tr> 92 <tr> 93<td width="100"> <span class="virtual_style" title="pure-virtual">PV</span> 94 </td> 95 <th> 96<a href="../../../nn/font/Font/GetHeight.html"><CODE>GetHeight</CODE></a> 97 </th> 98<td>Gets the font height.</td> 99 </tr> 100 <tr> 101<td width="100"> <span class="virtual_style" title="pure-virtual">PV</span> 102 </td> 103 <th> 104<a href="../../../nn/font/Font/GetAscent.html"><CODE>GetAscent</CODE></a> 105 </th> 106<td>Gets the ascent of the font.</td> 107 </tr> 108 <tr> 109<td width="100"> <span class="virtual_style" title="pure-virtual">PV</span> 110 </td> 111 <th> 112<a href="../../../nn/font/Font/GetDescent.html"><CODE>GetDescent</CODE></a> 113 </th> 114<td>Gets the font descent.</td> 115 </tr> 116 <tr> 117<td width="100"> <span class="virtual_style" title="pure-virtual">PV</span> 118 </td> 119 <th> 120<a href="../../../nn/font/Font/GetMaxCharWidth.html"><CODE>GetMaxCharWidth</CODE></a> 121 </th> 122<td>Gets the maximum character width included in the font.</td> 123 </tr> 124 <tr> 125<td width="100"> <span class="virtual_style" title="pure-virtual">PV</span> 126 </td> 127 <th> 128<a href="../../../nn/font/Font/GetType.html"><CODE>GetType</CODE></a> 129 </th> 130<td>Gets the font type.</td> 131 </tr> 132 <tr> 133<td width="100"> <span class="virtual_style" title="pure-virtual">PV</span> 134 </td> 135 <th> 136<a href="../../../nn/font/Font/GetTextureFormat.html"><CODE>GetTextureFormat</CODE></a> 137 </th> 138<td>Gets the texture format of the font.</td> 139 </tr> 140 <tr> 141<td width="100"> <span class="virtual_style" title="pure-virtual">PV</span> 142 </td> 143 <th> 144<a href="../../../nn/font/Font/GetLineFeed.html"><CODE>GetLineFeed</CODE></a> 145 </th> 146<td>Gets the font's linefeed width.</td> 147 </tr> 148 <tr> 149<td width="100"> <span class="virtual_style" title="pure-virtual">PV</span> 150 </td> 151 <th> 152<a href="../../../nn/font/Font/GetDefaultCharWidths.html"><CODE>GetDefaultCharWidths</CODE></a> 153 </th> 154<td>Gets the font's default character widths.</td> 155 </tr> 156 <tr> 157<th class="category" colspan="3">Setting Font Data</th> 158 </tr> 159 <tr> 160<td width="100"> <span class="virtual_style" title="pure-virtual">PV</span> 161 </td> 162 <th> 163<a href="../../../nn/font/Font/SetLineFeed.html"><CODE>SetLineFeed</CODE></a> 164 </th> 165<td>Sets the font's linefeed width.</td> 166 </tr> 167 <tr> 168<td width="100"> <span class="virtual_style" title="pure-virtual">PV</span> 169 </td> 170 <th> 171<a href="../../../nn/font/Font/SetDefaultCharWidths.html"><CODE>SetDefaultCharWidths</CODE></a> 172 </th> 173<td>Sets the font's default character widths.</td> 174 </tr> 175 <tr> 176<td width="100"> <span class="virtual_style" title="pure-virtual">PV</span> 177 </td> 178 <th> 179<a href="../../../nn/font/Font/SetAlternateChar.html"><CODE>SetAlternateChar</CODE></a> 180 </th> 181<td>Changes the alternate character for the font.</td> 182 </tr> 183 <tr> 184<th class="category" colspan="3">Getting Character Data</th> 185 </tr> 186 <tr> 187<td width="100"> <span class="virtual_style" title="pure-virtual">PV</span> 188 </td> 189 <th> 190<a href="../../../nn/font/Font/GetCharWidth.html"><CODE>GetCharWidth</CODE></a> 191 </th> 192<td>Gets the character width of a character.</td> 193 </tr> 194 <tr> 195<td width="100"> <span class="virtual_style" title="pure-virtual">PV</span> 196 </td> 197 <th> 198<a href="../../../nn/font/Font/GetCharWidths.html"><CODE>GetCharWidths</CODE></a> 199 </th> 200<td>Gets character widths for a character.</td> 201 </tr> 202 <tr> 203<td width="100"> <span class="virtual_style" title="pure-virtual">PV</span> 204 </td> 205 <th> 206<a href="../../../nn/font/Font/GetGlyph.html"><CODE>GetGlyph</CODE></a> 207 </th> 208<td>Gets glyph data.</td> 209 </tr> 210 <tr> 211<td width="100"> <span class="virtual_style" title="pure-virtual">PV</span> 212 </td> 213 <th> 214<a href="../../../nn/font/Font/HasGlyph.html"><CODE>HasGlyph</CODE></a> 215 </th> 216<td>Determines whether glyph data exists.</td> 217 </tr> 218 <tr> 219<th class="category" colspan="3">Text Encoding</th> 220 </tr> 221 <tr> 222<td width="100"> <span class="virtual_style" title="pure-virtual">PV</span> 223 </td> 224 <th> 225<a href="../../../nn/font/Font/GetCharacterCode.html"><CODE>GetCharacterCode</CODE></a> 226 </th> 227<td>Gets the character encoding supported by the font.</td> 228 </tr> 229 <tr> 230 <td width="100"> </td> 231 <th> 232<a href="../../../nn/font/Font/GetCharStrmReader.html"><CODE>GetCharStrmReader</CODE></a> 233 </th> 234<td>Gets a <a href="../../../nn/font/CharStrmReader/Overview.html"><CODE>CharStrmReader</CODE></a> that interprets strings in a character encoding supported by the font.</td> 235 </tr> 236 <tr> 237<th class="category" colspan="3">Getting Sheet Information</th> 238 </tr> 239 <tr> 240<td width="100"> <span class="virtual_style" title="pure-virtual">PV</span> 241 </td> 242 <th> 243<a href="../../../nn/font/Font/GetBaselinePos.html"><CODE>GetBaselinePos</CODE></a> 244 </th> 245<td>Gets the baseline position.</td> 246 </tr> 247 <tr> 248<td width="100"> <span class="virtual_style" title="pure-virtual">PV</span> 249 </td> 250 <th> 251<a href="../../../nn/font/Font/GetCellHeight.html"><CODE>GetCellHeight</CODE></a> 252 </th> 253<td>Gets the cell height.</td> 254 </tr> 255 <tr> 256<td width="100"> <span class="virtual_style" title="pure-virtual">PV</span> 257 </td> 258 <th> 259<a href="../../../nn/font/Font/GetCellWidth.html"><CODE>GetCellWidth</CODE></a> 260 </th> 261<td>Gets the cell width.</td> 262 </tr> 263 <tr> 264<th class="category" colspan="3">Texture Interpolation</th> 265 </tr> 266 <tr> 267<td width="100"> <span class="virtual_style" title="pure-virtual">PV</span> 268 </td> 269 <th> 270<a href="../../../nn/font/Font/EnableLinearFilter.html"><CODE>EnableLinearFilter</CODE></a> 271 </th> 272<td>Specifies whether linear interpolation of textures is performed while characters are drawn.</td> 273 </tr> 274 <tr> 275<td width="100"> <span class="virtual_style" title="pure-virtual">PV</span> 276 </td> 277 <th> 278<a href="../../../nn/font/Font/IsLinearFilterEnableAtSmall.html"><CODE>IsLinearFilterEnableAtSmall</CODE></a> 279 </th> 280<td>Gets whether linear interpolation is used when small characters are displayed.</td> 281 </tr> 282 <tr> 283<td width="100"> <span class="virtual_style" title="pure-virtual">PV</span> 284 </td> 285 <th> 286<a href="../../../nn/font/Font/IsLinearFilterEnableAtLarge.html"><CODE>IsLinearFilterEnableAtLarge</CODE></a> 287 </th> 288<td>Gets whether linear interpolation is used when large characters are displayed.</td> 289 </tr> 290 <tr> 291<td width="100"> <span class="virtual_style" title="pure-virtual">PV</span> 292 </td> 293 <th> 294<a href="../../../nn/font/Font/GetTextureWrapFilterValue.html"><CODE>GetTextureWrapFilterValue</CODE></a> 295 </th> 296<td>Gets texture wrapping and filter settings.</td> 297 </tr> </table> 298 </div> 299 </a> 300<h2>Revision History</h2> 301 <div class="section"> 302 <dl class="history"> 303 <dt>2010/11/10</dt> 304<dd>Initial version.<br /> 305 </dd> 306 </dl> 307 </div> 308 <hr><p>CONFIDENTIAL</p></body> 309</html> 310