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 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184
|
<!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"/>
<title>gtkmm: Gdk::Drawable Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<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 class="tabs">
<ul>
<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="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
<div class="navpath"><a class="el" href="namespaceGdk.html">Gdk</a>::<a class="el" href="classGdk_1_1Drawable.html">Drawable</a>
</div>
</div>
<div class="contents">
<h1>Gdk::Drawable Class Reference</h1><!-- doxytag: class="Gdk::Drawable" --><!-- doxytag: inherits="Glib::Object" -->
<p>Drawing Primitives. <a href="#_details">More...</a></p>
<p>Inherits <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_1Object.html">Glib::Object</a>.</p>
<p>Inherited by <a class="el" href="classGdk_1_1Pixmap.html">Gdk::Pixmap</a>, and <a class="el" href="classGdk_1_1Window.html">Gdk::Window</a>.</p>
<div class="dynheader">
Collaboration diagram for Gdk::Drawable:</div>
<div class="dynsection">
<div class="center"><img src="classGdk_1_1Drawable__coll__graph.png" border="0" usemap="#Gdk_1_1Drawable_coll__map" alt="Collaboration graph"/></div>
<map name="Gdk_1_1Drawable_coll__map" id="Gdk_1_1Drawable_coll__map">
<area shape="rect" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1Object.html" title="Glib::Object" alt="" coords="20,160,111,189"/><area shape="rect" doxygen="glibmm-2.4.tag:http://library.gnome.org/devel/glibmm/unstable/" href="http://library.gnome.org/devel/glibmm/unstable/classGlib_1_1ObjectBase.html" title="Glib::ObjectBase" alt="" coords="5,83,125,112"/><area shape="rect" doxygen="libsigc++-2.0.tag:http://library.gnome.org/devel/libsigc++/unstable/" href="http://library.gnome.org/devel/libsigc++/unstable/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="12,5,119,35"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<p><a href="classGdk_1_1Drawable-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#ade454159e7d40afe5fd0ef494388fa2e">~Drawable</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GdkDrawable* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a935facc32f620b59c0cfb2e1fd1f5675">gobj</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a935facc32f620b59c0cfb2e1fd1f5675"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const GdkDrawable* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a42a8fa022e5ba2b06e3cfd0f2a9b656f">gobj</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a42a8fa022e5ba2b06e3cfd0f2a9b656f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">GdkDrawable* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a1500131ec8c995df7f20203c885ca4a8">gobj_copy</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. <a href="#a1500131ec8c995df7f20203c885ca4a8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a938f9da906aafcfa089a9aab8e30749d">get_size</a> (int& width, int& height)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Fills * <em>width</em> and * <em>height</em> with the size of <em>drawable</em>. <a href="#a938f9da906aafcfa089a9aab8e30749d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#ac6679ddd01683134ab8072bbc6bfa08f">get_size</a> (int& width, int& height) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Fills * <em>width</em> and * <em>height</em> with the size of <em>drawable</em>. <a href="#ac6679ddd01683134ab8072bbc6bfa08f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a5309b1be72155e0d0fae2f2b5a5ec468">get_depth</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Obtains the bit depth of the drawable, that is, the number of bits that make up a pixel in the drawable's visual. <a href="#a5309b1be72155e0d0fae2f2b5a5ec468"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a676623cd9318e60e5dfb075f9ae53d6b">set_colormap</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>< <a class="el" href="classGdk_1_1Colormap.html">Colormap</a> >& colormap)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Sets the colormap associated with <em>drawable</em>. <a href="#a676623cd9318e60e5dfb075f9ae53d6b"></a><br/></td></tr>
<tr><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_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGdk_1_1Colormap.html">Colormap</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#aabd203bf1c824e2aa8d8c9eb9c3e641c">get_colormap</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the colormap for <em>drawable</em>, if one is set; returns <code>0</code> otherwise. <a href="#aabd203bf1c824e2aa8d8c9eb9c3e641c"></a><br/></td></tr>
<tr><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_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGdk_1_1Visual.html">Visual</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a24118338658bd2bf7d56c9f6dc7eafbf">get_visual</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the <a class="el" href="classGdk_1_1Visual.html" title="A Gdk::Visual describes a particular video hardware display format.">Gdk::Visual</a> describing the pixel format of <em>drawable</em>. <a href="#a24118338658bd2bf7d56c9f6dc7eafbf"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a906830d41266be3056d0e1ac8ea2dc6d">draw_point</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="classGdk_1_1GC.html">GC</a> >& gc, int x, int y)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Draws a point, using the foreground color and other attributes of the <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">Gdk::GC</a>. <a href="#a906830d41266be3056d0e1ac8ea2dc6d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#ab7c474844251ed7561900530b55406f1">draw_points</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="classGdk_1_1GC.html">GC</a> >& gc, 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_1ArrayHandle.html">Glib::ArrayHandle</a>< <a class="el" href="classGdk_1_1Point.html">Point</a> >& points)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a6b9603c642fd297ebcc5893a129f4df2">draw_line</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="classGdk_1_1GC.html">GC</a> >& gc, int x1, int y1, int x2, int y2)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Draws a line, using the foreground color and other attributes of the <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">Gdk::GC</a>. <a href="#a6b9603c642fd297ebcc5893a129f4df2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a38a6e490519e5ab89adef59b78ee2590">draw_lines</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="classGdk_1_1GC.html">GC</a> >& gc, 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_1ArrayHandle.html">Glib::ArrayHandle</a>< <a class="el" href="classGdk_1_1Point.html">Point</a> >& points)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a0999885c93656c0587a4d4dac46a9d6c">draw_rectangle</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="classGdk_1_1GC.html">GC</a> >& gc, bool filled, int x, int y, int width, int height)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Draws a rectangular outline or filled rectangle, using the foreground color and other attributes of the <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">Gdk::GC</a>. <a href="#a0999885c93656c0587a4d4dac46a9d6c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a03a3398d6e4e193bdba4cfa4d7a5aab4">draw_arc</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="classGdk_1_1GC.html">GC</a> >& gc, bool filled, int x, int y, int width, int height, int angle1, int angle2)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Draws an arc or a filled 'pie slice'. <a href="#a03a3398d6e4e193bdba4cfa4d7a5aab4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#ae8667a9c4f1f527ec415357dbc48a4de">draw_polygon</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="classGdk_1_1GC.html">GC</a> >& gc, bool filled, 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_1ArrayHandle.html">Glib::ArrayHandle</a>< <a class="el" href="classGdk_1_1Point.html">Point</a> >& points)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#ab083c8726dcf649e5278749a296bdc28">draw_drawable</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="classGdk_1_1GC.html">GC</a> >& gc, 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="classGdk_1_1Drawable.html">Drawable</a> >& src, int xsrc, int ysrc, int xdest, int ydest, int width=-1, int height=-1)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Copies the <em>width</em> x <em>height</em> region of <em>src</em> at coordinates ( <em>xsrc</em>, <em>ysrc</em>) to coordinates ( <em>xdest</em>, <em>ydest</em>) in <em>drawable</em>. <a href="#ab083c8726dcf649e5278749a296bdc28"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a8ea32afd4ea08f6abea8de6fc268ccb6">draw_image</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="classGdk_1_1GC.html">GC</a> >& gc, 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="classGdk_1_1Image.html">Image</a> >& image, int xsrc, int ysrc, int xdest, int ydest, int width=-1, int height=-1)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Draws a <a class="el" href="classGdk_1_1Image.html" title="This represents an area for drawing graphics.">Gdk::Image</a> onto a drawable. <a href="#a8ea32afd4ea08f6abea8de6fc268ccb6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a91a34288b75797a66a14812bb963e09a">draw_segments</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="classGdk_1_1GC.html">GC</a> >& gc, GdkSegment* segs, int nsegs)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Draws a number of unconnected lines. <a href="#a91a34288b75797a66a14812bb963e09a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a3be58bd209c18fc9263ccfb090a51875">draw_glyphs</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="classGdk_1_1GC.html">GC</a> >& gc, 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="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1Font.html">Pango::Font</a> >& font, int x, int y, const <a class="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1GlyphString.html">Pango::GlyphString</a>& glyphs)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">This is a low-level function; 99% of text rendering should be done using gdk_draw_layout() instead. <a href="#a3be58bd209c18fc9263ccfb090a51875"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a6690d8fb0eb8546c48a566cb3fe6e4f4">draw_layout_line</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="classGdk_1_1GC.html">GC</a> >& gc, int x, int y, 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="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1LayoutLine.html">Pango::LayoutLine</a> >& line)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Render a <a class="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1LayoutLine.html">Pango::LayoutLine</a> onto an GDK drawable. <a href="#a6690d8fb0eb8546c48a566cb3fe6e4f4"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#ac2b6b4315f030da7247a13c2347c4007">draw_layout_line</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="classGdk_1_1GC.html">GC</a> >& gc, int x, int y, 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="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1LayoutLine.html">Pango::LayoutLine</a> >& line, const <a class="el" href="classGdk_1_1Color.html">Color</a>& foreground, const <a class="el" href="classGdk_1_1Color.html">Color</a>& background)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Render a <a class="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1LayoutLine.html">Pango::LayoutLine</a> onto a <a class="el" href="classGdk_1_1Drawable.html" title="Drawing Primitives.">Gdk::Drawable</a>, overriding the layout's normal colors with <em>foreground</em> and/or <em>background</em>. <a href="#ac2b6b4315f030da7247a13c2347c4007"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a08959f92c57e03537207698a63f57882">draw_layout</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="classGdk_1_1GC.html">GC</a> >& gc, int x, int y, 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="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1Layout.html">Pango::Layout</a> >& layout)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Render a <a class="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1Layout.html">Pango::Layout</a> onto a GDK drawable. <a href="#a08959f92c57e03537207698a63f57882"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a802de1ed660d88a490868e385a2eb889">draw_layout</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="classGdk_1_1GC.html">GC</a> >& gc, int x, int y, 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="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1Layout.html">Pango::Layout</a> >& layout, const <a class="el" href="classGdk_1_1Color.html">Color</a>& foreground, const <a class="el" href="classGdk_1_1Color.html">Color</a>& background)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Render a <a class="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1Layout.html">Pango::Layout</a> onto a <a class="el" href="classGdk_1_1Drawable.html" title="Drawing Primitives.">Gdk::Drawable</a>, overriding the layout's normal colors with <em>foreground</em> and/or <em>background</em>. <a href="#a802de1ed660d88a490868e385a2eb889"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a7530941e96a44e882961d5358fb8eb68">draw_pixbuf</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="classGdk_1_1GC.html">GC</a> >& gc, 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>< <a class="el" href="classGdk_1_1Pixbuf.html">Pixbuf</a> >& pixbuf, int src_x, int src_y, int dest_x, int dest_y, int width, int height, <a class="el" href="group__gdkmmEnums.html#ga4545c96b93ea95ff053b198cc02346e8">RgbDither</a> dither, int x_dither, int y_dither)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Renders a rectangular portion of a pixbuf to a drawable. <a href="#a7530941e96a44e882961d5358fb8eb68"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a2b0f0fa71a27ef18f53a47b6e81787e6">draw_pixbuf</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>< <a class="el" href="classGdk_1_1Pixbuf.html">Pixbuf</a> >& pixbuf, int src_x, int src_y, int dest_x, int dest_y, int width, int height, <a class="el" href="group__gdkmmEnums.html#ga4545c96b93ea95ff053b198cc02346e8">RgbDither</a> dither, int x_dither, int y_dither)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Renders a rectangular portion of a pixbuf to a drawable. <a href="#a2b0f0fa71a27ef18f53a47b6e81787e6"></a><br/></td></tr>
<tr><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_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGdk_1_1Image.html">Image</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a5c758b488229b68f15b431d90e87d2b8">get_image</a> (int x, int y, int width, int height) const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">A <a class="el" href="classGdk_1_1Image.html" title="This represents an area for drawing graphics.">Gdk::Image</a> stores client-side image data (pixels). <a href="#a5c758b488229b68f15b431d90e87d2b8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#af2e43b74900bdcc0289ad4e73f65b214">copy_to_image</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>< <a class="el" href="classGdk_1_1Image.html">Image</a> >& image, int src_x, int src_y, int dest_x, int dest_y, int width, int height) const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGdk_1_1Region.html">Region</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a3b693270cd26ebe5eed180ff0cb7cf72">get_clip_region</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Computes the region of a drawable that potentially can be written to by drawing primitives. <a href="#a3b693270cd26ebe5eed180ff0cb7cf72"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGdk_1_1Region.html">Region</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a9ecbe1937db689685cc9820d5a264d85">get_visible_region</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Computes the region of a drawable that is potentially visible. <a href="#a9ecbe1937db689685cc9820d5a264d85"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a014f7c7bba354373889470c63a1734dd">draw_rgb_image</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="classGdk_1_1GC.html">GC</a> >& gc, int x, int y, int width, int height, <a class="el" href="group__gdkmmEnums.html#ga4545c96b93ea95ff053b198cc02346e8">RgbDither</a> dith, const guchar* rgb_buf, int rowstride)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a1d24e9ee4461d45557531144afc1a8fa">draw_rgb_image_dithalign</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="classGdk_1_1GC.html">GC</a> >& gc, int x, int y, int width, int height, <a class="el" href="group__gdkmmEnums.html#ga4545c96b93ea95ff053b198cc02346e8">RgbDither</a> dith, const guchar* rgb_buf, int rowstride, int xdith, int ydith)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a620c4da6bc6da4cd99e94ac610d15e76">draw_rgb_32_image</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="classGdk_1_1GC.html">GC</a> >& gc, int x, int y, int width, int height, <a class="el" href="group__gdkmmEnums.html#ga4545c96b93ea95ff053b198cc02346e8">RgbDither</a> dith, const guchar* rgb_buf, int rowstride)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a1cde8450de8300ed60b9c2eb037a3be6">draw_rgb_32_image_dithalign</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="classGdk_1_1GC.html">GC</a> >& gc, int x, int y, int width, int height, <a class="el" href="group__gdkmmEnums.html#ga4545c96b93ea95ff053b198cc02346e8">RgbDither</a> dith, const guchar* buf, int rowstride, int xdith, int ydith)</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Like gdk_draw_rgb_32_image(), but allows you to specify the dither offsets. <a href="#a1cde8450de8300ed60b9c2eb037a3be6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#afa94c2411ae1df47f8859180cf590afc">draw_gray_image</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="classGdk_1_1GC.html">GC</a> >& gc, int x, int y, int width, int height, <a class="el" href="group__gdkmmEnums.html#ga4545c96b93ea95ff053b198cc02346e8">RgbDither</a> dith, const guchar* rgb_buf, int rowstride)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a680c0b6248c7e8cd6bc62c551f25e99e">draw_indexed_image</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="classGdk_1_1GC.html">GC</a> >& gc, int x, int y, int width, int height, <a class="el" href="group__gdkmmEnums.html#ga4545c96b93ea95ff053b198cc02346e8">RgbDither</a> dith, const guchar* rgb_buf, int rowstride, const <a class="el" href="classGdk_1_1RgbCmap.html">RgbCmap</a>& cmap)</td></tr>
<tr><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_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGdk_1_1Screen.html">Screen</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#aef4f5224e3cdf93a3de4aca91758f50c">get_screen</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the <a class="el" href="classGdk_1_1Screen.html" title="Object representing a physical screen Gdk::Screen objects are the GDK representation...">Gdk::Screen</a> associated with a <a class="el" href="classGdk_1_1Drawable.html" title="Drawing Primitives.">Gdk::Drawable</a>. <a href="#aef4f5224e3cdf93a3de4aca91758f50c"></a><br/></td></tr>
<tr><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_1RefPtr.html">Glib::RefPtr</a>< const <a class="el" href="classGdk_1_1Screen.html">Screen</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a9985ca42f887388dc2f51b0d8d3eaf18">get_screen</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the <a class="el" href="classGdk_1_1Screen.html" title="Object representing a physical screen Gdk::Screen objects are the GDK representation...">Gdk::Screen</a> associated with a <a class="el" href="classGdk_1_1Drawable.html" title="Drawing Primitives.">Gdk::Drawable</a>. <a href="#a9985ca42f887388dc2f51b0d8d3eaf18"></a><br/></td></tr>
<tr><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_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGdk_1_1Display.html">Display</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#aefdf42d02473609fc552aec4cc718be5">get_display</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the <a class="el" href="classGdk_1_1Display.html" title="Gdk::Display object's purpose is two fold: To grab/ungrab keyboard focus and...">Gdk::Display</a> associated with a <a class="el" href="classGdk_1_1Drawable.html" title="Drawing Primitives.">Gdk::Drawable</a>. <a href="#aefdf42d02473609fc552aec4cc718be5"></a><br/></td></tr>
<tr><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_1RefPtr.html">Glib::RefPtr</a>< const <a class="el" href="classGdk_1_1Display.html">Display</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a18d3a8e6a9c7cb5338a19a7768404c6a">get_display</a> () const </td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Gets the <a class="el" href="classGdk_1_1Display.html" title="Gdk::Display object's purpose is two fold: To grab/ungrab keyboard focus and...">Gdk::Display</a> associated with a <a class="el" href="classGdk_1_1Drawable.html" title="Drawing Primitives.">Gdk::Drawable</a>. <a href="#a18d3a8e6a9c7cb5338a19a7768404c6a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Cairo::RefPtr< Cairo::Context > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a9d4fb469ceab1175d9d4b788ae034d2e">create_cairo_context</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Creates a <a class="el" href="namespaceGdk_1_1Cairo.html">Cairo</a> context for drawing to <em>drawable</em>. <a href="#a9d4fb469ceab1175d9d4b788ae034d2e"></a><br/></td></tr>
<tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <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>< <a class="el" href="classGdk_1_1Drawable.html">Drawable</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a58c1ad7b171102076a353b4fca770c89">create</a> ()</td></tr>
<tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#a9647da75ddc17d3bee7cb2d2c2746bdf">Drawable</a> ()</td></tr>
<tr><td colspan="2"><h2>Related Functions</h2></td></tr>
<tr><td colspan="2"><p>(Note that these are not member functions.) </p>
<br/><br/></td></tr>
<tr><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_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGdk_1_1Drawable.html">Gdk::Drawable</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGdk_1_1Drawable.html#ac00f801e2af4c5cb8545b424e045473b">wrap</a> (GdkDrawable* object, bool take_copy=false)</td></tr>
<tr><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="#ac00f801e2af4c5cb8545b424e045473b"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>Drawing Primitives. </p>
<p><a class="el" href="classGdk_1_1Drawable.html" title="Drawing Primitives.">Gdk::Drawable</a> is the base class for all of the objects that accept drawing commands. The available drawables include pixmaps, windows, and bitmaps. <a class="el" href="classGdk_1_1Drawable.html" title="Drawing Primitives.">Drawable</a> is abstract as there is no such type on the server side.</p>
<p>To use a drawable, create a concrete <a class="el" href="classGdk_1_1Drawable.html" title="Drawing Primitives.">Drawable</a> of the type you wish to use and a <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">Gdk::GC</a> (graphics context) for that <a class="el" href="classGdk_1_1Drawable.html" title="Drawing Primitives.">Drawable</a>. With the <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">GC</a> you can draw lines, text, arcs and such.</p>
<p>An alternative is to create a Cairo::Context with get_cairo_context() while you handle the 'exposed' event of the drawable. For more about this, please see "Using cairo with GTK+" in the "Common questions" section of the GTK+ Reference Manual. </p>
<hr/><h2>Constructor & Destructor Documentation</h2>
<a class="anchor" id="ade454159e7d40afe5fd0ef494388fa2e"></a><!-- doxytag: member="Gdk::Drawable::~Drawable" ref="ade454159e7d40afe5fd0ef494388fa2e" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">virtual Gdk::Drawable::~Drawable </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a9647da75ddc17d3bee7cb2d2c2746bdf"></a><!-- doxytag: member="Gdk::Drawable::Drawable" ref="a9647da75ddc17d3bee7cb2d2c2746bdf" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Gdk::Drawable::Drawable </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td><code> [protected]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="af2e43b74900bdcc0289ad4e73f65b214"></a><!-- doxytag: member="Gdk::Drawable::copy_to_image" ref="af2e43b74900bdcc0289ad4e73f65b214" args="(const Glib::RefPtr< Image > &image, int src_x, int src_y, int dest_x, int dest_y, int width, int height) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gdk::Drawable::copy_to_image </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>< <a class="el" href="classGdk_1_1Image.html">Image</a> >& </td>
<td class="paramname"> <em>image</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>src_x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>src_y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>dest_x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>dest_y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>height</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a58c1ad7b171102076a353b4fca770c89"></a><!-- doxytag: member="Gdk::Drawable::create" ref="a58c1ad7b171102076a353b4fca770c89" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">static <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><<a class="el" href="classGdk_1_1Drawable.html">Drawable</a>> Gdk::Drawable::create </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td><code> [static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a9d4fb469ceab1175d9d4b788ae034d2e"></a><!-- doxytag: member="Gdk::Drawable::create_cairo_context" ref="a9d4fb469ceab1175d9d4b788ae034d2e" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Cairo::RefPtr<Cairo::Context> Gdk::Drawable::create_cairo_context </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Creates a <a class="el" href="namespaceGdk_1_1Cairo.html">Cairo</a> context for drawing to <em>drawable</em>. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A newly created <a class="el" href="namespaceGdk_1_1Cairo.html">Cairo</a> context.</dd></dl>
<dl class="since_2_10"><dt><b><a class="el" href="since_2_10.html#_since_2_10000003">Since gtkmm 2.10:</a></b></dt><dd></dd></dl>
</div>
</div>
<a class="anchor" id="a03a3398d6e4e193bdba4cfa4d7a5aab4"></a><!-- doxytag: member="Gdk::Drawable::draw_arc" ref="a03a3398d6e4e193bdba4cfa4d7a5aab4" args="(const Glib::RefPtr< const GC > &gc, bool filled, int x, int y, int width, int height, int angle1, int angle2)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gdk::Drawable::draw_arc </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="classGdk_1_1GC.html">GC</a> >& </td>
<td class="paramname"> <em>gc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"> <em>filled</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>height</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>angle1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>angle2</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Draws an arc or a filled 'pie slice'. </p>
<p>The arc is defined by the bounding rectangle of the entire ellipse, and the start and end angles of the part of the ellipse to be drawn. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>gc</em> </td><td>A <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">Gdk::GC</a>. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>filled</em> </td><td><code>true</code> if the arc should be filled, producing a 'pie slice'. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>x</em> </td><td>The x coordinate of the left edge of the bounding rectangle. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>y</em> </td><td>The y coordinate of the top edge of the bounding rectangle. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>width</em> </td><td>The width of the bounding rectangle. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>height</em> </td><td>The height of the bounding rectangle. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>angle1</em> </td><td>The start angle of the arc, relative to the 3 o'clock position, counter-clockwise, in 1/64ths of a degree. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>angle2</em> </td><td>The end angle of the arc, relative to <em>angle1</em>, in 1/64ths of a degree. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ab083c8726dcf649e5278749a296bdc28"></a><!-- doxytag: member="Gdk::Drawable::draw_drawable" ref="ab083c8726dcf649e5278749a296bdc28" args="(const Glib::RefPtr< const GC > &gc, const Glib::RefPtr< const Drawable > &src, int xsrc, int ysrc, int xdest, int ydest, int width=-1, int height=-1)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gdk::Drawable::draw_drawable </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="classGdk_1_1GC.html">GC</a> >& </td>
<td class="paramname"> <em>gc</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="classGdk_1_1Drawable.html">Drawable</a> >& </td>
<td class="paramname"> <em>src</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>xsrc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>ysrc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>xdest</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>ydest</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>width</em> = <code>-1</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>height</em> = <code>-1</code></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Copies the <em>width</em> x <em>height</em> region of <em>src</em> at coordinates ( <em>xsrc</em>, <em>ysrc</em>) to coordinates ( <em>xdest</em>, <em>ydest</em>) in <em>drawable</em>. </p>
<p><em>width</em> and/or <em>height</em> may be given as -1, in which case the entire <em>src</em> drawable will be copied.</p>
<p>Most fields in <em>gc</em> are not used for this operation, but notably the clip mask or clip region will be honored.</p>
<p>The source and destination drawables must have the same visual and colormap, or errors will result. (On X11, failure to match visual/colormap results in a BadMatch error from the X server.) A common cause of this problem is an attempt to draw a bitmap to a color drawable. The way to draw a bitmap is to set the bitmap as the stipple on the <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">Gdk::GC</a>, set the fill mode to <a class="el" href="group__gdkmmEnums.html#ggaf945088bf264cc01bf858c3468d2a451a63132d7995c2c73fb2054ec7e83fbbae">Gdk::STIPPLED</a>, and then draw the rectangle. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>gc</em> </td><td>A <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">Gdk::GC</a> sharing the drawable's visual and colormap. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>src</em> </td><td>The source <a class="el" href="classGdk_1_1Drawable.html" title="Drawing Primitives.">Gdk::Drawable</a>, which may be the same as <em>drawable</em>. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>xsrc</em> </td><td>X position in <em>src</em> of rectangle to draw. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>ysrc</em> </td><td>Y position in <em>src</em> of rectangle to draw. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>xdest</em> </td><td>X position in <em>drawable</em> where the rectangle should be drawn. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>ydest</em> </td><td>Y position in <em>drawable</em> where the rectangle should be drawn. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>width</em> </td><td>Width of rectangle to draw, or -1 for entire <em>src</em> width. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>height</em> </td><td>Height of rectangle to draw, or -1 for entire <em>src</em> height. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a3be58bd209c18fc9263ccfb090a51875"></a><!-- doxytag: member="Gdk::Drawable::draw_glyphs" ref="a3be58bd209c18fc9263ccfb090a51875" args="(const Glib::RefPtr< const GC > &gc, const Glib::RefPtr< const Pango::Font > &font, int x, int y, const Pango::GlyphString &glyphs)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gdk::Drawable::draw_glyphs </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="classGdk_1_1GC.html">GC</a> >& </td>
<td class="paramname"> <em>gc</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="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1Font.html">Pango::Font</a> > & </td>
<td class="paramname"> <em>font</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1GlyphString.html">Pango::GlyphString</a> & </td>
<td class="paramname"> <em>glyphs</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>This is a low-level function; 99% of text rendering should be done using gdk_draw_layout() instead. </p>
<p>A glyph is a single image in a font. This function draws a sequence of glyphs. To obtain a sequence of glyphs you have to understand a lot about internationalized text handling, which you don't want to understand; thus, use gdk_draw_layout() instead of this function, gdk_draw_layout() handles the details. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>gc</em> </td><td>A <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">Gdk::GC</a>. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>font</em> </td><td>Font to be used. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>x</em> </td><td>X coordinate of baseline origin. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>y</em> </td><td>Y coordinate of baseline origin. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>glyphs</em> </td><td>The glyph string to draw. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="afa94c2411ae1df47f8859180cf590afc"></a><!-- doxytag: member="Gdk::Drawable::draw_gray_image" ref="afa94c2411ae1df47f8859180cf590afc" args="(const Glib::RefPtr< const GC > &gc, int x, int y, int width, int height, RgbDither dith, const guchar *rgb_buf, int rowstride)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gdk::Drawable::draw_gray_image </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="classGdk_1_1GC.html">GC</a> >& </td>
<td class="paramname"> <em>gc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>height</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__gdkmmEnums.html#ga4545c96b93ea95ff053b198cc02346e8">RgbDither</a> </td>
<td class="paramname"> <em>dith</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const guchar * </td>
<td class="paramname"> <em>rgb_buf</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>rowstride</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a8ea32afd4ea08f6abea8de6fc268ccb6"></a><!-- doxytag: member="Gdk::Drawable::draw_image" ref="a8ea32afd4ea08f6abea8de6fc268ccb6" args="(const Glib::RefPtr< const GC > &gc, const Glib::RefPtr< const Image > &image, int xsrc, int ysrc, int xdest, int ydest, int width=-1, int height=-1)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gdk::Drawable::draw_image </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="classGdk_1_1GC.html">GC</a> >& </td>
<td class="paramname"> <em>gc</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="classGdk_1_1Image.html">Image</a> >& </td>
<td class="paramname"> <em>image</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>xsrc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>ysrc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>xdest</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>ydest</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>width</em> = <code>-1</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>height</em> = <code>-1</code></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Draws a <a class="el" href="classGdk_1_1Image.html" title="This represents an area for drawing graphics.">Gdk::Image</a> onto a drawable. </p>
<p>The depth of the <a class="el" href="classGdk_1_1Image.html" title="This represents an area for drawing graphics.">Gdk::Image</a> must match the depth of the <a class="el" href="classGdk_1_1Drawable.html" title="Drawing Primitives.">Gdk::Drawable</a>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>gc</em> </td><td>A <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">Gdk::GC</a>. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>image</em> </td><td>The <a class="el" href="classGdk_1_1Image.html" title="This represents an area for drawing graphics.">Gdk::Image</a> to draw. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>xsrc</em> </td><td>The left edge of the source rectangle within <em>image</em>. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>ysrc</em> </td><td>The top of the source rectangle within <em>image</em>. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>xdest</em> </td><td>The x coordinate of the destination within <em>drawable</em>. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>ydest</em> </td><td>The y coordinate of the destination within <em>drawable</em>. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>width</em> </td><td>The width of the area to be copied, or -1 to make the area extend to the right edge of <em>image</em>. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>height</em> </td><td>The height of the area to be copied, or -1 to make the area extend to the bottom edge of <em>image</em>. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a680c0b6248c7e8cd6bc62c551f25e99e"></a><!-- doxytag: member="Gdk::Drawable::draw_indexed_image" ref="a680c0b6248c7e8cd6bc62c551f25e99e" args="(const Glib::RefPtr< const GC > &gc, int x, int y, int width, int height, RgbDither dith, const guchar *rgb_buf, int rowstride, const RgbCmap &cmap)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gdk::Drawable::draw_indexed_image </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="classGdk_1_1GC.html">GC</a> >& </td>
<td class="paramname"> <em>gc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>height</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__gdkmmEnums.html#ga4545c96b93ea95ff053b198cc02346e8">RgbDither</a> </td>
<td class="paramname"> <em>dith</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const guchar * </td>
<td class="paramname"> <em>rgb_buf</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>rowstride</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classGdk_1_1RgbCmap.html">RgbCmap</a>& </td>
<td class="paramname"> <em>cmap</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a802de1ed660d88a490868e385a2eb889"></a><!-- doxytag: member="Gdk::Drawable::draw_layout" ref="a802de1ed660d88a490868e385a2eb889" args="(const Glib::RefPtr< const GC > &gc, int x, int y, const Glib::RefPtr< const Pango::Layout > &layout, const Color &foreground, const Color &background)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gdk::Drawable::draw_layout </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="classGdk_1_1GC.html">GC</a> >& </td>
<td class="paramname"> <em>gc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>y</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="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1Layout.html">Pango::Layout</a> > & </td>
<td class="paramname"> <em>layout</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classGdk_1_1Color.html">Color</a>& </td>
<td class="paramname"> <em>foreground</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classGdk_1_1Color.html">Color</a>& </td>
<td class="paramname"> <em>background</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Render a <a class="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1Layout.html">Pango::Layout</a> onto a <a class="el" href="classGdk_1_1Drawable.html" title="Drawing Primitives.">Gdk::Drawable</a>, overriding the layout's normal colors with <em>foreground</em> and/or <em>background</em>. </p>
<p><em>foreground</em> and <em>background</em> need not be allocated.</p>
<p>If the layout's <a class="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1Context.html">Pango::Context</a> has a transformation matrix set, then <em>x</em> and <em>y</em> specify the position of the top left corner of the bounding box (in device space) of the transformed layout.</p>
<p>If you're using GTK+, the ususal way to obtain a <a class="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1Layout.html">Pango::Layout</a> is gtk_widget_create_pango_layout(). </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>gc</em> </td><td>Base graphics context to use. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>x</em> </td><td>The X position of the left of the layout (in pixels). </td></tr>
<tr><td valign="top"></td><td valign="top"><em>y</em> </td><td>The Y position of the top of the layout (in pixels). </td></tr>
<tr><td valign="top"></td><td valign="top"><em>layout</em> </td><td>A <a class="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1Layout.html">Pango::Layout</a>. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>foreground</em> </td><td>Foreground override color, or <code>0</code> for none. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>background</em> </td><td>Background override color, or <code>0</code> for none. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a08959f92c57e03537207698a63f57882"></a><!-- doxytag: member="Gdk::Drawable::draw_layout" ref="a08959f92c57e03537207698a63f57882" args="(const Glib::RefPtr< const GC > &gc, int x, int y, const Glib::RefPtr< const Pango::Layout > &layout)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gdk::Drawable::draw_layout </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="classGdk_1_1GC.html">GC</a> >& </td>
<td class="paramname"> <em>gc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>y</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="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1Layout.html">Pango::Layout</a> > & </td>
<td class="paramname"> <em>layout</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Render a <a class="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1Layout.html">Pango::Layout</a> onto a GDK drawable. </p>
<p>If the layout's <a class="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1Context.html">Pango::Context</a> has a transformation matrix set, then <em>x</em> and <em>y</em> specify the position of the top left corner of the bounding box (in device space) of the transformed layout.</p>
<p>If you're using GTK+, the usual way to obtain a <a class="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1Layout.html">Pango::Layout</a> is gtk_widget_create_pango_layout(). </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>gc</em> </td><td>Base graphics context to use. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>x</em> </td><td>The X position of the left of the layout (in pixels). </td></tr>
<tr><td valign="top"></td><td valign="top"><em>y</em> </td><td>The Y position of the top of the layout (in pixels). </td></tr>
<tr><td valign="top"></td><td valign="top"><em>layout</em> </td><td>A <a class="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1Layout.html">Pango::Layout</a>. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ac2b6b4315f030da7247a13c2347c4007"></a><!-- doxytag: member="Gdk::Drawable::draw_layout_line" ref="ac2b6b4315f030da7247a13c2347c4007" args="(const Glib::RefPtr< const GC > &gc, int x, int y, const Glib::RefPtr< const Pango::LayoutLine > &line, const Color &foreground, const Color &background)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gdk::Drawable::draw_layout_line </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="classGdk_1_1GC.html">GC</a> >& </td>
<td class="paramname"> <em>gc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>y</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="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1LayoutLine.html">Pango::LayoutLine</a> > & </td>
<td class="paramname"> <em>line</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classGdk_1_1Color.html">Color</a>& </td>
<td class="paramname"> <em>foreground</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classGdk_1_1Color.html">Color</a>& </td>
<td class="paramname"> <em>background</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Render a <a class="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1LayoutLine.html">Pango::LayoutLine</a> onto a <a class="el" href="classGdk_1_1Drawable.html" title="Drawing Primitives.">Gdk::Drawable</a>, overriding the layout's normal colors with <em>foreground</em> and/or <em>background</em>. </p>
<p><em>foreground</em> and <em>background</em> need not be allocated.</p>
<p>If the layout's <a class="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1Context.html">Pango::Context</a> has a transformation matrix set, then <em>x</em> and <em>y</em> specify the position of the left edge of the baseline (left is in before-tranform user coordinates) in after-transform device coordinates. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>gc</em> </td><td>Base graphics to use. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>x</em> </td><td>The x position of start of string (in pixels). </td></tr>
<tr><td valign="top"></td><td valign="top"><em>y</em> </td><td>The y position of baseline (in pixels). </td></tr>
<tr><td valign="top"></td><td valign="top"><em>line</em> </td><td>A <a class="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1LayoutLine.html">Pango::LayoutLine</a>. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>foreground</em> </td><td>Foreground override color, or <code>0</code> for none. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>background</em> </td><td>Background override color, or <code>0</code> for none. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a6690d8fb0eb8546c48a566cb3fe6e4f4"></a><!-- doxytag: member="Gdk::Drawable::draw_layout_line" ref="a6690d8fb0eb8546c48a566cb3fe6e4f4" args="(const Glib::RefPtr< const GC > &gc, int x, int y, const Glib::RefPtr< const Pango::LayoutLine > &line)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gdk::Drawable::draw_layout_line </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="classGdk_1_1GC.html">GC</a> >& </td>
<td class="paramname"> <em>gc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>y</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="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1LayoutLine.html">Pango::LayoutLine</a> > & </td>
<td class="paramname"> <em>line</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Render a <a class="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1LayoutLine.html">Pango::LayoutLine</a> onto an GDK drawable. </p>
<p>If the layout's <a class="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1Context.html">Pango::Context</a> has a transformation matrix set, then <em>x</em> and <em>y</em> specify the position of the left edge of the baseline (left is in before-tranform user coordinates) in after-transform device coordinates. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>gc</em> </td><td>Base graphics to use. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>x</em> </td><td>The x position of start of string (in pixels). </td></tr>
<tr><td valign="top"></td><td valign="top"><em>y</em> </td><td>The y position of baseline (in pixels). </td></tr>
<tr><td valign="top"></td><td valign="top"><em>line</em> </td><td>A <a class="elRef" doxygen="pangomm-1.4.tag:http://library.gnome.org/devel/pangomm/unstable/" href="http://library.gnome.org/devel/pangomm/unstable/classPango_1_1LayoutLine.html">Pango::LayoutLine</a>. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a6b9603c642fd297ebcc5893a129f4df2"></a><!-- doxytag: member="Gdk::Drawable::draw_line" ref="a6b9603c642fd297ebcc5893a129f4df2" args="(const Glib::RefPtr< const GC > &gc, int x1, int y1, int x2, int y2)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gdk::Drawable::draw_line </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="classGdk_1_1GC.html">GC</a> >& </td>
<td class="paramname"> <em>gc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>x1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>y1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>x2</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>y2</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Draws a line, using the foreground color and other attributes of the <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">Gdk::GC</a>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>gc</em> </td><td>A <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">Gdk::GC</a>. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>x1</em> </td><td>The x coordinate of the start point. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>y1</em> </td><td>The y coordinate of the start point. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>x2</em> </td><td>The x coordinate of the end point. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>y2</em> </td><td>The y coordinate of the end point. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a38a6e490519e5ab89adef59b78ee2590"></a><!-- doxytag: member="Gdk::Drawable::draw_lines" ref="a38a6e490519e5ab89adef59b78ee2590" args="(const Glib::RefPtr< const GC > &gc, const Glib::ArrayHandle< Point > &points)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gdk::Drawable::draw_lines </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="classGdk_1_1GC.html">GC</a> >& </td>
<td class="paramname"> <em>gc</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_1ArrayHandle.html">Glib::ArrayHandle</a>< <a class="el" href="classGdk_1_1Point.html">Point</a> >& </td>
<td class="paramname"> <em>points</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a2b0f0fa71a27ef18f53a47b6e81787e6"></a><!-- doxytag: member="Gdk::Drawable::draw_pixbuf" ref="a2b0f0fa71a27ef18f53a47b6e81787e6" args="(const Glib::RefPtr< Pixbuf > &pixbuf, int src_x, int src_y, int dest_x, int dest_y, int width, int height, RgbDither dither, int x_dither, int y_dither)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gdk::Drawable::draw_pixbuf </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>< <a class="el" href="classGdk_1_1Pixbuf.html">Pixbuf</a> >& </td>
<td class="paramname"> <em>pixbuf</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>src_x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>src_y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>dest_x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>dest_y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>height</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__gdkmmEnums.html#ga4545c96b93ea95ff053b198cc02346e8">RgbDither</a> </td>
<td class="paramname"> <em>dither</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>x_dither</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>y_dither</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Renders a rectangular portion of a pixbuf to a drawable. </p>
<p>The destination drawable must have a colormap. All windows have a colormap, however, pixmaps only have colormap by default if they were created with a non-<code>0</code> window argument. Otherwise a colormap must be set on them with <a class="el" href="classGdk_1_1Drawable.html#a676623cd9318e60e5dfb075f9ae53d6b" title="Sets the colormap associated with drawable.">Gdk::Drawable::set_colormap()</a>.</p>
<p>On older X servers, rendering pixbufs with an alpha channel involves round trips to the X server, and may be somewhat slow.</p>
<p>If GDK is built with the Sun mediaLib library, the gdk_draw_pixbuf function is accelerated using mediaLib, which provides hardware acceleration on Intel, AMD, and Sparc chipsets. If desired, mediaLib support can be turned off by setting the GDK_DISABLE_MEDIALIB environment variable.</p>
<dl class="since_2_16"><dt><b><a class="el" href="since_2_16.html#_since_2_16000001">Since gtkmm 2.16:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>pixbuf</em> </td><td>A <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>src_x</em> </td><td>Source X coordinate within pixbuf. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>src_y</em> </td><td>Source Y coordinates within pixbuf. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>dest_x</em> </td><td>Destination X coordinate within drawable. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>dest_y</em> </td><td>Destination Y coordinate within drawable. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>width</em> </td><td>Width of region to render, in pixels, or -1 to use pixbuf width. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>height</em> </td><td>Height of region to render, in pixels, or -1 to use pixbuf height. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>dither</em> </td><td>Dithering mode for Gdk::RGB. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>x_dither</em> </td><td>X offset for dither. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>y_dither</em> </td><td>Y offset for dither. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a7530941e96a44e882961d5358fb8eb68"></a><!-- doxytag: member="Gdk::Drawable::draw_pixbuf" ref="a7530941e96a44e882961d5358fb8eb68" args="(const Glib::RefPtr< const GC > &gc, const Glib::RefPtr< Pixbuf > &pixbuf, int src_x, int src_y, int dest_x, int dest_y, int width, int height, RgbDither dither, int x_dither, int y_dither)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gdk::Drawable::draw_pixbuf </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="classGdk_1_1GC.html">GC</a> >& </td>
<td class="paramname"> <em>gc</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>< <a class="el" href="classGdk_1_1Pixbuf.html">Pixbuf</a> >& </td>
<td class="paramname"> <em>pixbuf</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>src_x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>src_y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>dest_x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>dest_y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>height</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__gdkmmEnums.html#ga4545c96b93ea95ff053b198cc02346e8">RgbDither</a> </td>
<td class="paramname"> <em>dither</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>x_dither</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>y_dither</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Renders a rectangular portion of a pixbuf to a drawable. </p>
<p>The destination drawable must have a colormap. All windows have a colormap, however, pixmaps only have colormap by default if they were created with a non-<code>0</code> window argument. Otherwise a colormap must be set on them with <a class="el" href="classGdk_1_1Drawable.html#a676623cd9318e60e5dfb075f9ae53d6b" title="Sets the colormap associated with drawable.">Gdk::Drawable::set_colormap()</a>.</p>
<p>On older X servers, rendering pixbufs with an alpha channel involves round trips to the X server, and may be somewhat slow.</p>
<p>The clip mask of <em>gc</em> is ignored, but clip rectangles and clip regions work fine.</p>
<p>If GDK is built with the Sun mediaLib library, the gdk_draw_pixbuf function is accelerated using mediaLib, which provides hardware acceleration on Intel, AMD, and Sparc chipsets. If desired, mediaLib support can be turned off by setting the GDK_DISABLE_MEDIALIB environment variable.</p>
<dl class="since_2_2"><dt><b><a class="el" href="since_2_2.html#_since_2_2000046">Since gtkmm 2.2:</a></b></dt><dd></dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>gc</em> </td><td>A <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">Gdk::GC</a>, used for clipping. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>pixbuf</em> </td><td>A <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a>. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>src_x</em> </td><td>Source X coordinate within pixbuf. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>src_y</em> </td><td>Source Y coordinates within pixbuf. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>dest_x</em> </td><td>Destination X coordinate within drawable. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>dest_y</em> </td><td>Destination Y coordinate within drawable. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>width</em> </td><td>Width of region to render, in pixels, or -1 to use pixbuf width. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>height</em> </td><td>Height of region to render, in pixels, or -1 to use pixbuf height. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>dither</em> </td><td>Dithering mode for Gdk::RGB. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>x_dither</em> </td><td>X offset for dither. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>y_dither</em> </td><td>Y offset for dither. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a906830d41266be3056d0e1ac8ea2dc6d"></a><!-- doxytag: member="Gdk::Drawable::draw_point" ref="a906830d41266be3056d0e1ac8ea2dc6d" args="(const Glib::RefPtr< const GC > &gc, int x, int y)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gdk::Drawable::draw_point </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="classGdk_1_1GC.html">GC</a> >& </td>
<td class="paramname"> <em>gc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>y</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Draws a point, using the foreground color and other attributes of the <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">Gdk::GC</a>. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>gc</em> </td><td>A <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">Gdk::GC</a>. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>x</em> </td><td>The x coordinate of the point. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>y</em> </td><td>The y coordinate of the point. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="ab7c474844251ed7561900530b55406f1"></a><!-- doxytag: member="Gdk::Drawable::draw_points" ref="ab7c474844251ed7561900530b55406f1" args="(const Glib::RefPtr< const GC > &gc, const Glib::ArrayHandle< Point > &points)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gdk::Drawable::draw_points </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="classGdk_1_1GC.html">GC</a> >& </td>
<td class="paramname"> <em>gc</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_1ArrayHandle.html">Glib::ArrayHandle</a>< <a class="el" href="classGdk_1_1Point.html">Point</a> >& </td>
<td class="paramname"> <em>points</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="ae8667a9c4f1f527ec415357dbc48a4de"></a><!-- doxytag: member="Gdk::Drawable::draw_polygon" ref="ae8667a9c4f1f527ec415357dbc48a4de" args="(const Glib::RefPtr< const GC > &gc, bool filled, const Glib::ArrayHandle< Point > &points)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gdk::Drawable::draw_polygon </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="classGdk_1_1GC.html">GC</a> >& </td>
<td class="paramname"> <em>gc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"> <em>filled</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_1ArrayHandle.html">Glib::ArrayHandle</a>< <a class="el" href="classGdk_1_1Point.html">Point</a> >& </td>
<td class="paramname"> <em>points</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a0999885c93656c0587a4d4dac46a9d6c"></a><!-- doxytag: member="Gdk::Drawable::draw_rectangle" ref="a0999885c93656c0587a4d4dac46a9d6c" args="(const Glib::RefPtr< const GC > &gc, bool filled, int x, int y, int width, int height)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gdk::Drawable::draw_rectangle </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="classGdk_1_1GC.html">GC</a> >& </td>
<td class="paramname"> <em>gc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"> <em>filled</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>height</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Draws a rectangular outline or filled rectangle, using the foreground color and other attributes of the <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">Gdk::GC</a>. </p>
<p>A rectangle drawn filled is 1 pixel smaller in both dimensions than a rectangle outlined. Calling <literal>gdk_draw_rectangle (window, gc, <code>true</code>, 0, 0, 20, 20)</literal> results in a filled rectangle 20 pixels wide and 20 pixels high. Calling <literal>gdk_draw_rectangle (window, gc, <code>false</code>, 0, 0, 20, 20)</literal> results in an outlined rectangle with corners at (0, 0), (0, 20), (20, 20), and (20, 0), which makes it 21 pixels wide and 21 pixels high. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>gc</em> </td><td>A <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">Gdk::GC</a>. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>filled</em> </td><td><code>true</code> if the rectangle should be filled. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>x</em> </td><td>The x coordinate of the left edge of the rectangle. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>y</em> </td><td>The y coordinate of the top edge of the rectangle. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>width</em> </td><td>The width of the rectangle. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>height</em> </td><td>The height of the rectangle. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a620c4da6bc6da4cd99e94ac610d15e76"></a><!-- doxytag: member="Gdk::Drawable::draw_rgb_32_image" ref="a620c4da6bc6da4cd99e94ac610d15e76" args="(const Glib::RefPtr< const GC > &gc, int x, int y, int width, int height, RgbDither dith, const guchar *rgb_buf, int rowstride)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gdk::Drawable::draw_rgb_32_image </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="classGdk_1_1GC.html">GC</a> >& </td>
<td class="paramname"> <em>gc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>height</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__gdkmmEnums.html#ga4545c96b93ea95ff053b198cc02346e8">RgbDither</a> </td>
<td class="paramname"> <em>dith</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const guchar * </td>
<td class="paramname"> <em>rgb_buf</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>rowstride</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a1cde8450de8300ed60b9c2eb037a3be6"></a><!-- doxytag: member="Gdk::Drawable::draw_rgb_32_image_dithalign" ref="a1cde8450de8300ed60b9c2eb037a3be6" args="(const Glib::RefPtr< const GC > &gc, int x, int y, int width, int height, RgbDither dith, const guchar *buf, int rowstride, int xdith, int ydith)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gdk::Drawable::draw_rgb_32_image_dithalign </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="classGdk_1_1GC.html">GC</a> >& </td>
<td class="paramname"> <em>gc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>height</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__gdkmmEnums.html#ga4545c96b93ea95ff053b198cc02346e8">RgbDither</a> </td>
<td class="paramname"> <em>dith</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const guchar * </td>
<td class="paramname"> <em>buf</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>rowstride</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>xdith</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>ydith</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Like gdk_draw_rgb_32_image(), but allows you to specify the dither offsets. </p>
<p>See gdk_draw_rgb_image_dithalign() for more details. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>gc</em> </td><td>A <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">Gdk::GC</a>. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>x</em> </td><td>X coordinate on <em>drawable</em> where image should go. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>y</em> </td><td>Y coordinate on <em>drawable</em> where image should go. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>width</em> </td><td>Width of area of image to draw. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>height</em> </td><td>Height of area of image to draw. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>dith</em> </td><td>Dithering mode. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>buf</em> </td><td>RGB image data. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>rowstride</em> </td><td>Rowstride of RGB image data. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>xdith</em> </td><td>X dither offset. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>ydith</em> </td><td>Y dither offset. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a014f7c7bba354373889470c63a1734dd"></a><!-- doxytag: member="Gdk::Drawable::draw_rgb_image" ref="a014f7c7bba354373889470c63a1734dd" args="(const Glib::RefPtr< const GC > &gc, int x, int y, int width, int height, RgbDither dith, const guchar *rgb_buf, int rowstride)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gdk::Drawable::draw_rgb_image </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="classGdk_1_1GC.html">GC</a> >& </td>
<td class="paramname"> <em>gc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>height</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__gdkmmEnums.html#ga4545c96b93ea95ff053b198cc02346e8">RgbDither</a> </td>
<td class="paramname"> <em>dith</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const guchar * </td>
<td class="paramname"> <em>rgb_buf</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>rowstride</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a1d24e9ee4461d45557531144afc1a8fa"></a><!-- doxytag: member="Gdk::Drawable::draw_rgb_image_dithalign" ref="a1d24e9ee4461d45557531144afc1a8fa" args="(const Glib::RefPtr< const GC > &gc, int x, int y, int width, int height, RgbDither dith, const guchar *rgb_buf, int rowstride, int xdith, int ydith)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gdk::Drawable::draw_rgb_image_dithalign </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="classGdk_1_1GC.html">GC</a> >& </td>
<td class="paramname"> <em>gc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>height</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="group__gdkmmEnums.html#ga4545c96b93ea95ff053b198cc02346e8">RgbDither</a> </td>
<td class="paramname"> <em>dith</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const guchar * </td>
<td class="paramname"> <em>rgb_buf</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>rowstride</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>xdith</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>ydith</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
</div>
</div>
<a class="anchor" id="a91a34288b75797a66a14812bb963e09a"></a><!-- doxytag: member="Gdk::Drawable::draw_segments" ref="a91a34288b75797a66a14812bb963e09a" args="(const Glib::RefPtr< const GC > &gc, GdkSegment *segs, int nsegs)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gdk::Drawable::draw_segments </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="classGdk_1_1GC.html">GC</a> >& </td>
<td class="paramname"> <em>gc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">GdkSegment * </td>
<td class="paramname"> <em>segs</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>nsegs</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Draws a number of unconnected lines. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>gc</em> </td><td>A <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">Gdk::GC</a>. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>segs</em> </td><td>An array of Gdk::Segment structures specifying the start and end points of the lines to be drawn. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>n_segs</em> </td><td>The number of line segments to draw, i.e. the size of the <em>segs</em> array. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a3b693270cd26ebe5eed180ff0cb7cf72"></a><!-- doxytag: member="Gdk::Drawable::get_clip_region" ref="a3b693270cd26ebe5eed180ff0cb7cf72" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classGdk_1_1Region.html">Region</a> Gdk::Drawable::get_clip_region </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Computes the region of a drawable that potentially can be written to by drawing primitives. </p>
<p>This region will not take into account the clip region for the <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">GC</a>, and may also not take into account other factors such as if the window is obscured by other windows, but no area outside of this region will be affected by drawing primitives. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A <a class="el" href="classGdk_1_1Region.html" title="This is an opaque data type holding a set of arbitrary pixels, and is usually used...">Gdk::Region</a>. This must be freed with gdk_region_destroy() when you are done. </dd></dl>
</div>
</div>
<a class="anchor" id="aabd203bf1c824e2aa8d8c9eb9c3e641c"></a><!-- doxytag: member="Gdk::Drawable::get_colormap" ref="aabd203bf1c824e2aa8d8c9eb9c3e641c" args="()" -->
<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_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1Colormap.html">Colormap</a>> Gdk::Drawable::get_colormap </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Gets the colormap for <em>drawable</em>, if one is set; returns <code>0</code> otherwise. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The colormap, or <code>0</code>. </dd></dl>
</div>
</div>
<a class="anchor" id="a5309b1be72155e0d0fae2f2b5a5ec468"></a><!-- doxytag: member="Gdk::Drawable::get_depth" ref="a5309b1be72155e0d0fae2f2b5a5ec468" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int Gdk::Drawable::get_depth </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Obtains the bit depth of the drawable, that is, the number of bits that make up a pixel in the drawable's visual. </p>
<p>Examples are 8 bits per pixel, 24 bits per pixel, etc. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>Number of bits per pixel. </dd></dl>
</div>
</div>
<a class="anchor" id="a18d3a8e6a9c7cb5338a19a7768404c6a"></a><!-- doxytag: member="Gdk::Drawable::get_display" ref="a18d3a8e6a9c7cb5338a19a7768404c6a" args="() const " -->
<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_1RefPtr.html">Glib::RefPtr</a><const <a class="el" href="classGdk_1_1Display.html">Display</a>> Gdk::Drawable::get_display </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Gets the <a class="el" href="classGdk_1_1Display.html" title="Gdk::Display object's purpose is two fold: To grab/ungrab keyboard focus and...">Gdk::Display</a> associated with a <a class="el" href="classGdk_1_1Drawable.html" title="Drawing Primitives.">Gdk::Drawable</a>. </p>
<dl class="since_2_2"><dt><b><a class="el" href="since_2_2.html#_since_2_2000050">Since gtkmm 2.2:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The <a class="el" href="classGdk_1_1Display.html" title="Gdk::Display object's purpose is two fold: To grab/ungrab keyboard focus and...">Gdk::Display</a> associated with <em>drawable</em>. </dd></dl>
</div>
</div>
<a class="anchor" id="aefdf42d02473609fc552aec4cc718be5"></a><!-- doxytag: member="Gdk::Drawable::get_display" ref="aefdf42d02473609fc552aec4cc718be5" args="()" -->
<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_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1Display.html">Display</a>> Gdk::Drawable::get_display </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Gets the <a class="el" href="classGdk_1_1Display.html" title="Gdk::Display object's purpose is two fold: To grab/ungrab keyboard focus and...">Gdk::Display</a> associated with a <a class="el" href="classGdk_1_1Drawable.html" title="Drawing Primitives.">Gdk::Drawable</a>. </p>
<dl class="since_2_2"><dt><b><a class="el" href="since_2_2.html#_since_2_2000049">Since gtkmm 2.2:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The <a class="el" href="classGdk_1_1Display.html" title="Gdk::Display object's purpose is two fold: To grab/ungrab keyboard focus and...">Gdk::Display</a> associated with <em>drawable</em>. </dd></dl>
</div>
</div>
<a class="anchor" id="a5c758b488229b68f15b431d90e87d2b8"></a><!-- doxytag: member="Gdk::Drawable::get_image" ref="a5c758b488229b68f15b431d90e87d2b8" args="(int x, int y, int width, int height) const " -->
<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_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1Image.html">Image</a>> Gdk::Drawable::get_image </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"> <em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>height</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>A <a class="el" href="classGdk_1_1Image.html" title="This represents an area for drawing graphics.">Gdk::Image</a> stores client-side image data (pixels). </p>
<p>In contrast, <a class="el" href="classGdk_1_1Pixmap.html" title="Pixmaps are offscreen drawables.">Gdk::Pixmap</a> and <a class="el" href="classGdk_1_1Window.html" title="A Gdk::Window is a rectangular region on the screen.">Gdk::Window</a> are server-side objects. <a class="el" href="classGdk_1_1Drawable.html#a5c758b488229b68f15b431d90e87d2b8" title="A Gdk::Image stores client-side image data (pixels).">get_image()</a> obtains the pixels from a server-side drawable as a client-side <a class="el" href="classGdk_1_1Image.html" title="This represents an area for drawing graphics.">Gdk::Image</a>. The format of a <a class="el" href="classGdk_1_1Image.html" title="This represents an area for drawing graphics.">Gdk::Image</a> depends on the <a class="el" href="classGdk_1_1Visual.html" title="A Gdk::Visual describes a particular video hardware display format.">Gdk::Visual</a> of the current display, which makes manipulating <a class="el" href="classGdk_1_1Image.html" title="This represents an area for drawing graphics.">Gdk::Image</a> extremely difficult; therefore, in most cases you should use the <a class="el" href="classGdk_1_1Pixbuf.html#a519fae58f951e669b3693a624661e076">Gdk::Pixbuf::create()</a> method that takes a <a class="el" href="classGdk_1_1Drawable.html" title="Drawing Primitives.">Gdk::Drawable</a>, instead of this lower-level function. A <a class="el" href="classGdk_1_1Pixbuf.html">Gdk::Pixbuf</a> contains image data in a canonicalized RGB format, rather than a display-dependent format. Of course, there's a convenience vs. speed tradeoff here, so you'll want to think about what makes sense for your application.</p>
<p><em>x</em>, <em>y</em>, <em>width</em>, and <em>height</em> define the region of <em>drawable</em> to obtain as an image.</p>
<p>You would usually copy image data to the client side if you intend to examine the values of individual pixels, for example to darken an image or add a red tint. It would be prohibitively slow to make a round-trip request to the windowing system for each pixel, so instead you get all of them at once, modify them, then copy them all back at once.</p>
<p>If the X server or other windowing system backend is on the local machine, this function may use shared memory to avoid copying the image data.</p>
<p>If the source drawable is a <a class="el" href="classGdk_1_1Window.html" title="A Gdk::Window is a rectangular region on the screen.">Gdk::Window</a> and partially offscreen or obscured, then the obscured portions of the returned image will contain undefined data. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>x</em> </td><td>X coordinate on <em>drawable</em>. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>y</em> </td><td>Y coordinate on <em>drawable</em>. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>width</em> </td><td>Width of region to get. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>height</em> </td><td>Height or region to get. </td></tr>
</table>
</dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A <a class="el" href="classGdk_1_1Image.html" title="This represents an area for drawing graphics.">Gdk::Image</a> containing the contents of <em>drawable</em>. </dd></dl>
</div>
</div>
<a class="anchor" id="a9985ca42f887388dc2f51b0d8d3eaf18"></a><!-- doxytag: member="Gdk::Drawable::get_screen" ref="a9985ca42f887388dc2f51b0d8d3eaf18" args="() const " -->
<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_1RefPtr.html">Glib::RefPtr</a><const <a class="el" href="classGdk_1_1Screen.html">Screen</a>> Gdk::Drawable::get_screen </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Gets the <a class="el" href="classGdk_1_1Screen.html" title="Object representing a physical screen Gdk::Screen objects are the GDK representation...">Gdk::Screen</a> associated with a <a class="el" href="classGdk_1_1Drawable.html" title="Drawing Primitives.">Gdk::Drawable</a>. </p>
<dl class="since_2_2"><dt><b><a class="el" href="since_2_2.html#_since_2_2000048">Since gtkmm 2.2:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The <a class="el" href="classGdk_1_1Screen.html" title="Object representing a physical screen Gdk::Screen objects are the GDK representation...">Gdk::Screen</a> associated with <em>drawable</em>. </dd></dl>
</div>
</div>
<a class="anchor" id="aef4f5224e3cdf93a3de4aca91758f50c"></a><!-- doxytag: member="Gdk::Drawable::get_screen" ref="aef4f5224e3cdf93a3de4aca91758f50c" args="()" -->
<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_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1Screen.html">Screen</a>> Gdk::Drawable::get_screen </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Gets the <a class="el" href="classGdk_1_1Screen.html" title="Object representing a physical screen Gdk::Screen objects are the GDK representation...">Gdk::Screen</a> associated with a <a class="el" href="classGdk_1_1Drawable.html" title="Drawing Primitives.">Gdk::Drawable</a>. </p>
<dl class="since_2_2"><dt><b><a class="el" href="since_2_2.html#_since_2_2000047">Since gtkmm 2.2:</a></b></dt><dd></dd></dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The <a class="el" href="classGdk_1_1Screen.html" title="Object representing a physical screen Gdk::Screen objects are the GDK representation...">Gdk::Screen</a> associated with <em>drawable</em>. </dd></dl>
</div>
</div>
<a class="anchor" id="ac6679ddd01683134ab8072bbc6bfa08f"></a><!-- doxytag: member="Gdk::Drawable::get_size" ref="ac6679ddd01683134ab8072bbc6bfa08f" args="(int &width, int &height) const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gdk::Drawable::get_size </td>
<td>(</td>
<td class="paramtype">int & </td>
<td class="paramname"> <em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int & </td>
<td class="paramname"> <em>height</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Fills * <em>width</em> and * <em>height</em> with the size of <em>drawable</em>. </p>
<p><em>width</em> or <em>height</em> can be <code>0</code> if you only want the other one.</p>
<p>On the X11 platform, if <em>drawable</em> is a <a class="el" href="classGdk_1_1Window.html" title="A Gdk::Window is a rectangular region on the screen.">Gdk::Window</a>, the returned size is the size reported in the most-recently-processed configure event, rather than the current size on the X server. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>width</em> </td><td>Location to store drawable's width, or <code>0</code>. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>height</em> </td><td>Location to store drawable's height, or <code>0</code>. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a938f9da906aafcfa089a9aab8e30749d"></a><!-- doxytag: member="Gdk::Drawable::get_size" ref="a938f9da906aafcfa089a9aab8e30749d" args="(int &width, int &height)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gdk::Drawable::get_size </td>
<td>(</td>
<td class="paramtype">int & </td>
<td class="paramname"> <em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int & </td>
<td class="paramname"> <em>height</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Fills * <em>width</em> and * <em>height</em> with the size of <em>drawable</em>. </p>
<p><em>width</em> or <em>height</em> can be <code>0</code> if you only want the other one.</p>
<p>On the X11 platform, if <em>drawable</em> is a <a class="el" href="classGdk_1_1Window.html" title="A Gdk::Window is a rectangular region on the screen.">Gdk::Window</a>, the returned size is the size reported in the most-recently-processed configure event, rather than the current size on the X server. </p>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000004">Deprecated:</a></b></dt><dd>Use the const version of this method. </dd></dl>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>width</em> </td><td>Location to store drawable's width, or <code>0</code>. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>height</em> </td><td>Location to store drawable's height, or <code>0</code>. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a9ecbe1937db689685cc9820d5a264d85"></a><!-- doxytag: member="Gdk::Drawable::get_visible_region" ref="a9ecbe1937db689685cc9820d5a264d85" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classGdk_1_1Region.html">Region</a> Gdk::Drawable::get_visible_region </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const</td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Computes the region of a drawable that is potentially visible. </p>
<p>This does not necessarily take into account if the window is obscured by other windows, but no area outside of this region is visible. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A <a class="el" href="classGdk_1_1Region.html" title="This is an opaque data type holding a set of arbitrary pixels, and is usually used...">Gdk::Region</a>. This must be freed with gdk_region_destroy() when you are done. </dd></dl>
</div>
</div>
<a class="anchor" id="a24118338658bd2bf7d56c9f6dc7eafbf"></a><!-- doxytag: member="Gdk::Drawable::get_visual" ref="a24118338658bd2bf7d56c9f6dc7eafbf" args="()" -->
<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_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGdk_1_1Visual.html">Visual</a>> Gdk::Drawable::get_visual </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Gets the <a class="el" href="classGdk_1_1Visual.html" title="A Gdk::Visual describes a particular video hardware display format.">Gdk::Visual</a> describing the pixel format of <em>drawable</em>. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A <a class="el" href="classGdk_1_1Visual.html" title="A Gdk::Visual describes a particular video hardware display format.">Gdk::Visual</a>. </dd></dl>
</div>
</div>
<a class="anchor" id="a42a8fa022e5ba2b06e3cfd0f2a9b656f"></a><!-- doxytag: member="Gdk::Drawable::gobj" ref="a42a8fa022e5ba2b06e3cfd0f2a9b656f" args="() const " -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const GdkDrawable* Gdk::Drawable::gobj </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td> const<code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Provides access to the underlying C GObject. </p>
<p>Reimplemented from <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_1ObjectBase.html#a778a94181132976bbfb0519793f3b32e">Glib::ObjectBase</a>.</p>
<p>Reimplemented in <a class="el" href="classGdk_1_1Pixmap.html#a1846174eec3830107a67c894d40c488e">Gdk::Pixmap</a>, and <a class="el" href="classGdk_1_1Window.html#a9cd1fbdc140ff77e1b005938bd439f49">Gdk::Window</a>.</p>
</div>
</div>
<a class="anchor" id="a935facc32f620b59c0cfb2e1fd1f5675"></a><!-- doxytag: member="Gdk::Drawable::gobj" ref="a935facc32f620b59c0cfb2e1fd1f5675" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GdkDrawable* Gdk::Drawable::gobj </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Provides access to the underlying C GObject. </p>
<p>Reimplemented from <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_1ObjectBase.html#a4c6efc18be8cb9c56e58fc0bd20fafbe">Glib::ObjectBase</a>.</p>
<p>Reimplemented in <a class="el" href="classGdk_1_1Pixmap.html#afce42f221533d3d70d9b569fcdc04ba7">Gdk::Pixmap</a>, and <a class="el" href="classGdk_1_1Window.html#a0bc9fc92bac3c509b0a0d754488903b0">Gdk::Window</a>.</p>
</div>
</div>
<a class="anchor" id="a1500131ec8c995df7f20203c885ca4a8"></a><!-- doxytag: member="Gdk::Drawable::gobj_copy" ref="a1500131ec8c995df7f20203c885ca4a8" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">GdkDrawable* Gdk::Drawable::gobj_copy </td>
<td>(</td>
<td class="paramname"></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. </p>
<p>Reimplemented in <a class="el" href="classGdk_1_1Pixmap.html#a8f7ae27c4d426b29f0c78768558c540f">Gdk::Pixmap</a>, and <a class="el" href="classGdk_1_1Window.html#addb464bdf61c63040afe7bae6d1ed4bf">Gdk::Window</a>.</p>
</div>
</div>
<a class="anchor" id="a676623cd9318e60e5dfb075f9ae53d6b"></a><!-- doxytag: member="Gdk::Drawable::set_colormap" ref="a676623cd9318e60e5dfb075f9ae53d6b" args="(const Glib::RefPtr< Colormap > &colormap)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Gdk::Drawable::set_colormap </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>< <a class="el" href="classGdk_1_1Colormap.html">Colormap</a> >& </td>
<td class="paramname"> <em>colormap</em></td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>Sets the colormap associated with <em>drawable</em>. </p>
<p>Normally this will happen automatically when the drawable is created; you only need to use this function if the drawable-creating function did not have a way to determine the colormap, and you then use drawable operations that require a colormap. The colormap for all drawables and graphics contexts you intend to use together should match. i.e. when using a <a class="el" href="classGdk_1_1GC.html" title="All drawing operations in GDK take a graphics context (GC) argument.">Gdk::GC</a> to draw to a drawable, or copying one drawable to another, the colormaps should match. </p>
<dl><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>colormap</em> </td><td>A <a class="el" href="classGdk_1_1Colormap.html" title="A Colormap is an object that contains the mapping between the color values stored...">Gdk::Colormap</a>. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="ac00f801e2af4c5cb8545b424e045473b"></a><!-- doxytag: member="Gdk::Drawable::wrap" ref="ac00f801e2af4c5cb8545b424e045473b" args="(GdkDrawable *object, bool take_copy=false)" -->
<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_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGdk_1_1Drawable.html">Gdk::Drawable</a> > wrap </td>
<td>(</td>
<td class="paramtype">GdkDrawable * </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><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td><code> [related]</code></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><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>object</em> </td><td>The C instance. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>take_copy</em> </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="return"><dt><b>Returns:</b></dt><dd>A C++ instance that wraps this C instance. </dd></dl>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>gdkmm/drawable.h</li>
</ul>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Tue May 4 13:21:43 2010 for gtkmm by 
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>
|