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::TextWriterBase</title> 51 </head> 52 <body> 53 <h1><CODE>nw::font::TextWriterBase</CODE> Class</h1> 54 <h2>Syntax</h2> 55 <div class="section"> 56 <pre class="definition">template <typename CharType> 57class TextWriterBase : public <a href="../../../nw/font/CharWriter/Overview.html">nw::font::CharWriter</a></pre> 58 </div> 59 <h2>Template Arguments</h2> 60 <div class="section"> 61 <table class="arguments"> 62 <thead> 63 <tr> 64 <th>Name</th> 65 <td>Description</td> 66 </tr> 67 </thead> 68 <tr> 69 <th>CharType</th> 70 <td>The character type.</td> 71 </tr> </table> 72 </div> 73 <h2>Description</h2> 74 <div class="section"> 75 <p>The class for drawing characters using the <CODE>nw::font::Font</CODE> class</p><p>Inherits the <a href="../../../nw/font/CharWriter/Overview.html">nw::font::CharWriter</a> class, so can use all features of <CODE><a href="../../../nw/font/CharWriter/Overview.html">nw::font::CharWriter</a>, starting with the drawing of characters. </p><p><CODE>TextWriter</CODE> is the <CODE>typedef</CODE> used for the <CODE>TextWriterBase</CODE> class when handling CP1252, ShiftJIS and UTF8. </p><p><CODE>WideTextWriter</CODE> is the <CODE>typedef</CODE> used for the <CODE>TextWriterBase</CODE> class when handling UTF16.</p></div> 76 <a name="enum" id="enum"> 77 <h2>Enumerated Types</h2> 78 <div class="section"> 79 <table class="members"> 80 <tr> 81 <td width="100"> </td> 82 <th> 83 <a href="../../../nw/font/TextWriterBase/PositionFlag.html">PositionFlag</a> 84 </th> 85 <td>Text drawing flags used with the <CODE><a href="../../../nw/font/TextWriterBase/SetDrawFlag.html">SetDrawFlag</a></CODE> function to position the text string.</td> 86 </tr> 87 <tr> 88 <td width="100"> </td> 89 <th> 90 <a href="../../../nw/font/TextWriterBase/ContextFlag.html">ContextFlag</a> 91 </th> 92 <td> 93 </td> 94 </tr> 95 <tr> 96 <td width="100"> </td> 97 <th> 98 <a href="../../../nw/font/CharWriter/GradationMode.html">GradationMode</a> 99 </th> 100 <td>The <CODE>enum</CODE> representing types of gradation.(Derived from <CODE><a href="../../../nw/font/CharWriter/Overview.html">CharWriter</a></CODE>)</td> 101 </tr> </table> 102 </div> 103 </a> <a name="constant" id="constant"> 104 <h2>Member Constants</h2> 105 <div class="section"> 106 <table class="members"> 107 <tr> 108 <td width="100"> 109 <span class="static_style" title="static">S</span> 110 </td> 111 <th> 112 <span class="argument"><a href="../../../nw/font/TextWriterBase/DEFAULT_DRAWFLAG.html">DEFAULT_DRAWFLAG</a></span> 113 </th> 114 <td>Represents the default rendering flag set for the constructor.</td> 115 </tr> 116 <tr> 117 <td width="100"> 118 <span class="static_style" title="static">S</span> 119 </td> 120 <th> 121 <span class="argument"><a href="../../../nw/font/CharWriter/DEFAULT_COLOR_MAPPING_MIN.html">DEFAULT_COLOR_MAPPING_MIN</a></span> 122 </th> 123 <td> 124 (Derived from <CODE><a href="../../../nw/font/CharWriter/Overview.html">CharWriter</a></CODE>)</td> 125 </tr> 126 <tr> 127 <td width="100"> 128 <span class="static_style" title="static">S</span> 129 </td> 130 <th> 131 <span class="argument"><a href="../../../nw/font/CharWriter/DEFAULT_COLOR_MAPPING_MAX.html">DEFAULT_COLOR_MAPPING_MAX</a></span> 132 </th> 133 <td> 134 (Derived from <CODE><a href="../../../nw/font/CharWriter/Overview.html">CharWriter</a></CODE>)</td> 135 </tr> </table> 136 </div> 137 </a> <a name="function" id="function"> 138 <h2>Member Functions</h2> 139 <div class="section"> 140 <table class="members"> 141 <tr> 142 <th class="category" colspan="3">Constructors/Destructors</th> 143 </tr> 144 <tr> 145 <td width="100"> </td> 146 <th> 147 <a href="../../../nw/font/TextWriterBase/TextWriterBase.html">TextWriterBase</a> 148 </th> 149 <td>Constructor.</td> 150 </tr> 151 <tr> 152 <td width="100"> </td> 153 <th> 154 <a href="../../../nw/font/TextWriterBase/~TextWriterBase.html">~TextWriterBase</a> 155 </th> 156 <td>Destructor.</td> 157 </tr> 158 <tr> 159 <th class="category" colspan="3">Character Spacing, Leading, and Tab Width</th> 160 </tr> 161 <tr> 162 <td width="100"> </td> 163 <th> 164 <a href="../../../nw/font/TextWriterBase/SetLineSpace.html">SetLineSpace</a> 165 </th> 166 <td>Sets the line spacing.</td> 167 </tr> 168 <tr> 169 <td width="100"> </td> 170 <th> 171 <a href="../../../nw/font/TextWriterBase/GetLineSpace.html">GetLineSpace</a> 172 </th> 173 <td>Gets the leading.</td> 174 </tr> 175 <tr> 176 <td width="100"> </td> 177 <th> 178 <a href="../../../nw/font/TextWriterBase/SetLineHeight.html">SetLineHeight</a> 179 </th> 180 <td>Sets the height of a line.</td> 181 </tr> 182 <tr> 183 <td width="100"> </td> 184 <th> 185 <a href="../../../nw/font/TextWriterBase/GetLineHeight.html">GetLineHeight</a> 186 </th> 187 <td>Gets the height of a line.</td> 188 </tr> 189 <tr> 190 <td width="100"> </td> 191 <th> 192 <a href="../../../nw/font/TextWriterBase/SetCharSpace.html">SetCharSpace</a> 193 </th> 194 <td>Sets the space between characters.</td> 195 </tr> 196 <tr> 197 <td width="100"> </td> 198 <th> 199 <a href="../../../nw/font/TextWriterBase/GetCharSpace.html">GetCharSpace</a> 200 </th> 201 <td>Gets the space between characters.</td> 202 </tr> 203 <tr> 204 <td width="100"> </td> 205 <th> 206 <a href="../../../nw/font/TextWriterBase/SetTabWidth.html">SetTabWidth</a> 207 </th> 208 <td>Sets the tab width.</td> 209 </tr> 210 <tr> 211 <td width="100"> </td> 212 <th> 213 <a href="../../../nw/font/TextWriterBase/GetTabWidth.html">GetTabWidth</a> 214 </th> 215 <td>Gets the tab width.</td> 216 </tr> 217 <tr> 218 <th class="category" colspan="3">Automatic Wrapping of Strings</th> 219 </tr> 220 <tr> 221 <td width="100"> </td> 222 <th> 223 <a href="../../../nw/font/TextWriterBase/SetWidthLimit.html">SetWidthLimit</a> 224 </th> 225 <td>Specifies the width to wrap automatically.</td> 226 </tr> 227 <tr> 228 <td width="100"> </td> 229 <th> 230 <a href="../../../nw/font/TextWriterBase/GetWidthLimit.html">GetWidthLimit</a> 231 </th> 232 <td>Gets the set wrap width.</td> 233 </tr> 234 <tr> 235 <td width="100"> </td> 236 <th> 237 <a href="../../../nw/font/TextWriterBase/ResetWidthLimit.html">ResetWidthLimit</a> 238 </th> 239 <td>Disables the automatic wrapping feature.</td> 240 </tr> 241 <tr> 242 <th class="category" colspan="3">Set/Get the Text Drawing Flag</th> 243 </tr> 244 <tr> 245 <td width="100"> </td> 246 <th> 247 <a href="../../../nw/font/TextWriterBase/SetDrawFlag.html">SetDrawFlag</a> 248 </th> 249 <td>Sets the text drawing flag.</td> 250 </tr> 251 <tr> 252 <td width="100"> </td> 253 <th> 254 <a href="../../../nw/font/TextWriterBase/GetDrawFlag.html">GetDrawFlag</a> 255 </th> 256 <td>Gets the text drawing flag.</td> 257 </tr> 258 <tr> 259 <th class="category" colspan="3">Set/Get the Tag Processor</th> 260 </tr> 261 <tr> 262 <td width="100"> </td> 263 <th> 264 <a href="../../../nw/font/TextWriterBase/SetTagProcessor.html">SetTagProcessor</a> 265 </th> 266 <td>Sets the tag processor.</td> 267 </tr> 268 <tr> 269 <td width="100"> </td> 270 <th> 271 <a href="../../../nw/font/TextWriterBase/GetTagProcessor.html">GetTagProcessor</a> 272 </th> 273 <td>Gets the tag processor.</td> 274 </tr> 275 <tr> 276 <td width="100"> </td> 277 <th> 278 <a href="../../../nw/font/TextWriterBase/ResetTagProcessor.html">ResetTagProcessor</a> 279 </th> 280 <td>Restores the tag processor to default.</td> 281 </tr> 282 <tr> 283 <th class="category" colspan="3">Calculating the Drawn Size of the Text</th> 284 </tr> 285 <tr> 286 <td width="100"> </td> 287 <th> 288 <a href="../../../nw/font/TextWriterBase/CalcFormatStringWidth.html">CalcFormatStringWidth</a> 289 </th> 290 <td>Calculates the width of the text.</td> 291 </tr> 292 <tr> 293 <td width="100"> </td> 294 <th> 295 <a href="../../../nw/font/TextWriterBase/CalcStringWidth.html">CalcStringWidth</a> 296 </th> 297 <td>Calculates the width of the text.</td> 298 </tr> 299 <tr> 300 <td width="100"> </td> 301 <th> 302 <a href="../../../nw/font/TextWriterBase/CalcFormatStringHeight.html">CalcFormatStringHeight</a> 303 </th> 304 <td>Calculates the height of the text.</td> 305 </tr> 306 <tr> 307 <td width="100"> </td> 308 <th> 309 <a href="../../../nw/font/TextWriterBase/CalcStringHeight.html">CalcStringHeight</a> 310 </th> 311 <td>Calculates the height of the text.</td> 312 </tr> 313 <tr> 314 <td width="100"> </td> 315 <th> 316 <a href="../../../nw/font/TextWriterBase/CalcFormatStringRect.html">CalcFormatStringRect</a> 317 </th> 318 <td>Calculates the drawing rectangle for the text string.</td> 319 </tr> 320 <tr> 321 <td width="100"> </td> 322 <th> 323 <a href="../../../nw/font/TextWriterBase/CalcVStringRect.html">CalcVStringRect</a> 324 </th> 325 <td>Calculates the drawing rectangle for the text string.</td> 326 </tr> 327 <tr> 328 <td width="100"> </td> 329 <th> 330 <a href="../../../nw/font/TextWriterBase/CalcStringRect.html">CalcStringRect</a> 331 </th> 332 <td>Calculates the drawing rectangle for the text string.</td> 333 </tr> 334 <tr> 335 <th class="category" colspan="3">Text String Drawing</th> 336 </tr> 337 <tr> 338 <td width="100"> </td> 339 <th> 340 <a href="../../../nw/font/TextWriterBase/Printf.html">Printf</a> 341 </th> 342 <td>Draws a string.</td> 343 </tr> 344 <tr> 345 <td width="100"> </td> 346 <th> 347 <a href="../../../nw/font/TextWriterBase/VPrintf.html">VPrintf</a> 348 </th> 349 <td>Draws a string.</td> 350 </tr> 351 <tr> 352 <td width="100"> </td> 353 <th> 354 <a href="../../../nw/font/TextWriterBase/Print.html">Print</a> 355 </th> 356 <td>Draws a string.</td> 357 </tr> 358 <tr> 359 <th class="category" colspan="3">Fonts</th> 360 </tr> 361 <tr> 362 <td width="100"> </td> 363 <th> 364 <a href="../../../nw/font/CharWriter/SetFont.html">SetFont</a> 365 </th> 366 <td>Sets the font.(Derived from <CODE><a href="../../../nw/font/CharWriter/Overview.html">CharWriter</a></CODE>)</td> 367 </tr> 368 <tr> 369 <td width="100"> </td> 370 <th> 371 <a href="../../../nw/font/CharWriter/GetFont.html">GetFont</a> 372 </th> 373 <td>Gets the font.(Derived from <CODE><a href="../../../nw/font/CharWriter/Overview.html">CharWriter</a></CODE>)</td> 374 </tr> 375 <tr> 376 <th class="category" colspan="3">Character Drawing Preparation</th> 377 </tr> 378 <tr> 379 <td width="100"> </td> 380 <th> 381 <a href="../../../nw/font/CharWriter/SetupGX.html">SetupGX</a> 382 </th> 383 <td>Prepares to draw characters.(Derived from <CODE><a href="../../../nw/font/CharWriter/Overview.html">CharWriter</a></CODE>)</td> 384 </tr> 385 <tr> 386 <td width="100"> 387 <span class="static_style" title="static">S</span> </td> 388 <th> 389 <a href="../../../nw/font/CharWriter/FinalizeGX.html">FinalizeGX</a> 390 </th> 391 <td>Performs drawing configuration post-processing.(Derived from <CODE><a href="../../../nw/font/CharWriter/Overview.html">CharWriter</a></CODE>)</td> 392 </tr> 393 <tr> 394 <th class="category" colspan="3">Linear conversion of glyph color.</th> 395 </tr> 396 <tr> 397 <td width="100"> </td> 398 <th> 399 <a href="../../../nw/font/CharWriter/SetColorMapping.html">SetColorMapping</a> 400 </th> 401 <td>Sets the linear conversion for glyph colors used while drawing characters.(Derived from <CODE><a href="../../../nw/font/CharWriter/Overview.html">CharWriter</a></CODE>)</td> 402 </tr> 403 <tr> 404 <td width="100"> </td> 405 <th> 406 <a href="../../../nw/font/CharWriter/GetColorMappingMin.html">GetColorMappingMin</a> 407 </th> 408 <td>Gets the value after conversion for 0 for each component used in linear conversion of the glyph color.(Derived from <CODE><a href="../../../nw/font/CharWriter/Overview.html">CharWriter</a></CODE>)</td> 409 </tr> 410 <tr> 411 <td width="100"> </td> 412 <th> 413 <a href="../../../nw/font/CharWriter/GetColorMappingMax.html">GetColorMappingMax</a> 414 </th> 415 <td>Gets the value after conversion for 255 for each component used in linear conversion of the glyph color.(Derived from <CODE><a href="../../../nw/font/CharWriter/Overview.html">CharWriter</a></CODE>)</td> 416 </tr> 417 <tr> 418 <td width="100"> </td> 419 <th> 420 <a href="../../../nw/font/CharWriter/ResetColorMapping.html">ResetColorMapping</a> 421 </th> 422 <td>Sets the system to not perform linear conversion of glyph colors while drawing characters.(Derived from <CODE><a href="../../../nw/font/CharWriter/Overview.html">CharWriter</a></CODE>)</td> 423 </tr> 424 <tr> 425 <th class="category" colspan="3">Character Color/Gradation</th> 426 </tr> 427 <tr> 428 <td width="100"> </td> 429 <th> 430 <a href="../../../nw/font/CharWriter/SetAlpha.html"><CODE>SetAlpha</CODE></a> 431 </th> 432 <td>Sets the alpha value to be added when drawing characters.(Derived from <CODE><a href="../../../nw/font/CharWriter/Overview.html">CharWriter</a></CODE>)</td> 433 </tr> 434 <tr> 435 <td width="100"> </td> 436 <th> 437 <a href="../../../nw/font/CharWriter/GetAlpha.html"><CODE>GetAlpha</CODE></a> 438 </th> 439 <td>Gets the alpha value to be added when drawing characters.(Derived from <CODE><a href="../../../nw/font/CharWriter/Overview.html">CharWriter</a></CODE>)</td> 440 </tr> 441 <tr> 442 <td width="100"> </td> 443 <th> 444 <a href="../../../nw/font/CharWriter/SetGradationMode.html">SetGradationMode</a> 445 </th> 446 <td>Sets the gradation mode.(Derived from <CODE><a href="../../../nw/font/CharWriter/Overview.html">CharWriter</a></CODE>)</td> 447 </tr> 448 <tr> 449 <td width="100"> </td> 450 <th> 451 <a href="../../../nw/font/CharWriter/GetGradationMode.html">GetGradationMode</a> 452 </th> 453 <td>Gets the gradation mode.(Derived from <CODE><a href="../../../nw/font/CharWriter/Overview.html">CharWriter</a></CODE>)</td> 454 </tr> 455 <tr> 456 <td width="100"> </td> 457 <th> 458 <a href="../../../nw/font/CharWriter/SetTextColor.html">SetTextColor</a> 459 </th> 460 <td>Sets the character and gradation color.(Derived from <CODE><a href="../../../nw/font/CharWriter/Overview.html">CharWriter</a></CODE>)</td> 461 </tr> 462 <tr> 463 <td width="100"> </td> 464 <th> 465 <a href="../../../nw/font/CharWriter/GetTextColor.html">GetTextColor</a> 466 </th> 467 <td>Gets the text character color.(Derived from <CODE><a href="../../../nw/font/CharWriter/Overview.html">CharWriter</a></CODE>)</td> 468 </tr> 469 <tr> 470 <td width="100"> </td> 471 <th> 472 <a href="../../../nw/font/CharWriter/GetGradationStartColor.html">GetGradationStartColor</a> 473 </th> 474 <td>Gets the gradation start color.(Derived from <CODE><a href="../../../nw/font/CharWriter/Overview.html">CharWriter</a></CODE>)</td> 475 </tr> 476 <tr> 477 <td width="100"> </td> 478 <th> 479 <a href="../../../nw/font/CharWriter/GetGradationEndColor.html">GetGradationEndColor</a> 480 </th> 481 <td>Gets the gradation end color.(Derived from <CODE><a href="../../../nw/font/CharWriter/Overview.html">CharWriter</a></CODE>)</td> 482 </tr> 483 <tr> 484 <th class="category" colspan="3">Enlarging/Reducing Characters</th> 485 </tr> 486 <tr> 487 <td width="100"> </td> 488 <th> 489 <a href="../../../nw/font/CharWriter/SetScale.html">SetScale</a> 490 </th> 491 <td>Specifies the magnification ratio to use for a character.(Derived from <CODE><a href="../../../nw/font/CharWriter/Overview.html">CharWriter</a></CODE>)</td> 492 </tr> 493 <tr> 494 <td width="100"> </td> 495 <th> 496 <a href="../../../nw/font/CharWriter/GetScaleH.html">GetScaleH</a> 497 </th> 498 <td>Gets the horizontal magnification ratio of the character.(Derived from <CODE><a href="../../../nw/font/CharWriter/Overview.html">CharWriter</a></CODE>)</td> 499 </tr> 500 <tr> 501 <td width="100"> </td> 502 <th> 503 <a href="../../../nw/font/CharWriter/GetScaleV.html">GetScaleV</a> 504 </th> 505 <td>Gets the vertical magnification ratio of the character.(Derived from <CODE><a href="../../../nw/font/CharWriter/Overview.html">CharWriter</a></CODE>)</td> 506 </tr> 507 <tr> 508 <td width="100"> </td> 509 <th> 510 <a href="../../../nw/font/CharWriter/SetFontSize.html">SetFontSize</a> 511 </th> 512 <td>Specifies the character size.(Derived from <CODE><a href="../../../nw/font/CharWriter/Overview.html">CharWriter</a></CODE>)</td> 513 </tr> 514 <tr> 515 <td width="100"> </td> 516 <th> 517 <a href="../../../nw/font/CharWriter/GetFontWidth.html">GetFontWidth</a> 518 </th> 519 <td>Returns the cell width after enlargement.(Derived from <CODE><a href="../../../nw/font/CharWriter/Overview.html">CharWriter</a></CODE>)</td> 520 </tr> 521 <tr> 522 <td width="100"> </td> 523 <th> 524 <a href="../../../nw/font/CharWriter/GetFontHeight.html">GetFontHeight</a> 525 </th> 526 <td>Gets the cell height after enlargement.(Derived from <CODE><a href="../../../nw/font/CharWriter/Overview.html">CharWriter</a></CODE>)</td> 527 </tr> 528 <tr> 529 <td width="100"> </td> 530 <th> 531 <a href="../../../nw/font/CharWriter/GetFontAscent.html">GetFontAscent</a> 532 </th> 533 <td>Gets the font ascent after magnification.(Derived from <CODE><a href="../../../nw/font/CharWriter/Overview.html">CharWriter</a></CODE>)</td> 534 </tr> 535 <tr> 536 <td width="100"> </td> 537 <th> 538 <a href="../../../nw/font/CharWriter/GetFontDescent.html">GetFontDescent</a> 539 </th> 540 <td>Gets the font descent after magnification.(Derived from <CODE><a href="../../../nw/font/CharWriter/Overview.html">CharWriter</a></CODE>)</td> 541 </tr> 542 <tr> 543 <th class="category" colspan="3">Drawing Fixed-Width Characters</th> 544 </tr> 545 <tr> 546 <td width="100"> </td> 547 <th> 548 <a href="../../../nw/font/CharWriter/EnableFixedWidth.html">EnableFixedWidth</a> 549 </th> 550 <td>Setting to draw fixed-width characters.(Derived from <CODE><a href="../../../nw/font/CharWriter/Overview.html">CharWriter</a></CODE>)</td> 551 </tr> 552 <tr> 553 <td width="100"> </td> 554 <th> 555 <a href="../../../nw/font/CharWriter/IsWidthFixed.html">IsWidthFixed</a> 556 </th> 557 <td>Determines whether characters are drawn as fixed-width.(Derived from <CODE><a href="../../../nw/font/CharWriter/Overview.html">CharWriter</a></CODE>)</td> 558 </tr> 559 <tr> 560 <td width="100"> </td> 561 <th> 562 <a href="../../../nw/font/CharWriter/SetFixedWidth.html">SetFixedWidth</a> 563 </th> 564 <td>Specifies the character width to use when drawing fixed-width characters.(Derived from <CODE><a href="../../../nw/font/CharWriter/Overview.html">CharWriter</a></CODE>)</td> 565 </tr> 566 <tr> 567 <td width="100"> </td> 568 <th> 569 <a href="../../../nw/font/CharWriter/GetFixedWidth.html">GetFixedWidth</a> 570 </th> 571 <td>Specifies the character width to use when drawing fixed-width characters.(Derived from <CODE><a href="../../../nw/font/CharWriter/Overview.html">CharWriter</a></CODE>)</td> 572 </tr> 573 <tr> 574 <th class="category" colspan="3">Text Drawing</th> 575 </tr> 576 <tr> 577 <td width="100"> </td> 578 <th> 579 <a href="../../../nw/font/TextWriterBase/Print.html">Print</a> 580 </th> 581 <td>Draws the characters.</td> 582 </tr> 583 <tr> 584 <td width="100"> </td> 585 <th> 586 <a href="../../../nw/font/CharWriter/DrawGlyph.html">DrawGlyph</a> 587 </th> 588 <td>Draws glyphs.(Derived from <CODE><a href="../../../nw/font/CharWriter/Overview.html">CharWriter</a></CODE>)</td> 589 </tr> 590 <tr> 591 <th class="category" colspan="3">Cursor</th> 592 </tr> 593 <tr> 594 <td width="100"> </td> 595 <th> 596 <a href="../../../nw/font/CharWriter/SetCursor.html">SetCursor</a> 597 </th> 598 <td>Sets the cursor position to the new coordinate that has been specified.(Derived from <CODE><a href="../../../nw/font/CharWriter/Overview.html">CharWriter</a></CODE>)</td> 599 </tr> 600 <tr> 601 <td width="100"> </td> 602 <th> 603 <a href="../../../nw/font/CharWriter/MoveCursor.html">MoveCursor</a> 604 </th> 605 <td>Moves the cursor from its current position by the distance specified.(Derived from <CODE><a href="../../../nw/font/CharWriter/Overview.html">CharWriter</a></CODE>)</td> 606 </tr> 607 <tr> 608 <td width="100"> </td> 609 <th> 610 <a href="../../../nw/font/CharWriter/SetCursorX.html">SetCursorX</a> 611 </th> 612 <td>This function sets the x-coordinate of the cursor.(Derived from <CODE><a href="../../../nw/font/CharWriter/Overview.html">CharWriter</a></CODE>)</td> 613 </tr> 614 <tr> 615 <td width="100"> </td> 616 <th> 617 <a href="../../../nw/font/CharWriter/SetCursorY.html">SetCursorY</a> 618 </th> 619 <td>This function sets the y-coordinate of the cursor.(Derived from <CODE><a href="../../../nw/font/CharWriter/Overview.html">CharWriter</a></CODE>)</td> 620 </tr> 621 <tr> 622 <td width="100"> </td> 623 <th> 624 <a href="../../../nw/font/CharWriter/SetCursorZ.html">SetCursorZ</a> 625 </th> 626 <td>This function sets the z-coordinate of the cursor.(Derived from <CODE><a href="../../../nw/font/CharWriter/Overview.html">CharWriter</a></CODE>)</td> 627 </tr> 628 <tr> 629 <td width="100"> </td> 630 <th> 631 <a href="../../../nw/font/CharWriter/MoveCursorX.html">MoveCursorX</a> 632 </th> 633 <td>Moves the cursor from its current position by the distance specified.(Derived from <CODE><a href="../../../nw/font/CharWriter/Overview.html">CharWriter</a></CODE>)</td> 634 </tr> 635 <tr> 636 <td width="100"> </td> 637 <th> 638 <a href="../../../nw/font/CharWriter/MoveCursorY.html">MoveCursorY</a> 639 </th> 640 <td>Moves the cursor from its current position by the distance specified.(Derived from <CODE><a href="../../../nw/font/CharWriter/Overview.html">CharWriter</a></CODE>)</td> 641 </tr> 642 <tr> 643 <td width="100"> </td> 644 <th> 645 <a href="../../../nw/font/CharWriter/MoveCursorZ.html">MoveCursorZ</a> 646 </th> 647 <td>Moves the cursor from its current position by the distance specified.(Derived from <CODE><a href="../../../nw/font/CharWriter/Overview.html">CharWriter</a></CODE>)</td> 648 </tr> 649 <tr> 650 <td width="100"> </td> 651 <th> 652 <a href="../../../nw/font/CharWriter/GetCursorX.html">GetCursorX</a> 653 </th> 654 <td>This function gets the x-coordinate of the cursor.(Derived from <CODE><a href="../../../nw/font/CharWriter/Overview.html">CharWriter</a></CODE>)</td> 655 </tr> 656 <tr> 657 <td width="100"> </td> 658 <th> 659 <a href="../../../nw/font/CharWriter/GetCursorY.html">GetCursorY</a> 660 </th> 661 <td>This function gets the y-coordinate of the cursor.(Derived from <CODE><a href="../../../nw/font/CharWriter/Overview.html">CharWriter</a></CODE>)</td> 662 </tr> 663 <tr> 664 <td width="100"> </td> 665 <th> 666 <a href="../../../nw/font/CharWriter/GetCursorZ.html">GetCursorZ</a> 667 </th> 668 <td>This function gets the z-coordinate of the cursor.(Derived from <CODE><a href="../../../nw/font/CharWriter/Overview.html">CharWriter</a></CODE>)</td> 669 </tr> 670 <tr> 671 <th class="category" colspan="3">Set/Get Shader-related</th> 672 </tr> 673 <tr> 674 <td width="100"> </td> 675 <th> 676 <a href="../../../nw/font/CharWriter/GetTextWriterResource.html">GetTextWriterResource</a> 677 </th> 678 <td>Gets the <CODE>TextWriterResource</CODE> instance.(Derived from <CODE><a href="../../../nw/font/CharWriter/Overview.html">CharWriter</a></CODE>)</td> 679 </tr> 680 <tr> 681 <td width="100"> </td> 682 <th> 683 <a href="../../../nw/font/CharWriter/SetTextWriterResource.html">SetTextWriterResource</a> 684 </th> 685 <td>Sets the <CODE>TextWriterResource</CODE>instance.(Derived from <CODE><a href="../../../nw/font/CharWriter/Overview.html">CharWriter</a></CODE>)</td> 686 </tr> 687 <tr> 688 <th class="category" colspan="3">Buffer for character string display</th> 689 </tr> 690 <tr> 691 <td width="100"> </td> 692 <th> 693 <a href="../../../nw/font/CharWriter/GetDispStringBuffer.html">GetDispStringBuffer</a> 694 </th> 695 <td>Gets the buffer for displaying a string.(Derived from <CODE><a href="../../../nw/font/CharWriter/Overview.html">CharWriter</a></CODE>)</td> 696 </tr> 697 <tr> 698 <td width="100"> </td> 699 <th> 700 <a href="../../../nw/font/CharWriter/SetDispStringBuffer.html">SetDispStringBuffer</a> 701 </th> 702 <td>Sets the buffer for displaying a string. When <CODE>NULL</CODE> is set, the string display buffer is no longer in use(Derived from <CODE><a href="../../../nw/font/CharWriter/Overview.html">CharWriter</a></CODE>)</td> 703 </tr> 704 <tr> 705 <td width="100"> </td> 706 <th> 707 <a href="../../../nw/font/CharWriter/StartPrint.html">StartPrint</a> 708 </th> 709 <td>Starts drawing of the character string. Used when a buffer has been configured for string display.(Derived from <CODE><a href="../../../nw/font/CharWriter/Overview.html">CharWriter</a></CODE>)</td> 710 </tr> 711 <tr> 712 <td width="100"> </td> 713 <th> 714 <a href="../../../nw/font/CharWriter/EndPrint.html">EndPrint</a> 715 </th> 716 <td>Ends drawing of the character string. Used when a buffer has been configured for string display.(Derived from <CODE><a href="../../../nw/font/CharWriter/Overview.html">CharWriter</a></CODE>)</td> 717 </tr> 718 <tr> 719 <td width="100"> </td> 720 <th> 721 <a href="../../../nw/font/CharWriter/UseCommandBuffer.html">UseCommandBuffer</a> 722 </th> 723 <td>Adds the string display-use command buffer to the current command list.(Derived from <CODE><a href="../../../nw/font/CharWriter/Overview.html">CharWriter</a></CODE>)</td> 724 </tr> 725 <tr> 726 <td width="100"> 727 <span class="static_style" title="static">S</span> </td> 728 <th> 729 <a href="../../../nw/font/CharWriter/GetDispStringBufferSize.html">GetDispStringBufferSize</a> 730 </th> 731 <td>Calculates the size of the buffer for string display.(Derived from <CODE><a href="../../../nw/font/CharWriter/Overview.html">CharWriter</a></CODE>)</td> 732 </tr> 733 <tr> 734 <td width="100"> 735 <span class="static_style" title="static">S</span> </td> 736 <th> 737 <a href="../../../nw/font/CharWriter/InitDispStringBuffer.html">InitDispStringBuffer</a> 738 </th> 739 <td>Initializes a buffer for string display.(Derived from <CODE><a href="../../../nw/font/CharWriter/Overview.html">CharWriter</a></CODE>)</td> 740 </tr> 741 <tr> 742 <th class="category" colspan="3">Format Expansion Buffer</th> 743 </tr> 744 <tr> 745 <td width="100"> 746 <span class="static_style" title="static">S</span> </td> 747 <th> 748 <a href="../../../nw/font/TextWriterBase/SetBuffer.html"><CODE>SetBuffer</CODE></a> 749 </th> 750 <td>Allocates a buffer for extracting formatted text.</td> 751 </tr> 752 <tr> 753 <td width="100"> 754 <span class="static_style" title="static">S</span> </td> 755 <th> 756 <a href="../../../nw/font/TextWriterBase/GetBuffer.html"><CODE>GetBuffer</CODE></a> 757 </th> 758 <td>Gets a pointer to the buffer used to expand the formatted character string.</td> 759 </tr> 760 <tr> 761 <td width="100"> 762 <span class="static_style" title="static">S</span> </td> 763 <th> 764 <a href="../../../nw/font/TextWriterBase/GetBufferSize.html"><CODE>GetBufferSize</CODE></a> 765 </th> 766 <td>Gets the size of the buffer for extracting formatted text.</td> 767 </tr> 768 <tr> 769 <th class="category" colspan="3">Other</th> 770 </tr> 771 <tr> 772 <td width="100"> 773 <span class="static_style" title="static">S</span> </td> 774 <th> 775 <a href="../../../nw/font/TextWriterBase/VSNPrintf.html">VSNPrintf</a> 776 </th> 777 <td> 778 </td> 779 </tr> 780 <tr> 781 <td width="100"> 782 <span class="static_style" title="static">S</span> </td> 783 <th> 784 <a href="../../../nw/font/TextWriterBase/StrLen.html">StrLen</a> 785 </th> 786 <td> 787 </td> 788 </tr> </table> 789 </div> 790 </a> 791 <h2>Class Hierarchy</h2> 792 <div class="section"> 793 <p class="hierarchy"><a href="../../../nw/font/CharWriter/Overview.html">nw::font::CharWriter</a><br /> <b>nw::font::TextWriterBase</b> 794 </p> 795 </div> 796 <h2>Revision History</h2> 797 <div class="section"> 798 <dl class="history"> 799 <dt>2009/10/20</dt> 800 <dd>Initial version.<br /> 801 </dd> 802 </dl> 803 </div> 804 <hr><p>CONFIDENTIAL</p></body> 805</html>