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