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::PairFont</title> 51 </head> 52 <body> 53<h1><CODE>nn::font::PairFont</CODE> Class</h1> 54<h2>Syntax</h2> 55 <div class="section"> 56 <pre class="definition">class PairFont : public <a href="../../../nn/font/Font/Overview.html">nn::font::Font</a></pre> 57 </div> 58<h2>Description</h2> 59 <div class="section"> 60<p>Holds two fonts internally but handles them as if they were a single font.</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/PairFont/PairFont.html"><CODE>PairFont</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/PairFont/~PairFont.html"><CODE>~PairFont</CODE></a> 80 </th> 81<td>Destructor.</td> 82 </tr> 83 <tr> 84<th class="category" colspan="3">Other</th> 85 </tr> 86 <tr> 87<td width="100"> <span class="virtual_style" title="virtual">V</span> 88 </td> 89 <th> 90<a href="../../../nn/font/PairFont/GetWidth.html"><CODE>GetWidth</CODE></a> 91 </th> 92<td>Gets the width of the font.</td> 93 </tr> 94 <tr> 95<td width="100"> <span class="virtual_style" title="virtual">V</span> 96 </td> 97 <th> 98<a href="../../../nn/font/PairFont/GetHeight.html"><CODE>GetHeight</CODE></a> 99 </th> 100<td>Gets the font height.</td> 101 </tr> 102 <tr> 103<td width="100"> <span class="virtual_style" title="virtual">V</span> 104 </td> 105 <th> 106<a href="../../../nn/font/PairFont/GetAscent.html"><CODE>GetAscent</CODE></a> 107 </th> 108<td>Gets the ascent of the font.</td> 109 </tr> 110 <tr> 111<td width="100"> <span class="virtual_style" title="virtual">V</span> 112 </td> 113 <th> 114<a href="../../../nn/font/PairFont/GetDescent.html"><CODE>GetDescent</CODE></a> 115 </th> 116<td>Gets the font descent.</td> 117 </tr> 118 <tr> 119<td width="100"> <span class="virtual_style" title="virtual">V</span> 120 </td> 121 <th> 122<a href="../../../nn/font/PairFont/GetBaselinePos.html"><CODE>GetBaselinePos</CODE></a> 123 </th> 124<td>Gets the baseline position.</td> 125 </tr> 126 <tr> 127<td width="100"> <span class="virtual_style" title="virtual">V</span> 128 </td> 129 <th> 130<a href="../../../nn/font/PairFont/GetCellHeight.html"><CODE>GetCellHeight</CODE></a> 131 </th> 132<td>Gets the cell height.</td> 133 </tr> 134 <tr> 135<td width="100"> <span class="virtual_style" title="virtual">V</span> 136 </td> 137 <th> 138<a href="../../../nn/font/PairFont/GetCellWidth.html"><CODE>GetCellWidth</CODE></a> 139 </th> 140<td>Gets the cell width.</td> 141 </tr> 142 <tr> 143<td width="100"> <span class="virtual_style" title="virtual">V</span> 144 </td> 145 <th> 146<a href="../../../nn/font/PairFont/GetMaxCharWidth.html"><CODE>GetMaxCharWidth</CODE></a> 147 </th> 148<td>Gets the maximum character width included in the font.</td> 149 </tr> 150 <tr> 151<td width="100"> <span class="virtual_style" title="virtual">V</span> 152 </td> 153 <th> 154<a href="../../../nn/font/PairFont/GetType.html"><CODE>GetType</CODE></a> 155 </th> 156<td>Gets the font type.</td> 157 </tr> 158 <tr> 159<td width="100"> <span class="virtual_style" title="virtual">V</span> 160 </td> 161 <th> 162<a href="../../../nn/font/PairFont/GetTextureFormat.html"><CODE>GetTextureFormat</CODE></a> 163 </th> 164<td>Gets the texture format of the font.</td> 165 </tr> 166 <tr> 167<td width="100"> <span class="virtual_style" title="virtual">V</span> 168 </td> 169 <th> 170<a href="../../../nn/font/PairFont/GetLineFeed.html"><CODE>GetLineFeed</CODE></a> 171 </th> 172<td>Gets the font's linefeed width.</td> 173 </tr> 174 <tr> 175<td width="100"> <span class="virtual_style" title="virtual">V</span> 176 </td> 177 <th> 178<a href="../../../nn/font/PairFont/GetDefaultCharWidths.html"><CODE>GetDefaultCharWidths</CODE></a> 179 </th> 180<td>Gets the font's default character widths.</td> 181 </tr> 182 <tr> 183<td width="100"> <span class="virtual_style" title="virtual">V</span> 184 </td> 185 <th> 186<a href="../../../nn/font/PairFont/SetDefaultCharWidths.html"><CODE>SetDefaultCharWidths</CODE></a> 187 </th> 188<td>Sets the font's default character widths.</td> 189 </tr> 190 <tr> 191<td width="100"> <span class="virtual_style" title="virtual">V</span> 192 </td> 193 <th> 194<a href="../../../nn/font/PairFont/SetAlternateChar.html"><CODE>SetAlternateChar</CODE></a> 195 </th> 196<td>Changes the alternate character for the font.</td> 197 </tr> 198 <tr> 199<td width="100"> <span class="virtual_style" title="virtual">V</span> 200 </td> 201 <th> 202<a href="../../../nn/font/PairFont/SetLineFeed.html"><CODE>SetLineFeed</CODE></a> 203 </th> 204<td>Sets the font's linefeed width.</td> 205 </tr> 206 <tr> 207<td width="100"> <span class="virtual_style" title="virtual">V</span> 208 </td> 209 <th> 210<a href="../../../nn/font/PairFont/GetCharWidth.html"><CODE>GetCharWidth</CODE></a> 211 </th> 212<td>Gets the character width of a character.</td> 213 </tr> 214 <tr> 215<td width="100"> <span class="virtual_style" title="virtual">V</span> 216 </td> 217 <th> 218<a href="../../../nn/font/PairFont/GetCharWidths.html"><CODE>GetCharWidths</CODE></a> 219 </th> 220<td>Gets character widths for a character.</td> 221 </tr> 222 <tr> 223<td width="100"> <span class="virtual_style" title="virtual">V</span> 224 </td> 225 <th> 226<a href="../../../nn/font/PairFont/GetGlyph.html"><CODE>GetGlyph</CODE></a> 227 </th> 228<td>Gets glyph data.</td> 229 </tr> 230 <tr> 231<td width="100"> <span class="virtual_style" title="virtual">V</span> 232 </td> 233 <th> 234<a href="../../../nn/font/PairFont/HasGlyph.html"><CODE>HasGlyph</CODE></a> 235 </th> 236<td>Determines whether glyph data exists.</td> 237 </tr> 238 <tr> 239<td width="100"> <span class="virtual_style" title="virtual">V</span> 240 </td> 241 <th> 242<a href="../../../nn/font/PairFont/GetCharacterCode.html"><CODE>GetCharacterCode</CODE></a> 243 </th> 244<td>Gets the character encoding supported by the font.</td> 245 </tr> </table> 246 </div> 247 </a> 248<h2>Class Hierarchy</h2> 249 <div class="section"> 250<p class="hierarchy"><a href="../../../nn/font/Font/Overview.html">nn::font::Font</a><br /> <b>nn::font::PairFont</b> 251 </p> 252 </div> 253<h2>Revision History</h2> 254 <div class="section"> 255 <dl class="history"> 256 <dt>2010/11/10</dt> 257<dd>Initial version.<br /> 258 </dd> 259 </dl> 260 </div> 261 <hr><p>CONFIDENTIAL</p></body> 262</html>