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::PairFont</title> 49 </head> 50 <body> 51<h1><CODE>nn::font::PairFont</CODE> Class</h1> 52<h2>Syntax</h2> 53 <div class="section"> 54 <pre class="definition">class PairFont : public <a href="../../../nn/font/Font/Overview.html">nn::font::Font</a></pre> 55 </div> 56<h2>Description</h2> 57 <div class="section"> 58<p>Holds two fonts internally but handles them as if they were a single font.</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/PairFont/PairFont.html"><CODE>PairFont</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/PairFont/~PairFont.html"><CODE>~PairFont</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="virtual">V</span> 86 </td> 87 <th> 88<a href="../../../nn/font/PairFont/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="virtual">V</span> 94 </td> 95 <th> 96<a href="../../../nn/font/PairFont/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="virtual">V</span> 102 </td> 103 <th> 104<a href="../../../nn/font/PairFont/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="virtual">V</span> 110 </td> 111 <th> 112<a href="../../../nn/font/PairFont/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="virtual">V</span> 118 </td> 119 <th> 120<a href="../../../nn/font/PairFont/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="virtual">V</span> 126 </td> 127 <th> 128<a href="../../../nn/font/PairFont/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="virtual">V</span> 134 </td> 135 <th> 136<a href="../../../nn/font/PairFont/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="virtual">V</span> 142 </td> 143 <th> 144<a href="../../../nn/font/PairFont/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="virtual">V</span> 150 </td> 151 <th> 152<a href="../../../nn/font/PairFont/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="virtual">V</span> 161 </td> 162 <th> 163<a href="../../../nn/font/PairFont/SetDefaultCharWidths.html"><CODE>SetDefaultCharWidths</CODE></a> 164 </th> 165<td>Sets the font's default character widths.</td> 166 </tr> 167 <tr> 168<td width="100"> <span class="virtual_style" title="virtual">V</span> 169 </td> 170 <th> 171<a href="../../../nn/font/PairFont/SetAlternateChar.html"><CODE>SetAlternateChar</CODE></a> 172 </th> 173<td>Changes the alternate character for the font.</td> 174 </tr> 175 <tr> 176<td width="100"> <span class="virtual_style" title="virtual">V</span> 177 </td> 178 <th> 179<a href="../../../nn/font/PairFont/SetLineFeed.html"><CODE>SetLineFeed</CODE></a> 180 </th> 181<td>Sets the font's linefeed width.</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="virtual">V</span> 188 </td> 189 <th> 190<a href="../../../nn/font/PairFont/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="virtual">V</span> 196 </td> 197 <th> 198<a href="../../../nn/font/PairFont/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="virtual">V</span> 204 </td> 205 <th> 206<a href="../../../nn/font/PairFont/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="virtual">V</span> 212 </td> 213 <th> 214<a href="../../../nn/font/PairFont/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="virtual">V</span> 223 </td> 224 <th> 225<a href="../../../nn/font/PairFont/GetCharacterCode.html"><CODE>GetCharacterCode</CODE></a> 226 </th> 227<td>Gets the character encoding supported by the font.</td> 228 </tr> 229 <tr> 230<th class="category" colspan="3">Getting Sheet Information</th> 231 </tr> 232 <tr> 233<td width="100"> <span class="virtual_style" title="virtual">V</span> 234 </td> 235 <th> 236<a href="../../../nn/font/PairFont/GetBaselinePos.html"><CODE>GetBaselinePos</CODE></a> 237 </th> 238<td>Gets the baseline position.</td> 239 </tr> 240 <tr> 241<td width="100"> <span class="virtual_style" title="virtual">V</span> 242 </td> 243 <th> 244<a href="../../../nn/font/PairFont/GetCellHeight.html"><CODE>GetCellHeight</CODE></a> 245 </th> 246<td>Gets the cell height.</td> 247 </tr> 248 <tr> 249<td width="100"> <span class="virtual_style" title="virtual">V</span> 250 </td> 251 <th> 252<a href="../../../nn/font/PairFont/GetCellWidth.html"><CODE>GetCellWidth</CODE></a> 253 </th> 254<td>Gets the cell width.</td> 255 </tr> 256 <tr> 257<th class="category" colspan="3">Texture Interpolation</th> 258 </tr> 259 <tr> 260<td width="100"> <span class="virtual_style" title="virtual">V</span> 261 </td> 262 <th> 263<a href="../../../nn/font/PairFont/EnableLinearFilter.html"><CODE>EnableLinearFilter</CODE></a> 264 </th> 265<td>Specifies whether linear interpolation of textures is performed when characters are rendered.</td> 266 </tr> 267 <tr> 268<td width="100"> <span class="virtual_style" title="virtual">V</span> 269 </td> 270 <th> 271<a href="../../../nn/font/PairFont/IsLinearFilterEnableAtSmall.html"><CODE>IsLinearFilterEnableAtSmall</CODE></a> 272 </th> 273<td>Gets whether linear interpolation is used when small characters are displayed.</td> 274 </tr> 275 <tr> 276<td width="100"> <span class="virtual_style" title="virtual">V</span> 277 </td> 278 <th> 279<a href="../../../nn/font/PairFont/IsLinearFilterEnableAtLarge.html"><CODE>IsLinearFilterEnableAtLarge</CODE></a> 280 </th> 281<td>Gets whether linear interpolation is used when large characters are displayed.</td> 282 </tr> 283 <tr> 284<td width="100"> <span class="virtual_style" title="virtual">V</span> 285 </td> 286 <th> 287<a href="../../../nn/font/PairFont/GetTextureWrapFilterValue.html"><CODE>GetTextureWrapFilterValue</CODE></a> 288 </th> 289<td>Gets texture wrapping and filter settings.</td> 290 </tr> </table> 291 </div> 292 </a> 293<h2>Class Hierarchy</h2> 294 <div class="section"> 295<p class="hierarchy"><a href="../../../nn/font/Font/Overview.html">nn::font::Font</a><br /> <b>nn::font::PairFont</b> 296 </p> 297 </div> 298<h2>Revision History</h2> 299 <div class="section"> 300 <dl class="history"> 301 <dt>2010/11/10</dt> 302<dd>Initial version.<br /> 303 </dd> 304 </dl> 305 </div> 306 <hr><p>CONFIDENTIAL</p></body> 307</html> 308