1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>pangomm: Pango::GlyphString Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="doxygen-extra.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td style="padding-left: 0.5em;">
<div id="projectname">pangomm
 <span id="projectnumber">2.40.1</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="classes.html"><span>Class Index</span></a></li>
<li><a href="inherits.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespacePango.html">Pango</a></li><li class="navelem"><a class="el" href="classPango_1_1GlyphString.html">GlyphString</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pub-static-methods">Static Public Member Functions</a> |
<a href="#pro-attribs">Protected Attributes</a> |
<a href="#related">Related Functions</a> |
<a href="classPango_1_1GlyphString-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">Pango::GlyphString Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>A <a class="el" href="classPango_1_1GlyphString.html" title="A Pango::GlyphString is used to store strings of glyphs with geometry and visual attribute informatio...">Pango::GlyphString</a> is used to store strings of glyphs with geometry and visual attribute information.
<a href="classPango_1_1GlyphString.html#details">More...</a></p>
<p><code>#include <pangomm/glyphstring.h></code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ac29d6a3ce00449605ff8c6e72fbcca46"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#ac29d6a3ce00449605ff8c6e72fbcca46">GlyphString</a> ()</td></tr>
<tr class="separator:ac29d6a3ce00449605ff8c6e72fbcca46"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8879d0a1fc961914d2a18bf4ed92c576"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#a8879d0a1fc961914d2a18bf4ed92c576">GlyphString</a> (PangoGlyphString* gobject, bool make_a_copy=true)</td></tr>
<tr class="separator:a8879d0a1fc961914d2a18bf4ed92c576"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a03f6d2972ae4a4259fc119d145479422"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#a03f6d2972ae4a4259fc119d145479422">GlyphString</a> (const <a class="el" href="classPango_1_1GlyphString.html">GlyphString</a>& other)</td></tr>
<tr class="separator:a03f6d2972ae4a4259fc119d145479422"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a25cbfce685aa2f084ab69f748ee14b62"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPango_1_1GlyphString.html">GlyphString</a>& </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#a25cbfce685aa2f084ab69f748ee14b62">operator=</a> (const <a class="el" href="classPango_1_1GlyphString.html">GlyphString</a>& other)</td></tr>
<tr class="separator:a25cbfce685aa2f084ab69f748ee14b62"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6456a0d69a6bb2e6b71988fb363288d8"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#a6456a0d69a6bb2e6b71988fb363288d8">GlyphString</a> (<a class="el" href="classPango_1_1GlyphString.html">GlyphString</a>&& other) noexcept</td></tr>
<tr class="separator:a6456a0d69a6bb2e6b71988fb363288d8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a25453d45da3c07d40e353c61dd5cab09"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPango_1_1GlyphString.html">GlyphString</a>& </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#a25453d45da3c07d40e353c61dd5cab09">operator=</a> (<a class="el" href="classPango_1_1GlyphString.html">GlyphString</a>&& other) noexcept</td></tr>
<tr class="separator:a25453d45da3c07d40e353c61dd5cab09"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2af991b12d9dd9b8cb80b3e4a11470ad"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#a2af991b12d9dd9b8cb80b3e4a11470ad">~GlyphString</a> () noexcept</td></tr>
<tr class="separator:a2af991b12d9dd9b8cb80b3e4a11470ad"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af3523eea50b135aa284f1d3cf2b1048b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#af3523eea50b135aa284f1d3cf2b1048b">swap</a> (<a class="el" href="classPango_1_1GlyphString.html">GlyphString</a>& other) noexcept</td></tr>
<tr class="separator:af3523eea50b135aa284f1d3cf2b1048b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af7e830ec66e6cb9aa330869777aea160"><td class="memItemLeft" align="right" valign="top">PangoGlyphString* </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#af7e830ec66e6cb9aa330869777aea160">gobj</a> ()</td></tr>
<tr class="memdesc:af7e830ec66e6cb9aa330869777aea160"><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C instance. <a href="#af7e830ec66e6cb9aa330869777aea160">More...</a><br /></td></tr>
<tr class="separator:af7e830ec66e6cb9aa330869777aea160"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad4f860a4d37735f5887149ec16d2e6e3"><td class="memItemLeft" align="right" valign="top">const PangoGlyphString* </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#ad4f860a4d37735f5887149ec16d2e6e3">gobj</a> () const </td></tr>
<tr class="memdesc:ad4f860a4d37735f5887149ec16d2e6e3"><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C instance. <a href="#ad4f860a4d37735f5887149ec16d2e6e3">More...</a><br /></td></tr>
<tr class="separator:ad4f860a4d37735f5887149ec16d2e6e3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6b2e13e864bf32139953fef7fc2fd258"><td class="memItemLeft" align="right" valign="top">PangoGlyphString* </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#a6b2e13e864bf32139953fef7fc2fd258">gobj_copy</a> () const </td></tr>
<tr class="memdesc:a6b2e13e864bf32139953fef7fc2fd258"><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs. <a href="#a6b2e13e864bf32139953fef7fc2fd258">More...</a><br /></td></tr>
<tr class="separator:a6b2e13e864bf32139953fef7fc2fd258"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a06f9871e9c2793b46c809825baa7295a"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#a06f9871e9c2793b46c809825baa7295a">GlyphString</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& text, const <a class="el" href="classPango_1_1Analysis.html">Analysis</a>& analysis)</td></tr>
<tr class="memdesc:a06f9871e9c2793b46c809825baa7295a"><td class="mdescLeft"> </td><td class="mdescRight">Construct a string of glyphs from a string of characters. <a href="#a06f9871e9c2793b46c809825baa7295a">More...</a><br /></td></tr>
<tr class="separator:a06f9871e9c2793b46c809825baa7295a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a446ec301b0bf0c3d514b59ba510388e8"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#a446ec301b0bf0c3d514b59ba510388e8">set_size</a> (int new_len)</td></tr>
<tr class="memdesc:a446ec301b0bf0c3d514b59ba510388e8"><td class="mdescLeft"> </td><td class="mdescRight">Resize a glyph string to the given length. <a href="#a446ec301b0bf0c3d514b59ba510388e8">More...</a><br /></td></tr>
<tr class="separator:a446ec301b0bf0c3d514b59ba510388e8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a945c47efcda68e432af2df3d01e997cd"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#a945c47efcda68e432af2df3d01e997cd">get_extents</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< const <a class="el" href="classPango_1_1Font.html">Font</a> >& font, <a class="el" href="classPango_1_1Rectangle.html">Rectangle</a>& ink_rect, <a class="el" href="classPango_1_1Rectangle.html">Rectangle</a>& logical_rect) const </td></tr>
<tr class="memdesc:a945c47efcda68e432af2df3d01e997cd"><td class="mdescLeft"> </td><td class="mdescRight">Compute the logical and ink extents of a glyph string. <a href="#a945c47efcda68e432af2df3d01e997cd">More...</a><br /></td></tr>
<tr class="separator:a945c47efcda68e432af2df3d01e997cd"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2f62adbdf08166a47fe7c928bb358d6b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#a2f62adbdf08166a47fe7c928bb358d6b">get_extents</a> (int <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01656.html#ga1bd4227a2c4a6cc74342b797384fbab2">start</a>, int <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01656.html#ga791b934fd29c64f6f220effd72dedfe4">end</a>, const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< const <a class="el" href="classPango_1_1Font.html">Font</a> >& font, <a class="el" href="classPango_1_1Rectangle.html">Rectangle</a>& ink_rect, <a class="el" href="classPango_1_1Rectangle.html">Rectangle</a>& logical_rect) const </td></tr>
<tr class="memdesc:a2f62adbdf08166a47fe7c928bb358d6b"><td class="mdescLeft"> </td><td class="mdescRight">Computes the extents of a sub-portion of a glyph string. <a href="#a2f62adbdf08166a47fe7c928bb358d6b">More...</a><br /></td></tr>
<tr class="separator:a2f62adbdf08166a47fe7c928bb358d6b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9dc40d79a0ab939aadfc32ecf48cd20b"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#a9dc40d79a0ab939aadfc32ecf48cd20b">get_width</a> () const </td></tr>
<tr class="memdesc:a9dc40d79a0ab939aadfc32ecf48cd20b"><td class="mdescLeft"> </td><td class="mdescRight">Computes the logical width of the glyph string as can also be computed using extents(). <a href="#a9dc40d79a0ab939aadfc32ecf48cd20b">More...</a><br /></td></tr>
<tr class="separator:a9dc40d79a0ab939aadfc32ecf48cd20b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab0d91082aeae16b939573d8588f30834"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPango_1_1Rectangle.html">Rectangle</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#ab0d91082aeae16b939573d8588f30834">get_ink_extents</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< const <a class="el" href="classPango_1_1Font.html">Font</a> >& font) const </td></tr>
<tr class="memdesc:ab0d91082aeae16b939573d8588f30834"><td class="mdescLeft"> </td><td class="mdescRight">Computes the extents of the glyph string as drawn. <a href="#ab0d91082aeae16b939573d8588f30834">More...</a><br /></td></tr>
<tr class="separator:ab0d91082aeae16b939573d8588f30834"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af498e0b501b28fdc3248b05377f196aa"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPango_1_1Rectangle.html">Rectangle</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#af498e0b501b28fdc3248b05377f196aa">get_ink_extents</a> (int <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01656.html#ga1bd4227a2c4a6cc74342b797384fbab2">start</a>, int <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01656.html#ga791b934fd29c64f6f220effd72dedfe4">end</a>, const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< const <a class="el" href="classPango_1_1Font.html">Font</a> >& font) const </td></tr>
<tr class="memdesc:af498e0b501b28fdc3248b05377f196aa"><td class="mdescLeft"> </td><td class="mdescRight">Computes the extents of a sub-portion of the glyph string as drawn. <a href="#af498e0b501b28fdc3248b05377f196aa">More...</a><br /></td></tr>
<tr class="separator:af498e0b501b28fdc3248b05377f196aa"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4a5f048d2107d216222a2b820b1200e5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPango_1_1Rectangle.html">Rectangle</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#a4a5f048d2107d216222a2b820b1200e5">get_logical_extents</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< const <a class="el" href="classPango_1_1Font.html">Font</a> >& font) const </td></tr>
<tr class="memdesc:a4a5f048d2107d216222a2b820b1200e5"><td class="mdescLeft"> </td><td class="mdescRight">Computes the logical extents of a sub-portion of the glyph string. <a href="#a4a5f048d2107d216222a2b820b1200e5">More...</a><br /></td></tr>
<tr class="separator:a4a5f048d2107d216222a2b820b1200e5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9e9ad8895efeefeac889be88b259dc06"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPango_1_1Rectangle.html">Rectangle</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#a9e9ad8895efeefeac889be88b259dc06">get_logical_extents</a> (int <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01656.html#ga1bd4227a2c4a6cc74342b797384fbab2">start</a>, int <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01656.html#ga791b934fd29c64f6f220effd72dedfe4">end</a>, const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< const <a class="el" href="classPango_1_1Font.html">Font</a> >& font) const </td></tr>
<tr class="memdesc:a9e9ad8895efeefeac889be88b259dc06"><td class="mdescLeft"> </td><td class="mdescRight">Computes the logical extents of a sub-portion of the glyph string. <a href="#a9e9ad8895efeefeac889be88b259dc06">More...</a><br /></td></tr>
<tr class="separator:a9e9ad8895efeefeac889be88b259dc06"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a093fb31945a639510d314e990a347cee"><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ArrayHandle.html">Glib::ArrayHandle</a>< int > </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#a093fb31945a639510d314e990a347cee">get_logical_widths</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& text, int embedding_level) const </td></tr>
<tr class="memdesc:a093fb31945a639510d314e990a347cee"><td class="mdescLeft"> </td><td class="mdescRight">Determine the screen width corresponding to each character. <a href="#a093fb31945a639510d314e990a347cee">More...</a><br /></td></tr>
<tr class="separator:a093fb31945a639510d314e990a347cee"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0c0e3b8f357ac1c3cc090522c8ad69d2"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#a0c0e3b8f357ac1c3cc090522c8ad69d2">index_to_x</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& text, const <a class="el" href="classPango_1_1Analysis.html">Analysis</a>& analysis, int index, bool trailing) const </td></tr>
<tr class="memdesc:a0c0e3b8f357ac1c3cc090522c8ad69d2"><td class="mdescLeft"> </td><td class="mdescRight">Converts from character position to x position. <a href="#a0c0e3b8f357ac1c3cc090522c8ad69d2">More...</a><br /></td></tr>
<tr class="separator:a0c0e3b8f357ac1c3cc090522c8ad69d2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac443c47d3718ffd24f3ce2dd7364ddc6"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#ac443c47d3718ffd24f3ce2dd7364ddc6">x_to_index</a> (const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>& text, const <a class="el" href="classPango_1_1Analysis.html">Analysis</a>& analysis, int x_pos, int& index, bool& trailing) const </td></tr>
<tr class="memdesc:ac443c47d3718ffd24f3ce2dd7364ddc6"><td class="mdescLeft"> </td><td class="mdescRight">Convert from x offset to character position. <a href="#ac443c47d3718ffd24f3ce2dd7364ddc6">More...</a><br /></td></tr>
<tr class="separator:ac443c47d3718ffd24f3ce2dd7364ddc6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7b817f9587cfe74b59b3df6f5493194f"><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ArrayHandle.html">Glib::ArrayHandle</a>< <a class="el" href="classPango_1_1GlyphInfo.html">GlyphInfo</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#a7b817f9587cfe74b59b3df6f5493194f">get_glyphs</a> () const </td></tr>
<tr class="memdesc:a7b817f9587cfe74b59b3df6f5493194f"><td class="mdescLeft"> </td><td class="mdescRight">Gharacter positions are computed by dividing up each cluster into equal portions. <a href="#a7b817f9587cfe74b59b3df6f5493194f">More...</a><br /></td></tr>
<tr class="separator:a7b817f9587cfe74b59b3df6f5493194f"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a245faf2053d231e416d3a5c812e0d6ec"><td class="memItemLeft" align="right" valign="top">static GType </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#a245faf2053d231e416d3a5c812e0d6ec">get_type</a> ()</td></tr>
<tr class="memdesc:a245faf2053d231e416d3a5c812e0d6ec"><td class="mdescLeft"> </td><td class="mdescRight">Get the GType for this class, for use with the underlying GObject type system. <a href="#a245faf2053d231e416d3a5c812e0d6ec">More...</a><br /></td></tr>
<tr class="separator:a245faf2053d231e416d3a5c812e0d6ec"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a1615a5d9dfe76a4cd662eaffee20d258"><td class="memItemLeft" align="right" valign="top">PangoGlyphString* </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#a1615a5d9dfe76a4cd662eaffee20d258">gobject_</a></td></tr>
<tr class="separator:a1615a5d9dfe76a4cd662eaffee20d258"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="related"></a>
Related Functions</h2></td></tr>
<tr><td class="ititle" colspan="2"><p>(Note that these are not member functions.) </p>
</td></tr>
<tr class="memitem:a7d6dbfa25ef865ba316af86a9067f054"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#a7d6dbfa25ef865ba316af86a9067f054">swap</a> (<a class="el" href="classPango_1_1GlyphString.html">GlyphString</a>& lhs, <a class="el" href="classPango_1_1GlyphString.html">GlyphString</a>& rhs) noexcept</td></tr>
<tr class="separator:a7d6dbfa25ef865ba316af86a9067f054"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a38d43ebbd3017f3c304cec5b0eebc818"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPango_1_1GlyphString.html">Pango::GlyphString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1GlyphString.html#a38d43ebbd3017f3c304cec5b0eebc818">wrap</a> (PangoGlyphString* object, bool take_copy=false)</td></tr>
<tr class="memdesc:a38d43ebbd3017f3c304cec5b0eebc818"><td class="mdescLeft"> </td><td class="mdescRight">A <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#a38d43ebbd3017f3c304cec5b0eebc818">More...</a><br /></td></tr>
<tr class="separator:a38d43ebbd3017f3c304cec5b0eebc818"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A <a class="el" href="classPango_1_1GlyphString.html" title="A Pango::GlyphString is used to store strings of glyphs with geometry and visual attribute informatio...">Pango::GlyphString</a> is used to store strings of glyphs with geometry and visual attribute information. </p>
<p>It can be measured or drawn to the screen. </p>
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a class="anchor" id="ac29d6a3ce00449605ff8c6e72fbcca46"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Pango::GlyphString::GlyphString </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a8879d0a1fc961914d2a18bf4ed92c576"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">Pango::GlyphString::GlyphString </td>
<td>(</td>
<td class="paramtype">PangoGlyphString * </td>
<td class="paramname"><em>gobject</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>make_a_copy</em> = <code>true</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a03f6d2972ae4a4259fc119d145479422"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Pango::GlyphString::GlyphString </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classPango_1_1GlyphString.html">GlyphString</a>& </td>
<td class="paramname"><em>other</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a6456a0d69a6bb2e6b71988fb363288d8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">Pango::GlyphString::GlyphString </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classPango_1_1GlyphString.html">GlyphString</a>&& </td>
<td class="paramname"><em>other</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a2af991b12d9dd9b8cb80b3e4a11470ad"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">Pango::GlyphString::~GlyphString </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a06f9871e9c2793b46c809825baa7295a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Pango::GlyphString::GlyphString </td>
<td>(</td>
<td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
<td class="paramname"><em>text</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classPango_1_1Analysis.html">Analysis</a>& </td>
<td class="paramname"><em>analysis</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Construct a string of glyphs from a string of characters. </p>
<p>Given a segment of text and the corresponding <a class="el" href="classPango_1_1Analysis.html" title="A Pango::Analysis stores information about the properties of a segment of text. ">Pango::Analysis</a> structure returned from <a class="el" href="classPango_1_1Context.html#ab80e5e65f30473eb4db512fb7eab042c" title="Breaks a piece of text into segments with consistent directional level and shaping engine...">Pango::Context::itemize()</a>, convert the characters into glyphs. You may also pass in only a sub-string of the item. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">text</td><td>The text to process. You must pass the same string into those member functions expecting a const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a>&. </td></tr>
<tr><td class="paramname">analysis</td><td>The analysis information return from <a class="el" href="classPango_1_1Context.html#ab80e5e65f30473eb4db512fb7eab042c" title="Breaks a piece of text into segments with consistent directional level and shaping engine...">Pango::Context::itemize()</a>. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a945c47efcda68e432af2df3d01e997cd"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Pango::GlyphString::get_extents </td>
<td>(</td>
<td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< const <a class="el" href="classPango_1_1Font.html">Font</a> >& </td>
<td class="paramname"><em>font</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classPango_1_1Rectangle.html">Rectangle</a>& </td>
<td class="paramname"><em>ink_rect</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classPango_1_1Rectangle.html">Rectangle</a>& </td>
<td class="paramname"><em>logical_rect</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Compute the logical and ink extents of a glyph string. </p>
<p>See the documentation for <a class="el" href="classPango_1_1Font.html#a7fc06adf5a1b63a1b97c6b3fe7e417c5" title="Gets the logical and ink extents of a glyph within a font. ">Pango::Font::get_glyph_extents()</a> for details about the interpretation of the rectangles.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">font</td><td>A <a class="el" href="classPango_1_1Font.html" title="A Pango::Font is used to represent a font in a rendering-system-independent matter. ">Pango::Font</a>. </td></tr>
<tr><td class="paramname">ink_rect</td><td><a class="el" href="classPango_1_1Rectangle.html" title="A Pango::Rectangle represents a rectangle. ">Rectangle</a> used to store the extents of the glyph string as drawn. </td></tr>
<tr><td class="paramname">logical_rect</td><td><a class="el" href="classPango_1_1Rectangle.html" title="A Pango::Rectangle represents a rectangle. ">Rectangle</a> used to store the logical extents of the glyph string. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a2f62adbdf08166a47fe7c928bb358d6b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Pango::GlyphString::get_extents </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>start</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>end</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< const <a class="el" href="classPango_1_1Font.html">Font</a> >& </td>
<td class="paramname"><em>font</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classPango_1_1Rectangle.html">Rectangle</a>& </td>
<td class="paramname"><em>ink_rect</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classPango_1_1Rectangle.html">Rectangle</a>& </td>
<td class="paramname"><em>logical_rect</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Computes the extents of a sub-portion of a glyph string. </p>
<p>The extents are relative to the start of the glyph string range (the origin of their coordinate system is at the start of the range, not at the start of the entire glyph string).</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">start</td><td>Start index. </td></tr>
<tr><td class="paramname">end</td><td>End index (the range is the set of bytes with indices such that start <= index < end). </td></tr>
<tr><td class="paramname">font</td><td>A <a class="el" href="classPango_1_1Font.html" title="A Pango::Font is used to represent a font in a rendering-system-independent matter. ">Pango::Font</a>. </td></tr>
<tr><td class="paramname">ink_rect</td><td><a class="el" href="classPango_1_1Rectangle.html" title="A Pango::Rectangle represents a rectangle. ">Rectangle</a> used to store the extents of the glyph string range as drawn. </td></tr>
<tr><td class="paramname">logical_rect</td><td><a class="el" href="classPango_1_1Rectangle.html" title="A Pango::Rectangle represents a rectangle. ">Rectangle</a> used to store the logical extents of the glyph string range. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a7b817f9587cfe74b59b3df6f5493194f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ArrayHandle.html">Glib::ArrayHandle</a><<a class="el" href="classPango_1_1GlyphInfo.html">GlyphInfo</a>> Pango::GlyphString::get_glyphs </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Gharacter positions are computed by dividing up each cluster into equal portions. </p>
<dl class="section return"><dt>Returns</dt><dd>An array of <a class="el" href="classPango_1_1GlyphInfo.html" title="A Pango::GlyphInfo represents a single glyph together with positioning information and visual attribu...">Pango::GlyphInfo</a> objects. </dd></dl>
</div>
</div>
<a class="anchor" id="ab0d91082aeae16b939573d8588f30834"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classPango_1_1Rectangle.html">Rectangle</a> Pango::GlyphString::get_ink_extents </td>
<td>(</td>
<td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< const <a class="el" href="classPango_1_1Font.html">Font</a> >& </td>
<td class="paramname"><em>font</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Computes the extents of the glyph string as drawn. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">font</td><td>A <a class="el" href="classPango_1_1Font.html" title="A Pango::Font is used to represent a font in a rendering-system-independent matter. ">Pango::Font</a>. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The extents of the glyph string as drawn. </dd></dl>
</div>
</div>
<a class="anchor" id="af498e0b501b28fdc3248b05377f196aa"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classPango_1_1Rectangle.html">Rectangle</a> Pango::GlyphString::get_ink_extents </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>start</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>end</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< const <a class="el" href="classPango_1_1Font.html">Font</a> >& </td>
<td class="paramname"><em>font</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Computes the extents of a sub-portion of the glyph string as drawn. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">start</td><td>The start index. </td></tr>
<tr><td class="paramname">end</td><td>The end index. </td></tr>
<tr><td class="paramname">font</td><td>A Panog::Font </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The extents of the sub-portion of the glyph string as drawn. </dd></dl>
</div>
</div>
<a class="anchor" id="a4a5f048d2107d216222a2b820b1200e5"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classPango_1_1Rectangle.html">Rectangle</a> Pango::GlyphString::get_logical_extents </td>
<td>(</td>
<td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< const <a class="el" href="classPango_1_1Font.html">Font</a> >& </td>
<td class="paramname"><em>font</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Computes the logical extents of a sub-portion of the glyph string. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">font</td><td>A <a class="el" href="classPango_1_1Font.html" title="A Pango::Font is used to represent a font in a rendering-system-independent matter. ">Pango::Font</a>. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The logical extents of the glyph string. </dd></dl>
</div>
</div>
<a class="anchor" id="a9e9ad8895efeefeac889be88b259dc06"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classPango_1_1Rectangle.html">Rectangle</a> Pango::GlyphString::get_logical_extents </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>start</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>end</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1RefPtr.html">Glib::RefPtr</a>< const <a class="el" href="classPango_1_1Font.html">Font</a> >& </td>
<td class="paramname"><em>font</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Computes the logical extents of a sub-portion of the glyph string. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">start</td><td>The start index. </td></tr>
<tr><td class="paramname">end</td><td>The end index. </td></tr>
<tr><td class="paramname">font</td><td>A <a class="el" href="classPango_1_1Font.html" title="A Pango::Font is used to represent a font in a rendering-system-independent matter. ">Pango::Font</a>. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The logical extents of the sub-portion of the glyph string. </dd></dl>
</div>
</div>
<a class="anchor" id="a093fb31945a639510d314e990a347cee"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ArrayHandle.html">Glib::ArrayHandle</a><int> Pango::GlyphString::get_logical_widths </td>
<td>(</td>
<td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
<td class="paramname"><em>text</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>embedding_level</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Determine the screen width corresponding to each character. </p>
<p>When multiple characters compose a single cluster, the width of the entire cluster is divided equally among the characters. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">text</td><td>The text corresponding to the glyphs. </td></tr>
<tr><td class="paramname">embedding_level</td><td>The embedding level of the string. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>An array of integers representing the resulting character widths. </dd></dl>
</div>
</div>
<a class="anchor" id="a245faf2053d231e416d3a5c812e0d6ec"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static GType Pango::GlyphString::get_type </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the GType for this class, for use with the underlying GObject type system. </p>
</div>
</div>
<a class="anchor" id="a9dc40d79a0ab939aadfc32ecf48cd20b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int Pango::GlyphString::get_width </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Computes the logical width of the glyph string as can also be computed using extents(). </p>
<p>However, since this only computes the width, it's much faster. This is in fact only a convenience function that computes the sum of geometry.width for each glyph in the <em>glyphs</em>.</p>
<dl class="since_1_14"><dt><b><a class="el" href="since_1_14.html#_since_1_14000002">Since pangomm 1.14:</a></b></dt><dd></dd></dl>
<dl class="section return"><dt>Returns</dt><dd>The logical width of the glyph string. </dd></dl>
</div>
</div>
<a class="anchor" id="af7e830ec66e6cb9aa330869777aea160"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">PangoGlyphString* Pango::GlyphString::gobj </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Provides access to the underlying C instance. </p>
</div>
</div>
<a class="anchor" id="ad4f860a4d37735f5887149ec16d2e6e3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const PangoGlyphString* Pango::GlyphString::gobj </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Provides access to the underlying C instance. </p>
</div>
</div>
<a class="anchor" id="a6b2e13e864bf32139953fef7fc2fd258"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">PangoGlyphString* Pango::GlyphString::gobj_copy </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Provides access to the underlying C instance. The caller is responsible for freeing it. Use when directly setting fields in structs. </p>
</div>
</div>
<a class="anchor" id="a0c0e3b8f357ac1c3cc090522c8ad69d2"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int Pango::GlyphString::index_to_x </td>
<td>(</td>
<td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
<td class="paramname"><em>text</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classPango_1_1Analysis.html">Analysis</a>& </td>
<td class="paramname"><em>analysis</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>index</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>trailing</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Converts from character position to x position. </p>
<p>(X position is measured from the left edge of the run). Character positions are computed by dividing up each cluster into equal portions. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">text</td><td>The text corresponding to the glyphs. </td></tr>
<tr><td class="paramname">analysis</td><td>The analysis information return from <a class="el" href="classPango_1_1Context.html#ab80e5e65f30473eb4db512fb7eab042c" title="Breaks a piece of text into segments with consistent directional level and shaping engine...">Pango::Context::itemize()</a>. </td></tr>
<tr><td class="paramname">index</td><td>The byte index within text. </td></tr>
<tr><td class="paramname">trailing</td><td>Whether we should compute the result for the beginning or end of the character. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The x position. </dd></dl>
</div>
</div>
<a class="anchor" id="a25cbfce685aa2f084ab69f748ee14b62"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classPango_1_1GlyphString.html">GlyphString</a>& Pango::GlyphString::operator= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classPango_1_1GlyphString.html">GlyphString</a>& </td>
<td class="paramname"><em>other</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a25453d45da3c07d40e353c61dd5cab09"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classPango_1_1GlyphString.html">GlyphString</a>& Pango::GlyphString::operator= </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classPango_1_1GlyphString.html">GlyphString</a>&& </td>
<td class="paramname"><em>other</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a446ec301b0bf0c3d514b59ba510388e8"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Pango::GlyphString::set_size </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>new_len</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Resize a glyph string to the given length. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">new_len</td><td>The new length of the string. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="af3523eea50b135aa284f1d3cf2b1048b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void Pango::GlyphString::swap </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classPango_1_1GlyphString.html">GlyphString</a>& </td>
<td class="paramname"><em>other</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="ac443c47d3718ffd24f3ce2dd7364ddc6"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Pango::GlyphString::x_to_index </td>
<td>(</td>
<td class="paramtype">const <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ustring.html">Glib::ustring</a> & </td>
<td class="paramname"><em>text</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classPango_1_1Analysis.html">Analysis</a>& </td>
<td class="paramname"><em>analysis</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>x_pos</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int & </td>
<td class="paramname"><em>index</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool & </td>
<td class="paramname"><em>trailing</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Convert from x offset to character position. </p>
<p>Character positions are computed by dividing up each cluster into equal portions. In scripts where positioning within a cluster is not allowed (such as Thai), the returned value may not be a valid cursor position; the caller must combine the result with the logical attributes for the text to compute the valid cursor position. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">text</td><td>The text corresponding to the glyphs. </td></tr>
<tr><td class="paramname">analysis</td><td>The analysis information return from <a class="el" href="classPango_1_1Context.html#ab80e5e65f30473eb4db512fb7eab042c" title="Breaks a piece of text into segments with consistent directional level and shaping engine...">Pango::Context::itemize()</a>. </td></tr>
<tr><td class="paramname">x_pos</td><td>The x offset (in thousands of a device unit). </td></tr>
<tr><td class="paramname">index</td><td>The location to store calculated byte index within. </td></tr>
<tr><td class="paramname">trailing</td><td>The location to store a boolean indicating whether the user clicked on the leading or trailing edge of the character. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a class="anchor" id="a7d6dbfa25ef865ba316af86a9067f054"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void swap </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classPango_1_1GlyphString.html">GlyphString</a>& </td>
<td class="paramname"><em>lhs</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classPango_1_1GlyphString.html">GlyphString</a>& </td>
<td class="paramname"><em>rhs</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">lhs</td><td>The left-hand side </td></tr>
<tr><td class="paramname">rhs</td><td>The right-hand side </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a38d43ebbd3017f3c304cec5b0eebc818"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classPango_1_1GlyphString.html">Pango::GlyphString</a> wrap </td>
<td>(</td>
<td class="paramtype">PangoGlyphString * </td>
<td class="paramname"><em>object</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>take_copy</em> = <code>false</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>A <a class="elRef" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">object</td><td>The C instance. </td></tr>
<tr><td class="paramname">take_copy</td><td>False if the result should take ownership of the C instance. True if it should take a new copy or ref. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A C++ instance that wraps this C instance. </dd></dl>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a1615a5d9dfe76a4cd662eaffee20d258"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">PangoGlyphString* Pango::GlyphString::gobject_</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Aug 19 2016 15:59:16 for pangomm by  <a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>
|