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> 61 </div> 62 <a name="function" id="function"> 63 <h2>Member Functions</h2> 64 <div class="section"> 65 <table class="members"> 66 <tr> 67 <th class="category" colspan="3">Constructors/Destructors</th> 68 </tr> 69 <tr> 70 <td width="100"> </td> 71 <th> 72 <a href="../../../nn/font/PairFont/PairFont.html"><CODE>PairFont</CODE></a> 73 </th> 74 <td>Constructor.</td> 75 </tr> 76 <tr> 77 <td width="100"> <span class="virtual_style" title="virtual">V</span> 78 </td> 79 <th> 80 <a href="../../../nn/font/PairFont/~PairFont.html"><CODE>~PairFont</CODE></a> 81 </th> 82 <td>Destructor.</td> 83 </tr> 84 <tr> 85 <th class="category" colspan="3">Other</th> 86 </tr> 87 <tr> 88 <td width="100"> <span class="virtual_style" title="virtual">V</span> 89 </td> 90 <th> 91 <a href="../../../nn/font/PairFont/GetWidth.html"><CODE>GetWidth</CODE></a> 92 </th> 93 <td>Gets the width of the font.</td> 94 </tr> 95 <tr> 96 <td width="100"> <span class="virtual_style" title="virtual">V</span> 97 </td> 98 <th> 99 <a href="../../../nn/font/PairFont/GetHeight.html"><CODE>GetHeight</CODE></a> 100 </th> 101 <td>Gets the font height.</td> 102 </tr> 103 <tr> 104 <td width="100"> <span class="virtual_style" title="virtual">V</span> 105 </td> 106 <th> 107 <a href="../../../nn/font/PairFont/GetAscent.html"><CODE>GetAscent</CODE></a> 108 </th> 109 <td>Gets the ascent of the font.</td> 110 </tr> 111 <tr> 112 <td width="100"> <span class="virtual_style" title="virtual">V</span> 113 </td> 114 <th> 115 <a href="../../../nn/font/PairFont/GetDescent.html"><CODE>GetDescent</CODE></a> 116 </th> 117 <td>Gets the font descent.</td> 118 </tr> 119 <tr> 120 <td width="100"> <span class="virtual_style" title="virtual">V</span> 121 </td> 122 <th> 123 <a href="../../../nn/font/PairFont/GetBaselinePos.html"><CODE>GetBaselinePos</CODE></a> 124 </th> 125 <td>Gets the baseline position.</td> 126 </tr> 127 <tr> 128 <td width="100"> <span class="virtual_style" title="virtual">V</span> 129 </td> 130 <th> 131 <a href="../../../nn/font/PairFont/GetCellHeight.html"><CODE>GetCellHeight</CODE></a> 132 </th> 133 <td>Gets the cell height.</td> 134 </tr> 135 <tr> 136 <td width="100"> <span class="virtual_style" title="virtual">V</span> 137 </td> 138 <th> 139 <a href="../../../nn/font/PairFont/GetCellWidth.html"><CODE>GetCellWidth</CODE></a> 140 </th> 141 <td>Gets the cell width.</td> 142 </tr> 143 <tr> 144 <td width="100"> <span class="virtual_style" title="virtual">V</span> 145 </td> 146 <th> 147 <a href="../../../nn/font/PairFont/GetMaxCharWidth.html"><CODE>GetMaxCharWidth</CODE></a> 148 </th> 149 <td>Gets the maximum character width included in the font.</td> 150 </tr> 151 <tr> 152 <td width="100"> <span class="virtual_style" title="virtual">V</span> 153 </td> 154 <th> 155 <a href="../../../nn/font/PairFont/GetType.html"><CODE>GetType</CODE></a> 156 </th> 157 <td>Gets the font type.</td> 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/GetTextureFormat.html"><CODE>GetTextureFormat</CODE></a> 164 </th> 165 <td>Gets the texture format of the font.</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/GetLineFeed.html"><CODE>GetLineFeed</CODE></a> 172 </th> 173 <td>Gets the font's linefeed width.</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/GetDefaultCharWidths.html"><CODE>GetDefaultCharWidths</CODE></a> 180 </th> 181 <td>Gets the font's default character width data.</td> 182 </tr> 183 <tr> 184 <td width="100"> <span class="virtual_style" title="virtual">V</span> 185 </td> 186 <th> 187 <a href="../../../nn/font/PairFont/SetDefaultCharWidths.html"><CODE>SetDefaultCharWidths</CODE></a> 188 </th> 189 <td>Sets the font's default character width data.</td> 190 </tr> 191 <tr> 192 <td width="100"> <span class="virtual_style" title="virtual">V</span> 193 </td> 194 <th> 195 <a href="../../../nn/font/PairFont/SetAlternateChar.html"><CODE>SetAlternateChar</CODE></a> 196 </th> 197 <td>Changes the alternate character for the font.</td> 198 </tr> 199 <tr> 200 <td width="100"> <span class="virtual_style" title="virtual">V</span> 201 </td> 202 <th> 203 <a href="../../../nn/font/PairFont/SetLineFeed.html"><CODE>SetLineFeed</CODE></a> 204 </th> 205 <td>Sets the font's linefeed width.</td> 206 </tr> 207 <tr> 208 <td width="100"> <span class="virtual_style" title="virtual">V</span> 209 </td> 210 <th> 211 <a href="../../../nn/font/PairFont/GetCharWidth.html"><CODE>GetCharWidth</CODE></a> 212 </th> 213 <td>Gets the character width of a character.</td> 214 </tr> 215 <tr> 216 <td width="100"> <span class="virtual_style" title="virtual">V</span> 217 </td> 218 <th> 219 <a href="../../../nn/font/PairFont/GetCharWidths.html"><CODE>GetCharWidths</CODE></a> 220 </th> 221 <td>Gets character width data for a character.</td> 222 </tr> 223 <tr> 224 <td width="100"> <span class="virtual_style" title="virtual">V</span> 225 </td> 226 <th> 227 <a href="../../../nn/font/PairFont/GetGlyph.html"><CODE>GetGlyph</CODE></a> 228 </th> 229 <td>Gets glyph data.</td> 230 </tr> 231 <tr> 232 <td width="100"> <span class="virtual_style" title="virtual">V</span> 233 </td> 234 <th> 235 <a href="../../../nn/font/PairFont/HasGlyph.html"><CODE>HasGlyph</CODE></a> 236 </th> 237 <td>Determines whether glyph data exists.</td> 238 </tr> 239 <tr> 240 <td width="100"> <span class="virtual_style" title="virtual">V</span> 241 </td> 242 <th> 243 <a href="../../../nn/font/PairFont/GetCharacterCode.html"><CODE>GetCharacterCode</CODE></a> 244 </th> 245 <td>Gets the character encoding supported by the font.</td> 246 </tr> </table> 247 </div> 248 </a> 249 <h2>Class Hierarchy</h2> 250 <div class="section"> 251 <p class="hierarchy"><a href="../../../nn/font/Font/Overview.html">nn::font::Font</a><br /> <b>nn::font::PairFont</b> 252 </p> 253 </div> 254 <hr><p>CONFIDENTIAL</p></body> 255</html>