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>nw::font::PairFont</title> 49 </head> 50 <body> 51 <h1><CODE><a href="../../../nw/Overview.html">nw</a>::<a href="../../../nw/font/Overview.html">font</a>::PairFont</CODE> Class</h1> 52 <h2>Syntax</h2> 53 <div class="section"> 54 <pre class="definition">class PairFont : public <a href="../../../nw/font/Font/Overview.html">nw::font::Font</a></pre> 55 </div> 56 <h2>Description</h2> 57 <div class="section"> 58 <p>It holds two fonts internally, but they are handled in the same way as a single font.</p><p>A font pair's font information and sheet information match that of the wider or taller internal font. As a result, it is possible that the intended results will not be obtained if the two fonts that are used as a font pair have differing character rendering information, such as the baseline position.</p></div> 59 <a name="enum" id="enum"> 60 <h2>Enumerated Types</h2> 61 <div class="section"> 62 <table class="members"> 63 <tr> 64 <td width="100"> </td> 65 <th> 66 <a href="../../../nw/font/Font/Type.html">Type</a> 67 </th> 68 <td> 69 (Derived from <CODE><a href="../../../nw/font/Font/Overview.html">Font</a></CODE>)</td> 70 </tr> </table> 71 </div> 72 </a> <a name="constant" id="constant"> 73 <h2>Member Constants</h2> 74 <div class="section"> 75 <table class="members"> 76 <tr> 77 <td width="100"> 78 <span class="static_style" title="static">S</span> 79 </td> 80 <th> 81 <span class="argument"><a href="../../../nw/font/Font/INVALID_CHARACTER_CODE.html">INVALID_CHARACTER_CODE</a></span> 82 </th> 83 <td width="100">const <a href="../../../nw/font/CharCode.html">CharCode</a></td> 84 <td> 85 (Derived from <CODE><a href="../../../nw/font/Font/Overview.html">Font</a></CODE>)</td> 86 </tr> </table> 87 </div> 88 </a> <a name="function" id="function"> 89 <h2>Member Functions</h2> 90 <div class="section"> 91 <table class="members"> 92 <tr> 93 <th class="category" colspan="3">Constructors/Destructors</th> 94 </tr> 95 <tr> 96 <td width="100"> </td> 97 <th> 98 <a href="../../../nw/font/PairFont/PairFont.html">PairFont</a> 99 </th> 100 <td>Constructor.</td> 101 </tr> 102 <tr> 103 <td width="100"> <span class="virtual_style" title="virtual">V</span> 104 </td> 105 <th> 106 <a href="../../../nw/font/PairFont/~PairFont.html">~PairFont</a> 107 </th> 108 <td>Destructor.</td> 109 </tr> 110 <tr> 111 <th class="category" colspan="3">Getting Font Data</th> 112 </tr> 113 <tr> 114 <td width="100"> <span class="virtual_style" title="virtual">V</span> 115 </td> 116 <th> 117 <a href="../../../nw/font/PairFont/GetWidth.html">GetWidth</a> 118 </th> 119 <td>Gets the width of the font.</td> 120 </tr> 121 <tr> 122 <td width="100"> <span class="virtual_style" title="virtual">V</span> 123 </td> 124 <th> 125 <a href="../../../nw/font/PairFont/GetHeight.html">GetHeight</a> 126 </th> 127 <td>Gets the font height.</td> 128 </tr> 129 <tr> 130 <td width="100"> <span class="virtual_style" title="virtual">V</span> 131 </td> 132 <th> 133 <a href="../../../nw/font/PairFont/GetAscent.html">GetAscent</a> 134 </th> 135 <td>Gets the ascent of the font.</td> 136 </tr> 137 <tr> 138 <td width="100"> <span class="virtual_style" title="virtual">V</span> 139 </td> 140 <th> 141 <a href="../../../nw/font/PairFont/GetDescent.html">GetDescent</a> 142 </th> 143 <td>Gets the font descent.</td> 144 </tr> 145 <tr> 146 <td width="100"> <span class="virtual_style" title="virtual">V</span> 147 </td> 148 <th> 149 <a href="../../../nw/font/PairFont/GetMaxCharWidth.html">GetMaxCharWidth</a> 150 </th> 151 <td>Gets the maximum character width included in the font.</td> 152 </tr> 153 <tr> 154 <td width="100"> <span class="virtual_style" title="virtual">V</span> 155 </td> 156 <th> 157 <a href="../../../nw/font/PairFont/GetType.html"><CODE>GetType</CODE></a> 158 </th> 159 <td>Gets the font type.</td> 160 </tr> 161 <tr> 162 <td width="100"> <span class="virtual_style" title="virtual">V</span> 163 </td> 164 <th> 165 <a href="../../../nw/font/PairFont/GetTextureFormat.html">GetTextureFormat</a> 166 </th> 167 <td>Gets the texture format of the font.</td> 168 </tr> 169 <tr> 170 <td width="100"> <span class="virtual_style" title="virtual">V</span> 171 </td> 172 <th> 173 <a href="../../../nw/font/PairFont/GetLineFeed.html">GetLineFeed</a> 174 </th> 175 <td>Gets the size of the font's linefeed.</td> 176 </tr> 177 <tr> 178 <td width="100"> <span class="virtual_style" title="virtual">V</span> 179 </td> 180 <th> 181 <a href="../../../nw/font/PairFont/GetDefaultCharWidths.html">GetDefaultCharWidths</a> 182 </th> 183 <td>Gets the font's default character width data.</td> 184 </tr> 185 <tr> 186 <th class="category" colspan="3">Setting Font Data</th> 187 </tr> 188 <tr> 189 <td width="100"> <span class="virtual_style" title="virtual">V</span> 190 </td> 191 <th> 192 <a href="../../../nw/font/PairFont/SetDefaultCharWidths.html">SetDefaultCharWidths</a> 193 </th> 194 <td>Sets the font's default character width data.</td> 195 </tr> 196 <tr> 197 <td width="100"> <span class="virtual_style" title="virtual">V</span> 198 </td> 199 <th> 200 <a href="../../../nw/font/PairFont/SetAlternateChar.html">SetAlternateChar</a> 201 </th> 202 <td>Changes the alternate character for the font.</td> 203 </tr> 204 <tr> 205 <td width="100"> <span class="virtual_style" title="virtual">V</span> 206 </td> 207 <th> 208 <a href="../../../nw/font/PairFont/SetLineFeed.html">SetLineFeed</a> 209 </th> 210 <td>Sets the linefeed width of the font.</td> 211 </tr> 212 <tr> 213 <th class="category" colspan="3">Getting Character Data</th> 214 </tr> 215 <tr> 216 <td width="100"> <span class="virtual_style" title="virtual">V</span> 217 </td> 218 <th> 219 <a href="../../../nw/font/PairFont/GetCharWidth.html">GetCharWidth</a> 220 </th> 221 <td>Gets the character width of 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="../../../nw/font/PairFont/GetCharWidths.html">GetCharWidths</a> 228 </th> 229 <td>Gets character width data for characters.</td> 230 </tr> 231 <tr> 232 <td width="100"> <span class="virtual_style" title="virtual">V</span> 233 </td> 234 <th> 235 <a href="../../../nw/font/PairFont/GetGlyph.html">GetGlyph</a> 236 </th> 237 <td>Gets glyph data.</td> 238 </tr> 239 <tr> 240 <td width="100"> <span class="virtual_style" title="virtual">V</span> 241 </td> 242 <th> 243 <a href="../../../nw/font/PairFont/HasGlyph.html">HasGlyph</a> 244 </th> 245 <td>Gets the existence (or nonexistence) of glyph data.</td> 246 </tr> 247 <tr> 248 <th class="category" colspan="3">Text Encoding</th> 249 </tr> 250 <tr> 251 <td width="100"> <span class="virtual_style" title="virtual">V</span> 252 </td> 253 <th> 254 <a href="../../../nw/font/PairFont/GetCharacterCode.html">GetCharacterCode</a> 255 </th> 256 <td>Gets the character code supported by the font.</td> 257 </tr> 258 <tr> 259 <td width="100"> </td> 260 <th> 261 <a href="../../../nw/font/Font/GetCharStrmReader.html">GetCharStrmReader</a> 262 </th> 263 <td>Gets <CODE><a href="../../../nw/font/CharStrmReader/Overview.html">CharStrmReader</a></CODE>, used to interpret text in the character code format the font supports.(Derived from <CODE><a href="../../../nw/font/Font/Overview.html">Font</a></CODE>)</td> 264 </tr> 265 <tr> 266 <th class="category" colspan="3">Getting Sheet Information</th> 267 </tr> 268 <tr> 269 <td width="100"> <span class="virtual_style" title="virtual">V</span> 270 </td> 271 <th> 272 <a href="../../../nw/font/PairFont/GetBaselinePos.html">GetBaselinePos</a> 273 </th> 274 <td>Gets the baseline position.</td> 275 </tr> 276 <tr> 277 <td width="100"> <span class="virtual_style" title="virtual">V</span> 278 </td> 279 <th> 280 <a href="../../../nw/font/PairFont/GetCellHeight.html">GetCellHeight</a> 281 </th> 282 <td>Gets the cell height.</td> 283 </tr> 284 <tr> 285 <td width="100"> <span class="virtual_style" title="virtual">V</span> 286 </td> 287 <th> 288 <a href="../../../nw/font/PairFont/GetCellWidth.html">GetCellWidth</a> 289 </th> 290 <td>Gets the cell width.</td> 291 </tr> 292 <tr> 293 <th class="category" colspan="3">Texture Interpolation</th> 294 </tr> 295 <tr> 296 <td width="100"> <span class="virtual_style" title="virtual">V</span> 297 </td> 298 <th> 299 <a href="../../../nw/font/PairFont/EnableLinearFilter.html">EnableLinearFilter</a> 300 </th> 301 <td>Specifies whether or not linear interpolation of textures is performed while characters are drawn.</td> 302 </tr> 303 <tr> 304 <td width="100"> <span class="virtual_style" title="virtual">V</span> 305 </td> 306 <th> 307 <a href="../../../nw/font/PairFont/IsLinearFilterEnableAtSmall.html">IsLinearFilterEnableAtSmall</a> 308 </th> 309 <td>Gets whether or not linear interpolation is to be carried out when small characters are displayed.</td> 310 </tr> 311 <tr> 312 <td width="100"> <span class="virtual_style" title="virtual">V</span> 313 </td> 314 <th> 315 <a href="../../../nw/font/PairFont/IsLinearFilterEnableAtLarge.html">IsLinearFilterEnableAtLarge</a> 316 </th> 317 <td>Gets whether or not linear interpolation is to be carried out when large characters are displayed.</td> 318 </tr> 319 <tr> 320 <td width="100"> <span class="virtual_style" title="virtual">V</span> 321 </td> 322 <th> 323 <a href="../../../nw/font/PairFont/GetTextureWrapFilterValue.html">GetTextureWrapFilterValue</a> 324 </th> 325 <td>Gets the values for the texture's wrap and filter settings.</td> 326 </tr> </table> 327 </div> 328 </a> 329 <h2>Class Hierarchy</h2> 330 <div class="section"> 331 <p class="hierarchy"><a href="../../../nw/font/Font/Overview.html">nw::font::Font</a><br /> <b>nw::font::PairFont</b> 332 </p> 333 </div> 334 <h2>Revision History</h2> 335 <div class="section"> 336 <dl class="history"> 337 <dt>2009/11/09</dt> 338 <dd>Initial version.<br /> 339 </dd> 340 </dl> 341 </div> 342 <hr><p>CONFIDENTIAL</p></body> 343</html> 344