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 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231
|
<!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::FontDescription 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_1FontDescription.html">FontDescription</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_1FontDescription-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">Pango::FontDescription Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>A <a class="el" href="classPango_1_1FontDescription.html" title="A Pango::FontDescription represents the description of an ideal font. ">Pango::FontDescription</a> represents the description of an ideal font.
<a href="classPango_1_1FontDescription.html#details">More...</a></p>
<p><code>#include <pangomm/fontdescription.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:afdb36b4b7c50cb97c12300fe85349533"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#afdb36b4b7c50cb97c12300fe85349533">FontDescription</a> ()</td></tr>
<tr class="separator:afdb36b4b7c50cb97c12300fe85349533"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a16211764b726945ba2d7ddc3d8f74b20"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#a16211764b726945ba2d7ddc3d8f74b20">FontDescription</a> (PangoFontDescription* gobject, bool make_a_copy=true)</td></tr>
<tr class="separator:a16211764b726945ba2d7ddc3d8f74b20"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af52b80020f13a446e1a66c07b7a525d0"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#af52b80020f13a446e1a66c07b7a525d0">FontDescription</a> (const <a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>& other)</td></tr>
<tr class="separator:af52b80020f13a446e1a66c07b7a525d0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3d7bd8a331801a69058145f3bbc01994"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>& </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#a3d7bd8a331801a69058145f3bbc01994">operator=</a> (const <a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>& other)</td></tr>
<tr class="separator:a3d7bd8a331801a69058145f3bbc01994"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aee4c5619669e6abc5bb7bc12626607af"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#aee4c5619669e6abc5bb7bc12626607af">FontDescription</a> (<a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>&& other) noexcept</td></tr>
<tr class="separator:aee4c5619669e6abc5bb7bc12626607af"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a70dea4acc3b22e0daad8374d94d21e60"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>& </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#a70dea4acc3b22e0daad8374d94d21e60">operator=</a> (<a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>&& other) noexcept</td></tr>
<tr class="separator:a70dea4acc3b22e0daad8374d94d21e60"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af1dc7cbdd91a9e807e64350de4af32fd"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#af1dc7cbdd91a9e807e64350de4af32fd">~FontDescription</a> () noexcept</td></tr>
<tr class="separator:af1dc7cbdd91a9e807e64350de4af32fd"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1cd01bd59ed3aa8540f6cfbbf990b7e7"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#a1cd01bd59ed3aa8540f6cfbbf990b7e7">swap</a> (<a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>& other) noexcept</td></tr>
<tr class="separator:a1cd01bd59ed3aa8540f6cfbbf990b7e7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7ec35a7accdc8a55eebc9b5dfd4939bb"><td class="memItemLeft" align="right" valign="top">PangoFontDescription* </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#a7ec35a7accdc8a55eebc9b5dfd4939bb">gobj</a> ()</td></tr>
<tr class="memdesc:a7ec35a7accdc8a55eebc9b5dfd4939bb"><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C instance. <a href="#a7ec35a7accdc8a55eebc9b5dfd4939bb">More...</a><br /></td></tr>
<tr class="separator:a7ec35a7accdc8a55eebc9b5dfd4939bb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab11803b348ef4da415fc12f99d5ad71a"><td class="memItemLeft" align="right" valign="top">const PangoFontDescription* </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#ab11803b348ef4da415fc12f99d5ad71a">gobj</a> () const </td></tr>
<tr class="memdesc:ab11803b348ef4da415fc12f99d5ad71a"><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C instance. <a href="#ab11803b348ef4da415fc12f99d5ad71a">More...</a><br /></td></tr>
<tr class="separator:ab11803b348ef4da415fc12f99d5ad71a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7a7178ac7e2bbefcff35866f5ffd1ceb"><td class="memItemLeft" align="right" valign="top">PangoFontDescription* </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#a7a7178ac7e2bbefcff35866f5ffd1ceb">gobj_copy</a> () const </td></tr>
<tr class="memdesc:a7a7178ac7e2bbefcff35866f5ffd1ceb"><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="#a7a7178ac7e2bbefcff35866f5ffd1ceb">More...</a><br /></td></tr>
<tr class="separator:a7a7178ac7e2bbefcff35866f5ffd1ceb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af7382a2b612391bfaa9c3f94a6d6028d"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#af7382a2b612391bfaa9c3f94a6d6028d">FontDescription</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>& font_name)</td></tr>
<tr class="memdesc:af7382a2b612391bfaa9c3f94a6d6028d"><td class="mdescLeft"> </td><td class="mdescRight">Constructs a font description from a string representation. <a href="#af7382a2b612391bfaa9c3f94a6d6028d">More...</a><br /></td></tr>
<tr class="separator:af7382a2b612391bfaa9c3f94a6d6028d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad23386ceb3e3c33d4dcf5ec0f5b0448b"><td class="memItemLeft" align="right" valign="top">guint </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#ad23386ceb3e3c33d4dcf5ec0f5b0448b">hash</a> () const </td></tr>
<tr class="memdesc:ad23386ceb3e3c33d4dcf5ec0f5b0448b"><td class="mdescLeft"> </td><td class="mdescRight">Computes a hash of a <a class="el" href="classPango_1_1FontDescription.html" title="A Pango::FontDescription represents the description of an ideal font. ">Pango::FontDescription</a> structure suitable to be used, for example, as an argument to Glib::hash_table_new(). <a href="#ad23386ceb3e3c33d4dcf5ec0f5b0448b">More...</a><br /></td></tr>
<tr class="separator:ad23386ceb3e3c33d4dcf5ec0f5b0448b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad205777ae3b5ea70c02d5563186faca3"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#ad205777ae3b5ea70c02d5563186faca3">set_family</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>& family)</td></tr>
<tr class="memdesc:ad205777ae3b5ea70c02d5563186faca3"><td class="mdescLeft"> </td><td class="mdescRight">Sets the family name field of a font description. <a href="#ad205777ae3b5ea70c02d5563186faca3">More...</a><br /></td></tr>
<tr class="separator:ad205777ae3b5ea70c02d5563186faca3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:acff7e1b4779e8ed2286f2b8b3a6752b1"><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_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#acff7e1b4779e8ed2286f2b8b3a6752b1">get_family</a> () const </td></tr>
<tr class="memdesc:acff7e1b4779e8ed2286f2b8b3a6752b1"><td class="mdescLeft"> </td><td class="mdescRight">Gets the family name field of a font description. <a href="#acff7e1b4779e8ed2286f2b8b3a6752b1">More...</a><br /></td></tr>
<tr class="separator:acff7e1b4779e8ed2286f2b8b3a6752b1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae3aae73142d165637fd81a8e7853dc75"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#ae3aae73142d165637fd81a8e7853dc75">set_style</a> (<a class="el" href="group__pangommEnums.html#ga0a57bd35d5acd409367672e19b67e2f5">Style</a> style)</td></tr>
<tr class="memdesc:ae3aae73142d165637fd81a8e7853dc75"><td class="mdescLeft"> </td><td class="mdescRight">Sets the style field of a <a class="el" href="classPango_1_1FontDescription.html" title="A Pango::FontDescription represents the description of an ideal font. ">Pango::FontDescription</a>. <a href="#ae3aae73142d165637fd81a8e7853dc75">More...</a><br /></td></tr>
<tr class="separator:ae3aae73142d165637fd81a8e7853dc75"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3185cf480eed5c31d5e6ea8166d7f9b2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__pangommEnums.html#ga0a57bd35d5acd409367672e19b67e2f5">Style</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#a3185cf480eed5c31d5e6ea8166d7f9b2">get_style</a> () const </td></tr>
<tr class="memdesc:a3185cf480eed5c31d5e6ea8166d7f9b2"><td class="mdescLeft"> </td><td class="mdescRight">Gets the style field of a <a class="el" href="classPango_1_1FontDescription.html" title="A Pango::FontDescription represents the description of an ideal font. ">Pango::FontDescription</a>. <a href="#a3185cf480eed5c31d5e6ea8166d7f9b2">More...</a><br /></td></tr>
<tr class="separator:a3185cf480eed5c31d5e6ea8166d7f9b2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aeb5d904401a98d6461ffc8a441a8380d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#aeb5d904401a98d6461ffc8a441a8380d">set_variant</a> (<a class="el" href="group__pangommEnums.html#ga30ba1457cecb545a04d1f029ca0e86ed">Variant</a> variant)</td></tr>
<tr class="memdesc:aeb5d904401a98d6461ffc8a441a8380d"><td class="mdescLeft"> </td><td class="mdescRight">Sets the variant field of a font description. <a href="#aeb5d904401a98d6461ffc8a441a8380d">More...</a><br /></td></tr>
<tr class="separator:aeb5d904401a98d6461ffc8a441a8380d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4ee40fab911737367bf6816b1e038704"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__pangommEnums.html#ga30ba1457cecb545a04d1f029ca0e86ed">Variant</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#a4ee40fab911737367bf6816b1e038704">get_variant</a> () const </td></tr>
<tr class="memdesc:a4ee40fab911737367bf6816b1e038704"><td class="mdescLeft"> </td><td class="mdescRight">Gets the variant field of a <a class="el" href="classPango_1_1FontDescription.html" title="A Pango::FontDescription represents the description of an ideal font. ">Pango::FontDescription</a>. <a href="#a4ee40fab911737367bf6816b1e038704">More...</a><br /></td></tr>
<tr class="separator:a4ee40fab911737367bf6816b1e038704"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a96e12760e3cbb25123bb26172c662864"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#a96e12760e3cbb25123bb26172c662864">set_weight</a> (<a class="el" href="group__pangommEnums.html#ga12a1faf309bdcddde041a732070970f4">Weight</a> weight)</td></tr>
<tr class="memdesc:a96e12760e3cbb25123bb26172c662864"><td class="mdescLeft"> </td><td class="mdescRight">Sets the weight field of a font description. <a href="#a96e12760e3cbb25123bb26172c662864">More...</a><br /></td></tr>
<tr class="separator:a96e12760e3cbb25123bb26172c662864"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4ab92ba0daaaf07004eea25d296f7bcc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__pangommEnums.html#ga12a1faf309bdcddde041a732070970f4">Weight</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#a4ab92ba0daaaf07004eea25d296f7bcc">get_weight</a> () const </td></tr>
<tr class="memdesc:a4ab92ba0daaaf07004eea25d296f7bcc"><td class="mdescLeft"> </td><td class="mdescRight">Gets the weight field of a font description. <a href="#a4ab92ba0daaaf07004eea25d296f7bcc">More...</a><br /></td></tr>
<tr class="separator:a4ab92ba0daaaf07004eea25d296f7bcc"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a50b1fbc40ebc5b321f8994639993b1bf"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#a50b1fbc40ebc5b321f8994639993b1bf">set_stretch</a> (<a class="el" href="group__pangommEnums.html#gac2df3c6939d06e2cd565e9c943428ad3">Stretch</a> stretch)</td></tr>
<tr class="memdesc:a50b1fbc40ebc5b321f8994639993b1bf"><td class="mdescLeft"> </td><td class="mdescRight">Sets the stretch field of a font description. <a href="#a50b1fbc40ebc5b321f8994639993b1bf">More...</a><br /></td></tr>
<tr class="separator:a50b1fbc40ebc5b321f8994639993b1bf"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a99432caf202bfb3cf7b7e8fd1c7521f7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__pangommEnums.html#gac2df3c6939d06e2cd565e9c943428ad3">Stretch</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#a99432caf202bfb3cf7b7e8fd1c7521f7">get_stretch</a> () const </td></tr>
<tr class="memdesc:a99432caf202bfb3cf7b7e8fd1c7521f7"><td class="mdescLeft"> </td><td class="mdescRight">Gets the stretch field of a font description. <a href="#a99432caf202bfb3cf7b7e8fd1c7521f7">More...</a><br /></td></tr>
<tr class="separator:a99432caf202bfb3cf7b7e8fd1c7521f7"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4039245dc891fe4db4ea0c6bd01d8a77"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#a4039245dc891fe4db4ea0c6bd01d8a77">set_size</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#ga445a43f417432dd1b9aed90ef239c700">size</a>)</td></tr>
<tr class="memdesc:a4039245dc891fe4db4ea0c6bd01d8a77"><td class="mdescLeft"> </td><td class="mdescRight">Sets the size field of a font description in fractional points. <a href="#a4039245dc891fe4db4ea0c6bd01d8a77">More...</a><br /></td></tr>
<tr class="separator:a4039245dc891fe4db4ea0c6bd01d8a77"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac507266766f3cadaf0f1d5c6fd5c0c67"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#ac507266766f3cadaf0f1d5c6fd5c0c67">get_size</a> () const </td></tr>
<tr class="memdesc:ac507266766f3cadaf0f1d5c6fd5c0c67"><td class="mdescLeft"> </td><td class="mdescRight">Gets the size field of a font description. <a href="#ac507266766f3cadaf0f1d5c6fd5c0c67">More...</a><br /></td></tr>
<tr class="separator:ac507266766f3cadaf0f1d5c6fd5c0c67"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a804f715f977a8bdabb264a1e3e311352"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#a804f715f977a8bdabb264a1e3e311352">set_absolute_size</a> (double <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#ga445a43f417432dd1b9aed90ef239c700">size</a>)</td></tr>
<tr class="memdesc:a804f715f977a8bdabb264a1e3e311352"><td class="mdescLeft"> </td><td class="mdescRight">Sets the size field of a font description, in device units. <a href="#a804f715f977a8bdabb264a1e3e311352">More...</a><br /></td></tr>
<tr class="separator:a804f715f977a8bdabb264a1e3e311352"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0b85f22cde4e8486501e3fcbd389491c"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#a0b85f22cde4e8486501e3fcbd389491c">get_size_is_absolute</a> () const </td></tr>
<tr class="memdesc:a0b85f22cde4e8486501e3fcbd389491c"><td class="mdescLeft"> </td><td class="mdescRight">Determines whether the size of the font is in points (not absolute) or device units (absolute). <a href="#a0b85f22cde4e8486501e3fcbd389491c">More...</a><br /></td></tr>
<tr class="separator:a0b85f22cde4e8486501e3fcbd389491c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a850550316001e30d6fa1dc599a14673a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#a850550316001e30d6fa1dc599a14673a">set_gravity</a> (<a class="el" href="group__pangommEnums.html#ga64db2216c86f2ce624b9ef0489bf1df4">Gravity</a> gravity)</td></tr>
<tr class="memdesc:a850550316001e30d6fa1dc599a14673a"><td class="mdescLeft"> </td><td class="mdescRight">Sets the gravity field of a font description. <a href="#a850550316001e30d6fa1dc599a14673a">More...</a><br /></td></tr>
<tr class="separator:a850550316001e30d6fa1dc599a14673a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4ad3ef4d5a7a30e91a3f4a13e4875d33"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__pangommEnums.html#ga64db2216c86f2ce624b9ef0489bf1df4">Gravity</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#a4ad3ef4d5a7a30e91a3f4a13e4875d33">get_gravity</a> () const </td></tr>
<tr class="memdesc:a4ad3ef4d5a7a30e91a3f4a13e4875d33"><td class="mdescLeft"> </td><td class="mdescRight">Gets the gravity field of a font description. <a href="#a4ad3ef4d5a7a30e91a3f4a13e4875d33">More...</a><br /></td></tr>
<tr class="separator:a4ad3ef4d5a7a30e91a3f4a13e4875d33"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aad602107d9de5ac06ce09dab91a1853b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__pangommEnums.html#ga1c0868659f2899d822c5c600ee57db74">FontMask</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#aad602107d9de5ac06ce09dab91a1853b">get_set_fields</a> () const </td></tr>
<tr class="memdesc:aad602107d9de5ac06ce09dab91a1853b"><td class="mdescLeft"> </td><td class="mdescRight">Determines which fields in a font description have been set. <a href="#aad602107d9de5ac06ce09dab91a1853b">More...</a><br /></td></tr>
<tr class="separator:aad602107d9de5ac06ce09dab91a1853b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a51e66cb7c205b4e5d3166b3ade218874"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#a51e66cb7c205b4e5d3166b3ade218874">unset_fields</a> (<a class="el" href="group__pangommEnums.html#ga1c0868659f2899d822c5c600ee57db74">FontMask</a> to_unset)</td></tr>
<tr class="memdesc:a51e66cb7c205b4e5d3166b3ade218874"><td class="mdescLeft"> </td><td class="mdescRight">Unsets some of the fields in a <a class="el" href="classPango_1_1FontDescription.html" title="A Pango::FontDescription represents the description of an ideal font. ">Pango::FontDescription</a>. <a href="#a51e66cb7c205b4e5d3166b3ade218874">More...</a><br /></td></tr>
<tr class="separator:a51e66cb7c205b4e5d3166b3ade218874"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a86d14b6b141c6b4f514111dbb6682faf"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#a86d14b6b141c6b4f514111dbb6682faf">merge</a> (const <a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>& desc_to_merge, bool replace_existing)</td></tr>
<tr class="memdesc:a86d14b6b141c6b4f514111dbb6682faf"><td class="mdescLeft"> </td><td class="mdescRight">Merges the fields that are set in <em>desc_to_merge</em> into the fields in <em>desc</em>. <a href="#a86d14b6b141c6b4f514111dbb6682faf">More...</a><br /></td></tr>
<tr class="separator:a86d14b6b141c6b4f514111dbb6682faf"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af2cd2cc5135124b18439d295bd974ed5"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#af2cd2cc5135124b18439d295bd974ed5">better_match</a> (const <a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>& old_match, const <a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>& new_match) const </td></tr>
<tr class="memdesc:af2cd2cc5135124b18439d295bd974ed5"><td class="mdescLeft"> </td><td class="mdescRight">Determines if the style attributes of <em>new_match</em> are a closer match for <em>desc</em> than those of <em>old_match</em> are, or if <em>old_match</em> is <code>nullptr</code>, determines if <em>new_match</em> is a match at all. <a href="#af2cd2cc5135124b18439d295bd974ed5">More...</a><br /></td></tr>
<tr class="separator:af2cd2cc5135124b18439d295bd974ed5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad29123a4a8f63dca8c18df97997042c3"><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_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#ad29123a4a8f63dca8c18df97997042c3">to_string</a> () const </td></tr>
<tr class="memdesc:ad29123a4a8f63dca8c18df97997042c3"><td class="mdescLeft"> </td><td class="mdescRight">Creates a string representation of a font description. <a href="#ad29123a4a8f63dca8c18df97997042c3">More...</a><br /></td></tr>
<tr class="separator:ad29123a4a8f63dca8c18df97997042c3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a29fb64d73738cb49d0100f7fbad73580"><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_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#a29fb64d73738cb49d0100f7fbad73580">to_filename</a> () const </td></tr>
<tr class="memdesc:a29fb64d73738cb49d0100f7fbad73580"><td class="mdescLeft"> </td><td class="mdescRight">Creates a filename representation of a font description. <a href="#a29fb64d73738cb49d0100f7fbad73580">More...</a><br /></td></tr>
<tr class="separator:a29fb64d73738cb49d0100f7fbad73580"><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:aa072252664133b58aef7577e7e4e3be0"><td class="memItemLeft" align="right" valign="top">static GType </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#aa072252664133b58aef7577e7e4e3be0">get_type</a> ()</td></tr>
<tr class="memdesc:aa072252664133b58aef7577e7e4e3be0"><td class="mdescLeft"> </td><td class="mdescRight">Get the GType for this class, for use with the underlying GObject type system. <a href="#aa072252664133b58aef7577e7e4e3be0">More...</a><br /></td></tr>
<tr class="separator:aa072252664133b58aef7577e7e4e3be0"><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:aed270a5a8cc1dbe45e09bcd2cc4818a1"><td class="memItemLeft" align="right" valign="top">PangoFontDescription* </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#aed270a5a8cc1dbe45e09bcd2cc4818a1">gobject_</a></td></tr>
<tr class="separator:aed270a5a8cc1dbe45e09bcd2cc4818a1"><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:a1b84b607dabfa870e8e954b5563cafb5"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#a1b84b607dabfa870e8e954b5563cafb5">operator==</a> (const <a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>& lhs, const <a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>& rhs)</td></tr>
<tr class="separator:a1b84b607dabfa870e8e954b5563cafb5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0e916c9c005dc36d5e88fa146c599431"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#a0e916c9c005dc36d5e88fa146c599431">operator!=</a> (const <a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>& lhs, const <a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>& rhs)</td></tr>
<tr class="separator:a0e916c9c005dc36d5e88fa146c599431"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:adc0a21951620902d31de28625ab7ce4c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#adc0a21951620902d31de28625ab7ce4c">swap</a> (<a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>& lhs, <a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>& rhs) noexcept</td></tr>
<tr class="separator:adc0a21951620902d31de28625ab7ce4c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a92bdca662e7118ea654eb9b34ceead51"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classPango_1_1FontDescription.html">Pango::FontDescription</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPango_1_1FontDescription.html#a92bdca662e7118ea654eb9b34ceead51">wrap</a> (PangoFontDescription* object, bool take_copy=false)</td></tr>
<tr class="memdesc:a92bdca662e7118ea654eb9b34ceead51"><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="#a92bdca662e7118ea654eb9b34ceead51">More...</a><br /></td></tr>
<tr class="separator:a92bdca662e7118ea654eb9b34ceead51"><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_1FontDescription.html" title="A Pango::FontDescription represents the description of an ideal font. ">Pango::FontDescription</a> represents the description of an ideal font. </p>
<p>It is used both to list what fonts are available on the system and also for specifying the characteristics of a font to load. </p>
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a class="anchor" id="afdb36b4b7c50cb97c12300fe85349533"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Pango::FontDescription::FontDescription </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a16211764b726945ba2d7ddc3d8f74b20"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">Pango::FontDescription::FontDescription </td>
<td>(</td>
<td class="paramtype">PangoFontDescription * </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="af52b80020f13a446e1a66c07b7a525d0"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Pango::FontDescription::FontDescription </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classPango_1_1FontDescription.html">FontDescription</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="aee4c5619669e6abc5bb7bc12626607af"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">Pango::FontDescription::FontDescription </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classPango_1_1FontDescription.html">FontDescription</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="af1dc7cbdd91a9e807e64350de4af32fd"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">Pango::FontDescription::~FontDescription </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="af7382a2b612391bfaa9c3f94a6d6028d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">Pango::FontDescription::FontDescription </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>font_name</em></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">
<p>Constructs a font description from a string representation. </p>
<p><em>font_name</em> must have the form "[FAMILY-LIST] [STYLE-OPTIONS] [SIZE]", where FAMILY-LIST is a comma separated list of families optionally terminated by a comma, STYLE_OPTIONS is a whitespace separated list of words where each WORD describes one of style, variant, weight, or stretch, and SIZE is an decimal number (size in points). Any one of the options may be absent. If FAMILY-LIST is absent, then the family_name field of the resulting font description will be initialized to 0. If STYLE-OPTIONS is missing, then all style options will be set to the default values. If SIZE is missing, the size in the resulting font description will be set to 0. </p><dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">font_name</td><td>String representation of a font description. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="af2cd2cc5135124b18439d295bd974ed5"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Pango::FontDescription::better_match </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>& </td>
<td class="paramname"><em>old_match</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>& </td>
<td class="paramname"><em>new_match</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Determines if the style attributes of <em>new_match</em> are a closer match for <em>desc</em> than those of <em>old_match</em> are, or if <em>old_match</em> is <code>nullptr</code>, determines if <em>new_match</em> is a match at all. </p>
<p>Approximate matching is done for weight and style; other style attributes must match exactly. Style attributes are all attributes other than family and size-related attributes. Approximate matching for style considers PANGO_STYLE_OBLIQUE and PANGO_STYLE_ITALIC as matches, but not as good a match as when the styles are equal.</p>
<p>Note that <em>old_match</em> must match <em>desc</em>.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">old_match</td><td>A <a class="el" href="classPango_1_1FontDescription.html" title="A Pango::FontDescription represents the description of an ideal font. ">Pango::FontDescription</a>, or <code>nullptr</code>. </td></tr>
<tr><td class="paramname">new_match</td><td>A <a class="el" href="classPango_1_1FontDescription.html" title="A Pango::FontDescription represents the description of an ideal font. ">Pango::FontDescription</a>. </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if <em>new_match</em> is a better match. </dd></dl>
</div>
</div>
<a class="anchor" id="acff7e1b4779e8ed2286f2b8b3a6752b1"></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_1ustring.html">Glib::ustring</a> Pango::FontDescription::get_family </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Gets the family name field of a font description. </p>
<p>See <a class="el" href="classPango_1_1FontDescription.html#ad205777ae3b5ea70c02d5563186faca3" title="Sets the family name field of a font description. ">set_family()</a>.</p>
<dl class="section return"><dt>Returns</dt><dd>The family name field for the font description, or <code>nullptr</code> if not previously set. This has the same life-time as the font description itself and should not be freed. </dd></dl>
</div>
</div>
<a class="anchor" id="a4ad3ef4d5a7a30e91a3f4a13e4875d33"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__pangommEnums.html#ga64db2216c86f2ce624b9ef0489bf1df4">Gravity</a> Pango::FontDescription::get_gravity </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Gets the gravity field of a font description. </p>
<p>See <a class="el" href="classPango_1_1FontDescription.html#a850550316001e30d6fa1dc599a14673a" title="Sets the gravity field of a font description. ">set_gravity()</a>.</p>
<dl class="since_1_16"><dt><b><a class="el" href="since_1_16.html#_since_1_16000010">Since pangomm 1.16:</a></b></dt><dd></dd></dl>
<dl class="section return"><dt>Returns</dt><dd>The gravity field for the font description. Use <a class="el" href="classPango_1_1FontDescription.html#aad602107d9de5ac06ce09dab91a1853b" title="Determines which fields in a font description have been set. ">get_set_fields()</a> to find out if the field was explicitly set or not. </dd></dl>
</div>
</div>
<a class="anchor" id="aad602107d9de5ac06ce09dab91a1853b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__pangommEnums.html#ga1c0868659f2899d822c5c600ee57db74">FontMask</a> Pango::FontDescription::get_set_fields </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Determines which fields in a font description have been set. </p>
<dl class="section return"><dt>Returns</dt><dd>A bitmask with bits set corresponding to the fields in <em>desc</em> that have been set. </dd></dl>
</div>
</div>
<a class="anchor" id="ac507266766f3cadaf0f1d5c6fd5c0c67"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int Pango::FontDescription::get_size </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Gets the size field of a font description. </p>
<p>See <a class="el" href="classPango_1_1FontDescription.html#a4039245dc891fe4db4ea0c6bd01d8a77" title="Sets the size field of a font description in fractional points. ">set_size()</a>.</p>
<dl class="section return"><dt>Returns</dt><dd>The size field for the font description in points or device units. You must call <a class="el" href="classPango_1_1FontDescription.html#a0b85f22cde4e8486501e3fcbd389491c" title="Determines whether the size of the font is in points (not absolute) or device units (absolute)...">get_size_is_absolute()</a> to find out which is the case. Returns 0 if the size field has not previously been set or it has been set to 0 explicitly. Use <a class="el" href="classPango_1_1FontDescription.html#aad602107d9de5ac06ce09dab91a1853b" title="Determines which fields in a font description have been set. ">get_set_fields()</a> to find out if the field was explicitly set or not. </dd></dl>
</div>
</div>
<a class="anchor" id="a0b85f22cde4e8486501e3fcbd389491c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Pango::FontDescription::get_size_is_absolute </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Determines whether the size of the font is in points (not absolute) or device units (absolute). </p>
<p>See <a class="el" href="classPango_1_1FontDescription.html#a4039245dc891fe4db4ea0c6bd01d8a77" title="Sets the size field of a font description in fractional points. ">set_size()</a> and <a class="el" href="classPango_1_1FontDescription.html#a804f715f977a8bdabb264a1e3e311352" title="Sets the size field of a font description, in device units. ">set_absolute_size()</a>.</p>
<dl class="since_1_8"><dt><b><a class="el" href="since_1_8.html#_since_1_8000002">Since pangomm 1.8:</a></b></dt><dd></dd></dl>
<dl class="section return"><dt>Returns</dt><dd>Whether the size for the font description is in points or device units. Use <a class="el" href="classPango_1_1FontDescription.html#aad602107d9de5ac06ce09dab91a1853b" title="Determines which fields in a font description have been set. ">get_set_fields()</a> to find out if the size field of the font description was explicitly set or not. </dd></dl>
</div>
</div>
<a class="anchor" id="a99432caf202bfb3cf7b7e8fd1c7521f7"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__pangommEnums.html#gac2df3c6939d06e2cd565e9c943428ad3">Stretch</a> Pango::FontDescription::get_stretch </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Gets the stretch field of a font description. </p>
<p>See <a class="el" href="classPango_1_1FontDescription.html#a50b1fbc40ebc5b321f8994639993b1bf" title="Sets the stretch field of a font description. ">set_stretch()</a>.</p>
<dl class="section return"><dt>Returns</dt><dd>The stretch field for the font description. Use <a class="el" href="classPango_1_1FontDescription.html#aad602107d9de5ac06ce09dab91a1853b" title="Determines which fields in a font description have been set. ">get_set_fields()</a> to find out if the field was explicitly set or not. </dd></dl>
</div>
</div>
<a class="anchor" id="a3185cf480eed5c31d5e6ea8166d7f9b2"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__pangommEnums.html#ga0a57bd35d5acd409367672e19b67e2f5">Style</a> Pango::FontDescription::get_style </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Gets the style field of a <a class="el" href="classPango_1_1FontDescription.html" title="A Pango::FontDescription represents the description of an ideal font. ">Pango::FontDescription</a>. </p>
<p>See <a class="el" href="classPango_1_1FontDescription.html#ae3aae73142d165637fd81a8e7853dc75" title="Sets the style field of a Pango::FontDescription. ">set_style()</a>.</p>
<dl class="section return"><dt>Returns</dt><dd>The style field for the font description. Use <a class="el" href="classPango_1_1FontDescription.html#aad602107d9de5ac06ce09dab91a1853b" title="Determines which fields in a font description have been set. ">get_set_fields()</a> to find out if the field was explicitly set or not. </dd></dl>
</div>
</div>
<a class="anchor" id="aa072252664133b58aef7577e7e4e3be0"></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::FontDescription::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="a4ee40fab911737367bf6816b1e038704"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__pangommEnums.html#ga30ba1457cecb545a04d1f029ca0e86ed">Variant</a> Pango::FontDescription::get_variant </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Gets the variant field of a <a class="el" href="classPango_1_1FontDescription.html" title="A Pango::FontDescription represents the description of an ideal font. ">Pango::FontDescription</a>. </p>
<p>See <a class="el" href="classPango_1_1FontDescription.html#aeb5d904401a98d6461ffc8a441a8380d" title="Sets the variant field of a font description. ">set_variant()</a>.</p>
<dl class="section return"><dt>Returns</dt><dd>The variant field for the font description. Use <a class="el" href="classPango_1_1FontDescription.html#aad602107d9de5ac06ce09dab91a1853b" title="Determines which fields in a font description have been set. ">get_set_fields()</a> to find out if the field was explicitly set or not. </dd></dl>
</div>
</div>
<a class="anchor" id="a4ab92ba0daaaf07004eea25d296f7bcc"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="group__pangommEnums.html#ga12a1faf309bdcddde041a732070970f4">Weight</a> Pango::FontDescription::get_weight </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Gets the weight field of a font description. </p>
<p>See <a class="el" href="classPango_1_1FontDescription.html#a96e12760e3cbb25123bb26172c662864" title="Sets the weight field of a font description. ">set_weight()</a>.</p>
<dl class="section return"><dt>Returns</dt><dd>The weight field for the font description. Use <a class="el" href="classPango_1_1FontDescription.html#aad602107d9de5ac06ce09dab91a1853b" title="Determines which fields in a font description have been set. ">get_set_fields()</a> to find out if the field was explicitly set or not. </dd></dl>
</div>
</div>
<a class="anchor" id="a7ec35a7accdc8a55eebc9b5dfd4939bb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">PangoFontDescription* Pango::FontDescription::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="ab11803b348ef4da415fc12f99d5ad71a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const PangoFontDescription* Pango::FontDescription::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="a7a7178ac7e2bbefcff35866f5ffd1ceb"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">PangoFontDescription* Pango::FontDescription::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="ad23386ceb3e3c33d4dcf5ec0f5b0448b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">guint Pango::FontDescription::hash </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Computes a hash of a <a class="el" href="classPango_1_1FontDescription.html" title="A Pango::FontDescription represents the description of an ideal font. ">Pango::FontDescription</a> structure suitable to be used, for example, as an argument to Glib::hash_table_new(). </p>
<p>The hash value is independent of <em>desc->mask</em>.</p>
<dl class="section return"><dt>Returns</dt><dd>The hash value. </dd></dl>
</div>
</div>
<a class="anchor" id="a86d14b6b141c6b4f514111dbb6682faf"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Pango::FontDescription::merge </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>& </td>
<td class="paramname"><em>desc_to_merge</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>replace_existing</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Merges the fields that are set in <em>desc_to_merge</em> into the fields in <em>desc</em>. </p>
<p>If <em>replace_existing</em> is <code>false</code>, only fields in <em>desc</em> that are not already set are affected. If <code>true</code>, then fields that are already set will be replaced as well.</p>
<p>If <em>desc_to_merge</em> is <code>nullptr</code>, this function performs nothing.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">desc_to_merge</td><td>The <a class="el" href="classPango_1_1FontDescription.html" title="A Pango::FontDescription represents the description of an ideal font. ">Pango::FontDescription</a> to merge from, or <code>nullptr</code>. </td></tr>
<tr><td class="paramname">replace_existing</td><td>If <code>true</code>, replace fields in <em>desc</em> with the corresponding values from <em>desc_to_merge</em>, even if they are already exist. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a3d7bd8a331801a69058145f3bbc01994"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>& Pango::FontDescription::operator= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classPango_1_1FontDescription.html">FontDescription</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="a70dea4acc3b22e0daad8374d94d21e60"></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_1FontDescription.html">FontDescription</a>& Pango::FontDescription::operator= </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classPango_1_1FontDescription.html">FontDescription</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="a804f715f977a8bdabb264a1e3e311352"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Pango::FontDescription::set_absolute_size </td>
<td>(</td>
<td class="paramtype">double </td>
<td class="paramname"><em>size</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the size field of a font description, in device units. </p>
<p>This is mutually exclusive with <a class="el" href="classPango_1_1FontDescription.html#a4039245dc891fe4db4ea0c6bd01d8a77" title="Sets the size field of a font description in fractional points. ">set_size()</a> which sets the font size in points.</p>
<dl class="since_1_8"><dt><b><a class="el" href="since_1_8.html#_since_1_8000001">Since pangomm 1.8:</a></b></dt><dd></dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">size</td><td>The new size, in <a class="el" href="namespacePango.html">Pango</a> units. There are <a class="el" href="namespacePango.html#a20d9629a369a6a5ab40ed9c01f879730">Pango::SCALE</a> <a class="el" href="namespacePango.html">Pango</a> units in one device unit. For an output backend where a device unit is a pixel, a <em>size</em> value of 10* PANGO_SCALE gives a 10 pixel font. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ad205777ae3b5ea70c02d5563186faca3"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Pango::FontDescription::set_family </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>family</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the family name field of a font description. </p>
<p>The family name represents a family of related font styles, and will resolve to a particular <a class="el" href="classPango_1_1FontFamily.html" title="A Pango::FontFamily is used to represent a family of related font faces. ">Pango::FontFamily</a>. In some uses of <a class="el" href="classPango_1_1FontDescription.html" title="A Pango::FontDescription represents the description of an ideal font. ">Pango::FontDescription</a>, it is also possible to use a comma separated list of family names for this field.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">family</td><td>A string representing the family name. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a850550316001e30d6fa1dc599a14673a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Pango::FontDescription::set_gravity </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__pangommEnums.html#ga64db2216c86f2ce624b9ef0489bf1df4">Gravity</a> </td>
<td class="paramname"><em>gravity</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the gravity field of a font description. </p>
<p>The gravity field specifies how the glyphs should be rotated. If <em>gravity</em> is <a class="el" href="namespacePango.html#ga64db2216c86f2ce624b9ef0489bf1df4aacfaa02de6057a6204c40f45c7c771ca" title="Gravity is resolved from the context matrix. ">Pango::GRAVITY_AUTO</a>, this actually unsets the gravity mask on the font description.</p>
<p>This function is seldom useful to the user. Gravity should normally be set on a <a class="el" href="classPango_1_1Context.html" title="A Pango::Context stores global information used to control the itemization process. ">Pango::Context</a>.</p>
<dl class="since_1_16"><dt><b><a class="el" href="since_1_16.html#_since_1_16000009">Since pangomm 1.16:</a></b></dt><dd></dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">gravity</td><td>The gravity for the font description. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a4039245dc891fe4db4ea0c6bd01d8a77"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Pango::FontDescription::set_size </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>size</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the size field of a font description in fractional points. </p>
<p>This is mutually exclusive with <a class="el" href="classPango_1_1FontDescription.html#a804f715f977a8bdabb264a1e3e311352" title="Sets the size field of a font description, in device units. ">set_absolute_size()</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">size</td><td>The size of the font in points, scaled by PANGO_SCALE. (That is, a <em>size</em> value of 10* PANGO_SCALE is a 10 point font. The conversion factor between points and device units depends on system configuration and the output device. For screen display, a logical DPI of 96 is common, in which case a 10 point font corresponds to a 10* (96 / 72) = 13.3 pixel font. Use <a class="el" href="classPango_1_1FontDescription.html#a804f715f977a8bdabb264a1e3e311352" title="Sets the size field of a font description, in device units. ">set_absolute_size()</a> if you need a particular size in device units. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a50b1fbc40ebc5b321f8994639993b1bf"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Pango::FontDescription::set_stretch </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__pangommEnums.html#gac2df3c6939d06e2cd565e9c943428ad3">Stretch</a> </td>
<td class="paramname"><em>stretch</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the stretch field of a font description. </p>
<p>The stretch field specifies how narrow or wide the font should be.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">stretch</td><td>The stretch for the font description. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ae3aae73142d165637fd81a8e7853dc75"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Pango::FontDescription::set_style </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__pangommEnums.html#ga0a57bd35d5acd409367672e19b67e2f5">Style</a> </td>
<td class="paramname"><em>style</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the style field of a <a class="el" href="classPango_1_1FontDescription.html" title="A Pango::FontDescription represents the description of an ideal font. ">Pango::FontDescription</a>. </p>
<p>The <a class="el" href="group__pangommEnums.html#ga0a57bd35d5acd409367672e19b67e2f5" title="An enumeration specifying the various slant styles possible for a font. ">Pango::Style</a> enumeration describes whether the font is slanted and the manner in which it is slanted; it can be either <a class="el" href="namespacePango.html#ga0a57bd35d5acd409367672e19b67e2f5a1155c4b9bcdf047233eaad2fac528614" title="The font is upright. ">Pango::STYLE_NORMAL</a>, <a class="el" href="namespacePango.html#ga0a57bd35d5acd409367672e19b67e2f5ae93a3834f2d9af707bee8675eb8a9121" title="The font is slanted in an italic style. ">Pango::STYLE_ITALIC</a>, or <a class="el" href="namespacePango.html#ga0a57bd35d5acd409367672e19b67e2f5a7c395f12d271f57c1f042c8b21341688" title="The font is slanted, but in a roman style. ">Pango::STYLE_OBLIQUE</a>. Most fonts will either have a italic style or an oblique style, but not both, and font matching in <a class="el" href="namespacePango.html">Pango</a> will match italic specifications with oblique fonts and vice-versa if an exact match is not found.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">style</td><td>The style for the font description. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="aeb5d904401a98d6461ffc8a441a8380d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Pango::FontDescription::set_variant </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__pangommEnums.html#ga30ba1457cecb545a04d1f029ca0e86ed">Variant</a> </td>
<td class="paramname"><em>variant</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the variant field of a font description. </p>
<p>The <a class="el" href="group__pangommEnums.html#ga30ba1457cecb545a04d1f029ca0e86ed" title="An enumeration specifying capitalization variant of the font. ">Pango::Variant</a> can either be <a class="el" href="namespacePango.html#ga30ba1457cecb545a04d1f029ca0e86eda5f5fdaf90dd1cc277d61a680eb0ed7bb" title="A normal font. ">Pango::VARIANT_NORMAL</a> or <a class="el" href="namespacePango.html#ga30ba1457cecb545a04d1f029ca0e86eda957d17a292c15dfaccdfe8c9a8258e83" title="A font with the lower case characters replaced by smaller variants of the capital characters...">Pango::VARIANT_SMALL_CAPS</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">variant</td><td>The variant type for the font description. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a96e12760e3cbb25123bb26172c662864"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Pango::FontDescription::set_weight </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__pangommEnums.html#ga12a1faf309bdcddde041a732070970f4">Weight</a> </td>
<td class="paramname"><em>weight</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the weight field of a font description. </p>
<p>The weight field specifies how bold or light the font should be. In addition to the values of the <a class="el" href="group__pangommEnums.html#ga12a1faf309bdcddde041a732070970f4" title="An enumeration specifying the weight (boldness) of a font. ">Pango::Weight</a> enumeration, other intermediate numeric values are possible.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">weight</td><td>The weight for the font description. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a1cd01bd59ed3aa8540f6cfbbf990b7e7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void Pango::FontDescription::swap </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classPango_1_1FontDescription.html">FontDescription</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="a29fb64d73738cb49d0100f7fbad73580"></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_1ustring.html">Glib::ustring</a> Pango::FontDescription::to_filename </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates a filename representation of a font description. </p>
<p>The filename is identical to the result from calling <a class="el" href="classPango_1_1FontDescription.html#ad29123a4a8f63dca8c18df97997042c3" title="Creates a string representation of a font description. ">to_string()</a>, but with underscores instead of characters that are untypical in filenames, and in lower case only.</p>
<dl class="section return"><dt>Returns</dt><dd>The filename. </dd></dl>
</div>
</div>
<a class="anchor" id="ad29123a4a8f63dca8c18df97997042c3"></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_1ustring.html">Glib::ustring</a> Pango::FontDescription::to_string </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates a string representation of a font description. </p>
<p>See from_string() for a description of the format of the string representation. The family list in the string description will only have a terminating comma if the last word of the list is a valid style option.</p>
<dl class="section return"><dt>Returns</dt><dd>The string. </dd></dl>
</div>
</div>
<a class="anchor" id="a51e66cb7c205b4e5d3166b3ade218874"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Pango::FontDescription::unset_fields </td>
<td>(</td>
<td class="paramtype"><a class="el" href="group__pangommEnums.html#ga1c0868659f2899d822c5c600ee57db74">FontMask</a> </td>
<td class="paramname"><em>to_unset</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Unsets some of the fields in a <a class="el" href="classPango_1_1FontDescription.html" title="A Pango::FontDescription represents the description of an ideal font. ">Pango::FontDescription</a>. </p>
<p>The unset fields will get back to their default values.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">to_unset</td><td>Bitmask of fields in the <em>desc</em> to unset. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a class="anchor" id="a0e916c9c005dc36d5e88fa146c599431"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool <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#gac4373547895ec9df9035719b38a2621a">operator!</a>= </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>& </td>
<td class="paramname"><em>lhs</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classPango_1_1FontDescription.html">FontDescription</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>
<dl class="section return"><dt>Returns</dt><dd>The result </dd></dl>
</div>
</div>
<a class="anchor" id="a1b84b607dabfa870e8e954b5563cafb5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool operator== </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classPango_1_1FontDescription.html">FontDescription</a>& </td>
<td class="paramname"><em>lhs</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classPango_1_1FontDescription.html">FontDescription</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>
<dl class="section return"><dt>Returns</dt><dd>The result </dd></dl>
</div>
</div>
<a class="anchor" id="adc0a21951620902d31de28625ab7ce4c"></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_1FontDescription.html">FontDescription</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_1FontDescription.html">FontDescription</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="a92bdca662e7118ea654eb9b34ceead51"></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_1FontDescription.html">Pango::FontDescription</a> wrap </td>
<td>(</td>
<td class="paramtype">PangoFontDescription * </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="aed270a5a8cc1dbe45e09bcd2cc4818a1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">PangoFontDescription* Pango::FontDescription::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>
|