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::ResFontBase</title> 49 </head> 50 <body> 51 <h1><CODE><a href="../../../nw/Overview.html">nw</a>::<a href="../../../nw/font/Overview.html">font</a>::ResFontBase</CODE> Class</h1> 52 <h2>Syntax</h2> 53 <div class="section"> 54 <pre class="definition">class ResFontBase : 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>The base class for the font classes handling resources.</p> 59 </div> 60 <a name="enum" id="enum"> 61 <h2>Enumerated Types</h2> 62 <div class="section"> 63 <table class="members"> 64 <tr> 65 <td width="100"> </td> 66 <th> 67 <a href="../../../nw/font/Font/Type.html">Type</a> 68 </th> 69 <td> 70 (Derived from <CODE><a href="../../../nw/font/Font/Overview.html">Font</a></CODE>)</td> 71 </tr> </table> 72 </div> 73 </a> <a name="typedef" id="typedef"> 74 <h2><CODE>typedef</CODE> Definitions</h2> 75 <div class="section"> 76 <table class="members"> 77 <tr> 78 <td width="100" /> 79 <th> 80 <a href="../../../nw/font/ResFontBase/GlyphIndex.html">GlyphIndex</a> 81 </th> 82 <td> 83 </td> 84 </tr> </table> 85 </div> 86 </a> <a name="constant" id="constant"> 87 <h2>Member Constants</h2> 88 <div class="section"> 89 <table class="members"> 90 <tr> 91 <th class="category" colspan="4">Other</th> 92 </tr> 93 <tr> 94 <td width="100"> 95 <span class="protected_style" title="protected">protected</span> <span class="static_style" title="static">S</span> 96 </td> 97 <th> 98 <span class="argument"><a href="../../../nw/font/ResFontBase/GLYPH_INDEX_NOT_FOUND.html">GLYPH_INDEX_NOT_FOUND</a></span> 99 </th> 100 <td width="100">const <a href="../../../nw/font/ResFontBase/GlyphIndex.html">GlyphIndex</a></td> 101 <td> 102 </td> 103 </tr> 104 <tr> 105 <td width="100"> 106 <span class="static_style" title="static">S</span> 107 </td> 108 <th> 109 <span class="argument"><a href="../../../nw/font/Font/INVALID_CHARACTER_CODE.html">INVALID_CHARACTER_CODE</a></span> 110 </th> 111 <td width="100">const <a href="../../../nw/font/CharCode.html">CharCode</a></td> 112 <td> 113 (Derived from <CODE><a href="../../../nw/font/Font/Overview.html">Font</a></CODE>)</td> 114 </tr> </table> 115 </div> 116 </a> <a name="function" id="function"> 117 <h2>Member Functions</h2> 118 <div class="section"> 119 <table class="members"> 120 <tr> 121 <th class="category" colspan="3">Getting Sheet Information</th> 122 </tr> 123 <tr> 124 <td width="100"> 125 <span class="protected_style" title="protected">protected</span> <span class="virtual_style" title="virtual">V</span> 126 </td> 127 <th> 128 <a href="../../../nw/font/ResFontBase/GetActiveSheetNum.html">GetActiveSheetNum</a> 129 </th> 130 <td>Gets the number of active sheets.</td> 131 </tr> 132 <tr> 133 <td width="100"> 134 <span class="protected_style" title="protected">protected</span> </td> 135 <th> 136 <a href="../../../nw/font/ResFontBase/GetTextureObjectsBufferPtr.html">GetTextureObjectsBufferPtr</a> 137 </th> 138 <td>Gets pointer to texture object buffer.</td> 139 </tr> 140 <tr> 141 <td width="100"> </td> 142 <th> 143 <a href="../../../nw/font/ResFontBase/SetTextureObjectsBufferPtr.html">SetTextureObjectsBufferPtr</a> 144 </th> 145 <td>Sets pointer to the texture object buffer.</td> 146 </tr> 147 <tr> 148 <td width="100"> </td> 149 <th> 150 <a href="../../../nw/font/ResFontBase/GenTextureNames.html">GenTextureNames</a> 151 </th> 152 <td>Generates the texture name.</td> 153 </tr> 154 <tr> 155 <td width="100"> </td> 156 <th> 157 <a href="../../../nw/font/ResFontBase/DeleteTextureNames.html">DeleteTextureNames</a> 158 </th> 159 <td> 160 </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/ResFontBase/GetBaselinePos.html">GetBaselinePos</a> 167 </th> 168 <td>Gets the baseline position.</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/ResFontBase/GetCellHeight.html">GetCellHeight</a> 175 </th> 176 <td>Gets the cell height.</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/ResFontBase/GetCellWidth.html">GetCellWidth</a> 183 </th> 184 <td>Gets the cell width.</td> 185 </tr> 186 <tr> 187 <th class="category" colspan="3">Constructors/Destructors</th> 188 </tr> 189 <tr> 190 <td width="100"> </td> 191 <th> 192 <a href="../../../nw/font/ResFontBase/ResFontBase.html">ResFontBase</a> 193 </th> 194 <td>Constructor.</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/ResFontBase/~ResFontBase.html">~ResFontBase</a> 201 </th> 202 <td>Destructor.</td> 203 </tr> 204 <tr> 205 <th class="category" colspan="3">Getting Font Data</th> 206 </tr> 207 <tr> 208 <td width="100"> <span class="virtual_style" title="virtual">V</span> 209 </td> 210 <th> 211 <a href="../../../nw/font/ResFontBase/GetWidth.html">GetWidth</a> 212 </th> 213 <td>Gets the width of the font.</td> 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/ResFontBase/GetHeight.html">GetHeight</a> 220 </th> 221 <td>Gets the font height.</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/ResFontBase/GetAscent.html">GetAscent</a> 228 </th> 229 <td>Gets the ascent of the font.</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/ResFontBase/GetDescent.html">GetDescent</a> 236 </th> 237 <td>Gets the font descent.</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/ResFontBase/GetMaxCharWidth.html">GetMaxCharWidth</a> 244 </th> 245 <td>Gets the maximum character width included in the font.</td> 246 </tr> 247 <tr> 248 <td width="100"> <span class="virtual_style" title="virtual">V</span> 249 </td> 250 <th> 251 <a href="../../../nw/font/ResFontBase/GetType.html"><CODE>GetType</CODE></a> 252 </th> 253 <td>Gets the font type.</td> 254 </tr> 255 <tr> 256 <td width="100"> <span class="virtual_style" title="virtual">V</span> 257 </td> 258 <th> 259 <a href="../../../nw/font/ResFontBase/GetTextureFormat.html">GetTextureFormat</a> 260 </th> 261 <td>Gets the texture format of the font.</td> 262 </tr> 263 <tr> 264 <td width="100"> <span class="virtual_style" title="virtual">V</span> 265 </td> 266 <th> 267 <a href="../../../nw/font/ResFontBase/GetLineFeed.html">GetLineFeed</a> 268 </th> 269 <td>Gets the size of the font's linefeed.</td> 270 </tr> 271 <tr> 272 <td width="100"> <span class="virtual_style" title="virtual">V</span> 273 </td> 274 <th> 275 <a href="../../../nw/font/ResFontBase/GetDefaultCharWidths.html">GetDefaultCharWidths</a> 276 </th> 277 <td>Gets the font's default character width data.</td> 278 </tr> 279 <tr> 280 <th class="category" colspan="3">Setting Font Data</th> 281 </tr> 282 <tr> 283 <td width="100"> <span class="virtual_style" title="virtual">V</span> 284 </td> 285 <th> 286 <a href="../../../nw/font/ResFontBase/SetLineFeed.html">SetLineFeed</a> 287 </th> 288 <td>Sets the linefeed width of the font.</td> 289 </tr> 290 <tr> 291 <td width="100"> <span class="virtual_style" title="virtual">V</span> 292 </td> 293 <th> 294 <a href="../../../nw/font/ResFontBase/SetDefaultCharWidths.html">SetDefaultCharWidths</a> 295 </th> 296 <td>Sets the font's default character width data.</td> 297 </tr> 298 <tr> 299 <td width="100"> <span class="virtual_style" title="virtual">V</span> 300 </td> 301 <th> 302 <a href="../../../nw/font/ResFontBase/SetAlternateChar.html">SetAlternateChar</a> 303 </th> 304 <td>Changes the alternate character for the font.</td> 305 </tr> 306 <tr> 307 <th class="category" colspan="3">Getting Character Data</th> 308 </tr> 309 <tr> 310 <td width="100"> <span class="virtual_style" title="virtual">V</span> 311 </td> 312 <th> 313 <a href="../../../nw/font/ResFontBase/GetCharWidth.html">GetCharWidth</a> 314 </th> 315 <td>Gets the character width of a character.</td> 316 </tr> 317 <tr> 318 <td width="100"> <span class="virtual_style" title="virtual">V</span> 319 </td> 320 <th> 321 <a href="../../../nw/font/ResFontBase/GetCharWidths.html">GetCharWidths</a> 322 </th> 323 <td>Gets character width data for characters.</td> 324 </tr> 325 <tr> 326 <td width="100"> <span class="virtual_style" title="virtual">V</span> 327 </td> 328 <th> 329 <a href="../../../nw/font/ResFontBase/GetGlyph.html">GetGlyph</a> 330 </th> 331 <td>Gets glyph data.</td> 332 </tr> 333 <tr> 334 <td width="100"> <span class="virtual_style" title="virtual">V</span> 335 </td> 336 <th> 337 <a href="../../../nw/font/ResFontBase/HasGlyph.html">HasGlyph</a> 338 </th> 339 <td>Gets the existence (or nonexistence) of glyph data.</td> 340 </tr> 341 <tr> 342 <th class="category" colspan="3">Text Encoding</th> 343 </tr> 344 <tr> 345 <td width="100"> <span class="virtual_style" title="virtual">V</span> 346 </td> 347 <th> 348 <a href="../../../nw/font/ResFontBase/GetCharacterCode.html">GetCharacterCode</a> 349 </th> 350 <td>Gets the character code supported by the font.</td> 351 </tr> 352 <tr> 353 <td width="100"> </td> 354 <th> 355 <a href="../../../nw/font/Font/GetCharStrmReader.html">GetCharStrmReader</a> 356 </th> 357 <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> 358 </tr> 359 <tr> 360 <th class="category" colspan="3">Texture Interpolation</th> 361 </tr> 362 <tr> 363 <td width="100"> <span class="virtual_style" title="virtual">V</span> 364 </td> 365 <th> 366 <a href="../../../nw/font/ResFontBase/EnableLinearFilter.html">EnableLinearFilter</a> 367 </th> 368 <td>Specifies whether or not linear interpolation of textures is performed while characters are drawn.</td> 369 </tr> 370 <tr> 371 <td width="100"> <span class="virtual_style" title="virtual">V</span> 372 </td> 373 <th> 374 <a href="../../../nw/font/ResFontBase/IsLinearFilterEnableAtSmall.html">IsLinearFilterEnableAtSmall</a> 375 </th> 376 <td>Gets whether or not linear interpolation is to be carried out when small characters are displayed.</td> 377 </tr> 378 <tr> 379 <td width="100"> <span class="virtual_style" title="virtual">V</span> 380 </td> 381 <th> 382 <a href="../../../nw/font/ResFontBase/IsLinearFilterEnableAtLarge.html">IsLinearFilterEnableAtLarge</a> 383 </th> 384 <td>Gets whether or not linear interpolation is to be carried out when large characters are displayed.</td> 385 </tr> 386 <tr> 387 <td width="100"> <span class="virtual_style" title="virtual">V</span> 388 </td> 389 <th> 390 <a href="../../../nw/font/ResFontBase/GetTextureWrapFilterValue.html">GetTextureWrapFilterValue</a> 391 </th> 392 <td>Gets the values for the texture's wrap and filter settings.</td> 393 </tr> 394 <tr> 395 <th class="category" colspan="3">Other</th> 396 </tr> 397 <tr> 398 <td width="100"> 399 <span class="protected_style" title="protected">protected</span> </td> 400 <th> 401 <a href="../../../nw/font/ResFontBase/GetFINF.html">GetFINF</a> 402 </th> 403 <td> 404 </td> 405 </tr> 406 <tr> 407 <td width="100"> 408 <span class="protected_style" title="protected">protected</span> </td> 409 <th> 410 <a href="../../../nw/font/ResFontBase/IsManaging.html">IsManaging</a> 411 </th> 412 <td>Determines whether the resource font is associated.</td> 413 </tr> 414 <tr> 415 <td width="100"> 416 <span class="protected_style" title="protected">protected</span> </td> 417 <th> 418 <a href="../../../nw/font/ResFontBase/SetResourceBuffer.html">SetResourceBuffer</a> 419 </th> 420 <td>Sets pointers to the allocated buffer and the FINF block positioned there.</td> 421 </tr> 422 <tr> 423 <td width="100"> 424 <span class="protected_style" title="protected">protected</span> </td> 425 <th> 426 <a href="../../../nw/font/ResFontBase/RemoveResourceBuffer.html">RemoveResourceBuffer</a> 427 </th> 428 <td>Resets the parameter configured by <CODE>SetResourceBuffer</CODE> and returns the pointer to the allocated buffer.</td> 429 </tr> 430 <tr> 431 <td width="100"> 432 <span class="protected_style" title="protected">protected</span> </td> 433 <th> 434 <a href="../../../nw/font/ResFontBase/GetGlyphIndex.html">GetGlyphIndex</a> 435 </th> 436 <td>Gets the character glyph index.</td> 437 </tr> 438 <tr> 439 <td width="100"> 440 <span class="protected_style" title="protected">protected</span> </td> 441 <th> 442 <a href="../../../nw/font/ResFontBase/FindGlyphIndex.html">FindGlyphIndex</a> 443 </th> 444 <td>Gets the character glyph index.</td> 445 </tr> 446 <tr> 447 <td width="100"> 448 <span class="protected_style" title="protected">protected</span> </td> 449 <th> 450 <a href="../../../nw/font/ResFontBase/GetCharWidthsFromIndex.html">GetCharWidthsFromIndex</a> 451 </th> 452 <td>Gets the character width of the character corresponding to the glyph index.</td> 453 </tr> 454 <tr> 455 <td width="100"> 456 <span class="protected_style" title="protected">protected</span> </td> 457 <th> 458 <a href="../../../nw/font/ResFontBase/GetGlyphFromIndex.html">GetGlyphFromIndex</a> 459 </th> 460 <td>Gets the glyph data corresponding to the glyph index.</td> 461 </tr> 462 <tr> 463 <td width="100"> 464 <span class="protected_style" title="protected">protected</span> <span class="static_style" title="static">S</span> </td> 465 <th> 466 <a href="../../../nw/font/ResFontBase/SetGlyphMember.html">SetGlyphMember</a> 467 </th> 468 <td>Sets <CODE>Glyph</CODE>members based on the content of the <CODE>FontTextureGlyph</CODE> structure</td> 469 </tr> </table> 470 </div> 471 </a> 472 <h2>Class Hierarchy</h2> 473 <div class="section"> 474 <p class="hierarchy"><a href="../../../nw/font/Font/Overview.html">nw::font::Font</a><br /> <b>nw::font::ResFontBase</b> 475 </p> 476 </div> 477 <hr><p>CONFIDENTIAL</p></body> 478</html> 479