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 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>wxWidgets: wxGraphicsContext Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="extra_stylesheet.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="page_container">
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0" style="width: 100%;">
<tbody>
<tr>
<td id="projectlogo">
<a href="http://www.wxwidgets.org/" target="_new">
<img alt="wxWidgets" src="logo.png"/>
</a>
</td>
<td style="padding-left: 0.5em; text-align: right;">
<span id="projectnumber">Version: 3.0.2</span>
</td>
</tr>
</tbody>
</table>
</div>
<!-- Generated by Doxygen 1.8.2 -->
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
<li><a href="modules.html"><span>Categories</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="classes.html"><span>Class Index</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="#pub-static-methods">Static Public Member Functions</a> |
<a href="classwx_graphics_context-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">wxGraphicsContext Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span><div class="ingroups"><a class="el" href="group__group__class__gdi.html">Graphics Device Interface (GDI)</a> | <a class="el" href="group__group__class__dc.html">Device Contexts</a></div></div> </div>
</div><!--header-->
<div class="contents">
<p><code>#include <wx/graphics.h></code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
<img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for wxGraphicsContext:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="classwx_graphics_context__inherit__graph.png" border="0" usemap="#wx_graphics_context_inherit__map" alt="Inheritance graph"/></div>
<map name="wx_graphics_context_inherit__map" id="wx_graphics_context_inherit__map">
<area shape="rect" id="node2" href="classwx_graphics_object.html" title="This class is the superclass of native graphics objects like pens etc." alt="" coords="8,83,133,111"/><area shape="rect" id="node4" href="classwx_object.html" title="This is the root class of many of the wxWidgets classes." alt="" coords="33,6,108,34"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A <a class="el" href="classwx_graphics_context.html" title="A wxGraphicsContext instance is the object that is drawn upon.">wxGraphicsContext</a> instance is the object that is drawn upon. </p>
<p>It is created by a renderer using <a class="el" href="classwx_graphics_renderer.html#a37eb2c013dc332db408e379d78ecd11f" title="Creates a wxGraphicsContext from a wxWindow.">wxGraphicsRenderer::CreateContext()</a>. This can be either directly using a renderer instance, or indirectly using the static convenience <a class="el" href="classwx_graphics_context.html#a3fb73878ea4e515b46cfbe32b8d8025d" title="Create a lightweight context that can be used only for measuring text.">Create()</a> functions of <a class="el" href="classwx_graphics_context.html" title="A wxGraphicsContext instance is the object that is drawn upon.">wxGraphicsContext</a> that always delegate the task to the default renderer.</p>
<div class="fragment"><div class="line"><span class="keywordtype">void</span> MyCanvas::OnPaint(<a class="code" href="classwx_paint_event.html" title="A paint event is sent when a window's contents needs to be repainted.">wxPaintEvent</a> &event)</div>
<div class="line">{</div>
<div class="line"> <span class="comment">// Create paint DC</span></div>
<div class="line"> <a class="code" href="classwx_paint_d_c.html" title="A wxPaintDC must be constructed if an application wishes to paint on the client area of a window from...">wxPaintDC</a> dc(<span class="keyword">this</span>);</div>
<div class="line"></div>
<div class="line"> <span class="comment">// Create graphics context from it</span></div>
<div class="line"> <a class="code" href="classwx_graphics_context.html" title="A wxGraphicsContext instance is the object that is drawn upon.">wxGraphicsContext</a> *gc = <a class="code" href="classwx_graphics_context.html#a3fb73878ea4e515b46cfbe32b8d8025d" title="Create a lightweight context that can be used only for measuring text.">wxGraphicsContext::Create</a>( dc );</div>
<div class="line"></div>
<div class="line"> <span class="keywordflow">if</span> (gc)</div>
<div class="line"> {</div>
<div class="line"> <span class="comment">// make a path that contains a circle and some lines</span></div>
<div class="line"> gc-><a class="code" href="classwx_graphics_context.html#ac34d6320c2777fe2afcf8777868e37d3" title="Sets the pen used for stroking.">SetPen</a>( *<a class="code" href="pen_8h.html#a62930a76d6d75371553b90661f8d9d30" title="Red pen.">wxRED_PEN</a> );</div>
<div class="line"> <a class="code" href="classwx_graphics_path.html" title="A wxGraphicsPath is a native representation of a geometric path.">wxGraphicsPath</a> path = gc-><a class="code" href="classwx_graphics_context.html#a55c95ed392ed17f6fbd6e83b2a442a80" title="Creates a native graphics path which is initially empty.">CreatePath</a>();</div>
<div class="line"> path.<a class="code" href="classwx_graphics_path.html#a1dedee16234c079524b51db8e0395f68" title="Appends a circle around (x,y) with radius r as a new closed subpath.">AddCircle</a>( 50.0, 50.0, 50.0 );</div>
<div class="line"> path.<a class="code" href="classwx_graphics_path.html#a62c899479b6bd2105507317a1246978e" title="Begins a new subpath at (x,y).">MoveToPoint</a>(0.0, 50.0);</div>
<div class="line"> path.<a class="code" href="classwx_graphics_path.html#abd69d09ad6fe10af99a675ac79d2717a" title="Adds a straight line from the current point to (x,y).">AddLineToPoint</a>(100.0, 50.0);</div>
<div class="line"> path.<a class="code" href="classwx_graphics_path.html#a62c899479b6bd2105507317a1246978e" title="Begins a new subpath at (x,y).">MoveToPoint</a>(50.0, 0.0);</div>
<div class="line"> path.<a class="code" href="classwx_graphics_path.html#abd69d09ad6fe10af99a675ac79d2717a" title="Adds a straight line from the current point to (x,y).">AddLineToPoint</a>(50.0, 100.0 );</div>
<div class="line"> path.<a class="code" href="classwx_graphics_path.html#a93ee08b5acd2a2aa82dceb4bbd9cc819" title="Closes the current sub-path.">CloseSubpath</a>();</div>
<div class="line"> path.<a class="code" href="classwx_graphics_path.html#ac257fef3393f29b2705438fdc08b28a0" title="Appends a rectangle as a new closed subpath.">AddRectangle</a>(25.0, 25.0, 50.0, 50.0);</div>
<div class="line"></div>
<div class="line"> gc-><a class="code" href="classwx_graphics_context.html#a4f7f8f768e84dcdf50493f0e7ef0c00a" title="Strokes along a path with the current pen.">StrokePath</a>(path);</div>
<div class="line"></div>
<div class="line"> <span class="keyword">delete</span> gc;</div>
<div class="line"> }</div>
<div class="line">}</div>
</div><!-- fragment --><h2></h2>
<div><span class="lib">Library:</span>  <span class="lib_text"><a class="el" href="page_libs.html#page_libs_wxcore">wxCore</a></span></div><div><span class="category">Category:</span>  <span class="category_text"><a class="el" href="group__group__class__gdi.html">Graphics Device Interface (GDI)</a>, <a class="el" href="group__group__class__dc.html">Device Contexts</a></span></div><dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_graphics_renderer.html#a37eb2c013dc332db408e379d78ecd11f" title="Creates a wxGraphicsContext from a wxWindow.">wxGraphicsRenderer::CreateContext()</a>, <a class="el" href="classwx_g_c_d_c.html" title="wxGCDC is a device context that draws on a wxGraphicsContext.">wxGCDC</a>, <a class="el" href="classwx_d_c.html" title="A wxDC is a "device context" onto which graphics and text can be drawn.">wxDC</a> </dd></dl>
</div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:aacdbd6d9f656007791cc57192d5a3d7a"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#aacdbd6d9f656007791cc57192d5a3d7a">Clip</a> (const <a class="el" href="classwx_region.html">wxRegion</a> &region)=0</td></tr>
<tr class="memdesc:aacdbd6d9f656007791cc57192d5a3d7a"><td class="mdescLeft"> </td><td class="mdescRight">Clips drawings to the specified region. <a href="#aacdbd6d9f656007791cc57192d5a3d7a"></a><br/></td></tr>
<tr class="separator:aacdbd6d9f656007791cc57192d5a3d7a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a137c2acff86b0ef6d68f8dd09fd077ef"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#a137c2acff86b0ef6d68f8dd09fd077ef">Clip</a> (<a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> x, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> y, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> w, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> h)=0</td></tr>
<tr class="memdesc:a137c2acff86b0ef6d68f8dd09fd077ef"><td class="mdescLeft"> </td><td class="mdescRight">Clips drawings to the specified rectangle. <a href="#a137c2acff86b0ef6d68f8dd09fd077ef"></a><br/></td></tr>
<tr class="separator:a137c2acff86b0ef6d68f8dd09fd077ef"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a27a0d32bd48956ffac1acc4b44f268e9"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#a27a0d32bd48956ffac1acc4b44f268e9">ConcatTransform</a> (const <a class="el" href="classwx_graphics_matrix.html">wxGraphicsMatrix</a> &matrix)=0</td></tr>
<tr class="memdesc:a27a0d32bd48956ffac1acc4b44f268e9"><td class="mdescLeft"> </td><td class="mdescRight">Concatenates the passed in transform with the current transform of this context. <a href="#a27a0d32bd48956ffac1acc4b44f268e9"></a><br/></td></tr>
<tr class="separator:a27a0d32bd48956ffac1acc4b44f268e9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac53693504979f5378e24b01a3fc3deaa"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classwx_graphics_bitmap.html">wxGraphicsBitmap</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#ac53693504979f5378e24b01a3fc3deaa">CreateBitmap</a> (const <a class="el" href="classwx_bitmap.html">wxBitmap</a> &bitmap)=0</td></tr>
<tr class="memdesc:ac53693504979f5378e24b01a3fc3deaa"><td class="mdescLeft"> </td><td class="mdescRight">Creates <a class="el" href="classwx_graphics_bitmap.html" title="Represents a bitmap.">wxGraphicsBitmap</a> from an existing <a class="el" href="classwx_bitmap.html" title="This class encapsulates the concept of a platform-dependent bitmap, either monochrome or colour or co...">wxBitmap</a>. <a href="#ac53693504979f5378e24b01a3fc3deaa"></a><br/></td></tr>
<tr class="separator:ac53693504979f5378e24b01a3fc3deaa"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa9cac3d795e0ac80f501b2da73fa70c1"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classwx_graphics_bitmap.html">wxGraphicsBitmap</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#aa9cac3d795e0ac80f501b2da73fa70c1">CreateBitmapFromImage</a> (const <a class="el" href="classwx_image.html">wxImage</a> &image)</td></tr>
<tr class="memdesc:aa9cac3d795e0ac80f501b2da73fa70c1"><td class="mdescLeft"> </td><td class="mdescRight">Creates <a class="el" href="classwx_graphics_bitmap.html" title="Represents a bitmap.">wxGraphicsBitmap</a> from an existing <a class="el" href="classwx_image.html" title="This class encapsulates a platform-independent image.">wxImage</a>. <a href="#aa9cac3d795e0ac80f501b2da73fa70c1"></a><br/></td></tr>
<tr class="separator:aa9cac3d795e0ac80f501b2da73fa70c1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab20045381f093685cf8cb115c27b2c0c"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classwx_graphics_bitmap.html">wxGraphicsBitmap</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#ab20045381f093685cf8cb115c27b2c0c">CreateSubBitmap</a> (const <a class="el" href="classwx_graphics_bitmap.html">wxGraphicsBitmap</a> &bitmap, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> x, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> y, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> w, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> h)=0</td></tr>
<tr class="memdesc:ab20045381f093685cf8cb115c27b2c0c"><td class="mdescLeft"> </td><td class="mdescRight">Extracts a sub-bitmap from an existing bitmap. <a href="#ab20045381f093685cf8cb115c27b2c0c"></a><br/></td></tr>
<tr class="separator:ab20045381f093685cf8cb115c27b2c0c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1228d38d7710ed025f5f63e860e7c45c"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classwx_graphics_brush.html">wxGraphicsBrush</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#a1228d38d7710ed025f5f63e860e7c45c">CreateBrush</a> (const <a class="el" href="classwx_brush.html">wxBrush</a> &brush) const </td></tr>
<tr class="memdesc:a1228d38d7710ed025f5f63e860e7c45c"><td class="mdescLeft"> </td><td class="mdescRight">Creates a native brush from a <a class="el" href="classwx_brush.html" title="A brush is a drawing tool for filling in areas.">wxBrush</a>. <a href="#a1228d38d7710ed025f5f63e860e7c45c"></a><br/></td></tr>
<tr class="separator:a1228d38d7710ed025f5f63e860e7c45c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa5945450d101f012cb47a836f4c10792"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classwx_graphics_font.html">wxGraphicsFont</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#aa5945450d101f012cb47a836f4c10792">CreateFont</a> (const <a class="el" href="classwx_font.html">wxFont</a> &font, const <a class="el" href="classwx_colour.html">wxColour</a> &col=*<a class="el" href="colour_8h.html#a28c9e9208c4907063eb9869ff2332776">wxBLACK</a>) const </td></tr>
<tr class="memdesc:aa5945450d101f012cb47a836f4c10792"><td class="mdescLeft"> </td><td class="mdescRight">Creates a native graphics font from a <a class="el" href="classwx_font.html" title="A font is an object which determines the appearance of text.">wxFont</a> and a text colour. <a href="#aa5945450d101f012cb47a836f4c10792"></a><br/></td></tr>
<tr class="separator:aa5945450d101f012cb47a836f4c10792"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2b24ebf8410a25701e1a33145632d564"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classwx_graphics_font.html">wxGraphicsFont</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#a2b24ebf8410a25701e1a33145632d564">CreateFont</a> (double sizeInPixels, const <a class="el" href="classwx_string.html">wxString</a> &facename, int flags=<a class="el" href="interface_2wx_2font_8h.html#a332098a83a5d888d2e1169b4bd9565daa7d4aeb5a9cd61d36185166643cbe59ad">wxFONTFLAG_DEFAULT</a>, const <a class="el" href="classwx_colour.html">wxColour</a> &col=*<a class="el" href="colour_8h.html#a28c9e9208c4907063eb9869ff2332776">wxBLACK</a>) const </td></tr>
<tr class="memdesc:a2b24ebf8410a25701e1a33145632d564"><td class="mdescLeft"> </td><td class="mdescRight">Creates a font object with the specified attributes. <a href="#a2b24ebf8410a25701e1a33145632d564"></a><br/></td></tr>
<tr class="separator:a2b24ebf8410a25701e1a33145632d564"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a03baf02210eba82dc54e4fead30db284"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classwx_graphics_matrix.html">wxGraphicsMatrix</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#a03baf02210eba82dc54e4fead30db284">CreateMatrix</a> (<a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> a=1.0, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> b=0.0, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> c=0.0, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> d=1.0, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> tx=0.0, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> ty=0.0) const </td></tr>
<tr class="memdesc:a03baf02210eba82dc54e4fead30db284"><td class="mdescLeft"> </td><td class="mdescRight">Creates a native affine transformation matrix from the passed in values. <a href="#a03baf02210eba82dc54e4fead30db284"></a><br/></td></tr>
<tr class="separator:a03baf02210eba82dc54e4fead30db284"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a616e44f74545e609f35e3fedd41c19fd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_graphics_matrix.html">wxGraphicsMatrix</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#a616e44f74545e609f35e3fedd41c19fd">CreateMatrix</a> (const <a class="el" href="classwx_affine_matrix2_d_base.html">wxAffineMatrix2DBase</a> &mat) const </td></tr>
<tr class="memdesc:a616e44f74545e609f35e3fedd41c19fd"><td class="mdescLeft"> </td><td class="mdescRight">Creates a native affine transformation matrix from the passed generic one. <a href="#a616e44f74545e609f35e3fedd41c19fd"></a><br/></td></tr>
<tr class="separator:a616e44f74545e609f35e3fedd41c19fd"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a55c95ed392ed17f6fbd6e83b2a442a80"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_graphics_path.html">wxGraphicsPath</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#a55c95ed392ed17f6fbd6e83b2a442a80">CreatePath</a> () const </td></tr>
<tr class="memdesc:a55c95ed392ed17f6fbd6e83b2a442a80"><td class="mdescLeft"> </td><td class="mdescRight">Creates a native graphics path which is initially empty. <a href="#a55c95ed392ed17f6fbd6e83b2a442a80"></a><br/></td></tr>
<tr class="separator:a55c95ed392ed17f6fbd6e83b2a442a80"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3eaabb061bc3ca2441d84fe6f432934c"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classwx_graphics_pen.html">wxGraphicsPen</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#a3eaabb061bc3ca2441d84fe6f432934c">CreatePen</a> (const <a class="el" href="classwx_pen.html">wxPen</a> &pen) const </td></tr>
<tr class="memdesc:a3eaabb061bc3ca2441d84fe6f432934c"><td class="mdescLeft"> </td><td class="mdescRight">Creates a native pen from a <a class="el" href="classwx_pen.html" title="A pen is a drawing tool for drawing outlines.">wxPen</a>. <a href="#a3eaabb061bc3ca2441d84fe6f432934c"></a><br/></td></tr>
<tr class="separator:a3eaabb061bc3ca2441d84fe6f432934c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8c02b7104bf6dca1bef3f37e012008ab"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#a8c02b7104bf6dca1bef3f37e012008ab">DrawEllipse</a> (<a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> x, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> y, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> w, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> h)</td></tr>
<tr class="memdesc:a8c02b7104bf6dca1bef3f37e012008ab"><td class="mdescLeft"> </td><td class="mdescRight">Draws an ellipse. <a href="#a8c02b7104bf6dca1bef3f37e012008ab"></a><br/></td></tr>
<tr class="separator:a8c02b7104bf6dca1bef3f37e012008ab"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4f512c4bc3b646b983b74387c0ccc6e5"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#a4f512c4bc3b646b983b74387c0ccc6e5">DrawIcon</a> (const <a class="el" href="classwx_icon.html">wxIcon</a> &icon, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> x, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> y, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> w, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> h)=0</td></tr>
<tr class="memdesc:a4f512c4bc3b646b983b74387c0ccc6e5"><td class="mdescLeft"> </td><td class="mdescRight">Draws the icon. <a href="#a4f512c4bc3b646b983b74387c0ccc6e5"></a><br/></td></tr>
<tr class="separator:a4f512c4bc3b646b983b74387c0ccc6e5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9f2ff291f576a5b6aa59f088598d7cdb"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#a9f2ff291f576a5b6aa59f088598d7cdb">DrawLines</a> (size_t n, const <a class="el" href="classwx_point2_d_double.html">wxPoint2DDouble</a> *points, <a class="el" href="gdicmn_8h.html#a771e5c5703eb406b19fb50bb718eee05">wxPolygonFillMode</a> fillStyle=<a class="el" href="gdicmn_8h.html#a771e5c5703eb406b19fb50bb718eee05a8845ab62cc357dfde27baf7ebf10ffac">wxODDEVEN_RULE</a>)</td></tr>
<tr class="memdesc:a9f2ff291f576a5b6aa59f088598d7cdb"><td class="mdescLeft"> </td><td class="mdescRight">Draws a polygon. <a href="#a9f2ff291f576a5b6aa59f088598d7cdb"></a><br/></td></tr>
<tr class="separator:a9f2ff291f576a5b6aa59f088598d7cdb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aafc07428a486bd6a1daf4853389c2e81"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#aafc07428a486bd6a1daf4853389c2e81">DrawPath</a> (const <a class="el" href="classwx_graphics_path.html">wxGraphicsPath</a> &path, <a class="el" href="gdicmn_8h.html#a771e5c5703eb406b19fb50bb718eee05">wxPolygonFillMode</a> fillStyle=<a class="el" href="gdicmn_8h.html#a771e5c5703eb406b19fb50bb718eee05a8845ab62cc357dfde27baf7ebf10ffac">wxODDEVEN_RULE</a>)</td></tr>
<tr class="memdesc:aafc07428a486bd6a1daf4853389c2e81"><td class="mdescLeft"> </td><td class="mdescRight">Draws the path by first filling and then stroking. <a href="#aafc07428a486bd6a1daf4853389c2e81"></a><br/></td></tr>
<tr class="separator:aafc07428a486bd6a1daf4853389c2e81"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a300ea068aecf0b7c96546f8d084534cd"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#a300ea068aecf0b7c96546f8d084534cd">DrawRectangle</a> (<a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> x, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> y, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> w, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> h)</td></tr>
<tr class="memdesc:a300ea068aecf0b7c96546f8d084534cd"><td class="mdescLeft"> </td><td class="mdescRight">Draws a rectangle. <a href="#a300ea068aecf0b7c96546f8d084534cd"></a><br/></td></tr>
<tr class="separator:a300ea068aecf0b7c96546f8d084534cd"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a123baf346513b26823b15336ef05018e"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#a123baf346513b26823b15336ef05018e">DrawRoundedRectangle</a> (<a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> x, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> y, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> w, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> h, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> radius)</td></tr>
<tr class="memdesc:a123baf346513b26823b15336ef05018e"><td class="mdescLeft"> </td><td class="mdescRight">Draws a rounded rectangle. <a href="#a123baf346513b26823b15336ef05018e"></a><br/></td></tr>
<tr class="separator:a123baf346513b26823b15336ef05018e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6fc49c0c082ea2e9f08e5546843888a9"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#a6fc49c0c082ea2e9f08e5546843888a9">DrawText</a> (const <a class="el" href="classwx_string.html">wxString</a> &str, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> x, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> y)</td></tr>
<tr class="memdesc:a6fc49c0c082ea2e9f08e5546843888a9"><td class="mdescLeft"> </td><td class="mdescRight">Draws text at the defined position. <a href="#a6fc49c0c082ea2e9f08e5546843888a9"></a><br/></td></tr>
<tr class="separator:a6fc49c0c082ea2e9f08e5546843888a9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4720793e4671b711299177749cda6327"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#a4720793e4671b711299177749cda6327">DrawText</a> (const <a class="el" href="classwx_string.html">wxString</a> &str, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> x, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> y, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> angle)</td></tr>
<tr class="memdesc:a4720793e4671b711299177749cda6327"><td class="mdescLeft"> </td><td class="mdescRight">Draws text at the defined position. <a href="#a4720793e4671b711299177749cda6327"></a><br/></td></tr>
<tr class="separator:a4720793e4671b711299177749cda6327"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9c20fee21f6ad25a692072d362d24909"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#a9c20fee21f6ad25a692072d362d24909">DrawText</a> (const <a class="el" href="classwx_string.html">wxString</a> &str, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> x, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> y, const <a class="el" href="classwx_graphics_brush.html">wxGraphicsBrush</a> &backgroundBrush)</td></tr>
<tr class="memdesc:a9c20fee21f6ad25a692072d362d24909"><td class="mdescLeft"> </td><td class="mdescRight">Draws text at the defined position. <a href="#a9c20fee21f6ad25a692072d362d24909"></a><br/></td></tr>
<tr class="separator:a9c20fee21f6ad25a692072d362d24909"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a37efc3d9b9d0fc69132e806ca8e0c01f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#a37efc3d9b9d0fc69132e806ca8e0c01f">DrawText</a> (const <a class="el" href="classwx_string.html">wxString</a> &str, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> x, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> y, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> angle, const <a class="el" href="classwx_graphics_brush.html">wxGraphicsBrush</a> &backgroundBrush)</td></tr>
<tr class="memdesc:a37efc3d9b9d0fc69132e806ca8e0c01f"><td class="mdescLeft"> </td><td class="mdescRight">Draws text at the defined position. <a href="#a37efc3d9b9d0fc69132e806ca8e0c01f"></a><br/></td></tr>
<tr class="separator:a37efc3d9b9d0fc69132e806ca8e0c01f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a225c90d767a6c26989d85ac8463d029f"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#a225c90d767a6c26989d85ac8463d029f">FillPath</a> (const <a class="el" href="classwx_graphics_path.html">wxGraphicsPath</a> &path, <a class="el" href="gdicmn_8h.html#a771e5c5703eb406b19fb50bb718eee05">wxPolygonFillMode</a> fillStyle=<a class="el" href="gdicmn_8h.html#a771e5c5703eb406b19fb50bb718eee05a8845ab62cc357dfde27baf7ebf10ffac">wxODDEVEN_RULE</a>)=0</td></tr>
<tr class="memdesc:a225c90d767a6c26989d85ac8463d029f"><td class="mdescLeft"> </td><td class="mdescRight">Fills the path with the current brush. <a href="#a225c90d767a6c26989d85ac8463d029f"></a><br/></td></tr>
<tr class="separator:a225c90d767a6c26989d85ac8463d029f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4db645a38a60204b2fe91ab891038908"><td class="memItemLeft" align="right" valign="top">virtual void * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#a4db645a38a60204b2fe91ab891038908">GetNativeContext</a> ()=0</td></tr>
<tr class="memdesc:a4db645a38a60204b2fe91ab891038908"><td class="mdescLeft"> </td><td class="mdescRight">Returns the native context (CGContextRef for Core Graphics, Graphics pointer for GDIPlus and cairo_t pointer for cairo). <a href="#a4db645a38a60204b2fe91ab891038908"></a><br/></td></tr>
<tr class="separator:a4db645a38a60204b2fe91ab891038908"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a833d7b036804e46cd2f1fd7bacb1db62"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#a833d7b036804e46cd2f1fd7bacb1db62">GetPartialTextExtents</a> (const <a class="el" href="classwx_string.html">wxString</a> &text, <a class="el" href="dynarray_8h.html#a84411c7d20ee889cd887dd10ef12b1a7">wxArrayDouble</a> &widths) const =0</td></tr>
<tr class="memdesc:a833d7b036804e46cd2f1fd7bacb1db62"><td class="mdescLeft"> </td><td class="mdescRight">Fills the <em>widths</em> array with the widths from the beginning of <em>text</em> to the corresponding character of <em>text</em>. <a href="#a833d7b036804e46cd2f1fd7bacb1db62"></a><br/></td></tr>
<tr class="separator:a833d7b036804e46cd2f1fd7bacb1db62"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a32afcb5c7ed4d75d473c47c5b567198a"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#a32afcb5c7ed4d75d473c47c5b567198a">GetTextExtent</a> (const <a class="el" href="classwx_string.html">wxString</a> &text, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> *width, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> *height, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> *descent, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> *externalLeading) const =0</td></tr>
<tr class="memdesc:a32afcb5c7ed4d75d473c47c5b567198a"><td class="mdescLeft"> </td><td class="mdescRight">Gets the dimensions of the string using the currently selected font. <a href="#a32afcb5c7ed4d75d473c47c5b567198a"></a><br/></td></tr>
<tr class="separator:a32afcb5c7ed4d75d473c47c5b567198a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af9352912c014c93414f99d39761f5682"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classwx_graphics_matrix.html">wxGraphicsMatrix</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#af9352912c014c93414f99d39761f5682">GetTransform</a> () const =0</td></tr>
<tr class="memdesc:af9352912c014c93414f99d39761f5682"><td class="mdescLeft"> </td><td class="mdescRight">Gets the current transformation matrix of this context. <a href="#af9352912c014c93414f99d39761f5682"></a><br/></td></tr>
<tr class="separator:af9352912c014c93414f99d39761f5682"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a41edbc852f1f3a1393059e44e29d500d"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#a41edbc852f1f3a1393059e44e29d500d">ResetClip</a> ()=0</td></tr>
<tr class="memdesc:a41edbc852f1f3a1393059e44e29d500d"><td class="mdescLeft"> </td><td class="mdescRight">Resets the clipping to original shape. <a href="#a41edbc852f1f3a1393059e44e29d500d"></a><br/></td></tr>
<tr class="separator:a41edbc852f1f3a1393059e44e29d500d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:affca88cad88a2d8a7612ab9e50e4da70"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#affca88cad88a2d8a7612ab9e50e4da70">Rotate</a> (<a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> angle)=0</td></tr>
<tr class="memdesc:affca88cad88a2d8a7612ab9e50e4da70"><td class="mdescLeft"> </td><td class="mdescRight">Rotates the current transformation matrix (in radians). <a href="#affca88cad88a2d8a7612ab9e50e4da70"></a><br/></td></tr>
<tr class="separator:affca88cad88a2d8a7612ab9e50e4da70"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4b890911d4798cbda7bf80f2076e9bf1"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#a4b890911d4798cbda7bf80f2076e9bf1">Scale</a> (<a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> xScale, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> yScale)=0</td></tr>
<tr class="memdesc:a4b890911d4798cbda7bf80f2076e9bf1"><td class="mdescLeft"> </td><td class="mdescRight">Scales the current transformation matrix. <a href="#a4b890911d4798cbda7bf80f2076e9bf1"></a><br/></td></tr>
<tr class="separator:a4b890911d4798cbda7bf80f2076e9bf1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a622c7f2349d0df34482f47983e2de2fd"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#a622c7f2349d0df34482f47983e2de2fd">SetBrush</a> (const <a class="el" href="classwx_brush.html">wxBrush</a> &brush)</td></tr>
<tr class="memdesc:a622c7f2349d0df34482f47983e2de2fd"><td class="mdescLeft"> </td><td class="mdescRight">Sets the brush for filling paths. <a href="#a622c7f2349d0df34482f47983e2de2fd"></a><br/></td></tr>
<tr class="separator:a622c7f2349d0df34482f47983e2de2fd"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ae7f43bd73c7212db2763c1a0535adb84"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#ae7f43bd73c7212db2763c1a0535adb84">SetBrush</a> (const <a class="el" href="classwx_graphics_brush.html">wxGraphicsBrush</a> &brush)</td></tr>
<tr class="memdesc:ae7f43bd73c7212db2763c1a0535adb84"><td class="mdescLeft"> </td><td class="mdescRight">Sets the brush for filling paths. <a href="#ae7f43bd73c7212db2763c1a0535adb84"></a><br/></td></tr>
<tr class="separator:ae7f43bd73c7212db2763c1a0535adb84"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8a1756278f0a3f7125280ac1aeedd135"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#a8a1756278f0a3f7125280ac1aeedd135">SetFont</a> (const <a class="el" href="classwx_font.html">wxFont</a> &font, const <a class="el" href="classwx_colour.html">wxColour</a> &colour)</td></tr>
<tr class="memdesc:a8a1756278f0a3f7125280ac1aeedd135"><td class="mdescLeft"> </td><td class="mdescRight">Sets the font for drawing text. <a href="#a8a1756278f0a3f7125280ac1aeedd135"></a><br/></td></tr>
<tr class="separator:a8a1756278f0a3f7125280ac1aeedd135"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:adcd4539f8db8200d9ddc47385a142328"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#adcd4539f8db8200d9ddc47385a142328">SetFont</a> (const <a class="el" href="classwx_graphics_font.html">wxGraphicsFont</a> &font)</td></tr>
<tr class="memdesc:adcd4539f8db8200d9ddc47385a142328"><td class="mdescLeft"> </td><td class="mdescRight">Sets the font for drawing text. <a href="#adcd4539f8db8200d9ddc47385a142328"></a><br/></td></tr>
<tr class="separator:adcd4539f8db8200d9ddc47385a142328"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac34d6320c2777fe2afcf8777868e37d3"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#ac34d6320c2777fe2afcf8777868e37d3">SetPen</a> (const <a class="el" href="classwx_pen.html">wxPen</a> &pen)</td></tr>
<tr class="memdesc:ac34d6320c2777fe2afcf8777868e37d3"><td class="mdescLeft"> </td><td class="mdescRight">Sets the pen used for stroking. <a href="#ac34d6320c2777fe2afcf8777868e37d3"></a><br/></td></tr>
<tr class="separator:ac34d6320c2777fe2afcf8777868e37d3"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:acc15194eea4192f622d560bd33233cee"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#acc15194eea4192f622d560bd33233cee">SetPen</a> (const <a class="el" href="classwx_graphics_pen.html">wxGraphicsPen</a> &pen)</td></tr>
<tr class="memdesc:acc15194eea4192f622d560bd33233cee"><td class="mdescLeft"> </td><td class="mdescRight">Sets the pen used for stroking. <a href="#acc15194eea4192f622d560bd33233cee"></a><br/></td></tr>
<tr class="separator:acc15194eea4192f622d560bd33233cee"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1d3eb969a3973525523b2e7fadb59f51"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#a1d3eb969a3973525523b2e7fadb59f51">SetTransform</a> (const <a class="el" href="classwx_graphics_matrix.html">wxGraphicsMatrix</a> &matrix)=0</td></tr>
<tr class="memdesc:a1d3eb969a3973525523b2e7fadb59f51"><td class="mdescLeft"> </td><td class="mdescRight">Sets the current transformation matrix of this context. <a href="#a1d3eb969a3973525523b2e7fadb59f51"></a><br/></td></tr>
<tr class="separator:a1d3eb969a3973525523b2e7fadb59f51"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a871e2e9ed868df0b1acbbfd4822479a2"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#a871e2e9ed868df0b1acbbfd4822479a2">StrokeLine</a> (<a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> x1, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> y1, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> x2, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> y2)</td></tr>
<tr class="memdesc:a871e2e9ed868df0b1acbbfd4822479a2"><td class="mdescLeft"> </td><td class="mdescRight">Strokes a single line. <a href="#a871e2e9ed868df0b1acbbfd4822479a2"></a><br/></td></tr>
<tr class="separator:a871e2e9ed868df0b1acbbfd4822479a2"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:acfb6d98806247a5d06b5b2f5f57972ac"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#acfb6d98806247a5d06b5b2f5f57972ac">StrokeLines</a> (size_t n, const <a class="el" href="classwx_point2_d_double.html">wxPoint2DDouble</a> *beginPoints, const <a class="el" href="classwx_point2_d_double.html">wxPoint2DDouble</a> *endPoints)</td></tr>
<tr class="memdesc:acfb6d98806247a5d06b5b2f5f57972ac"><td class="mdescLeft"> </td><td class="mdescRight">Stroke disconnected lines from begin to end points, fastest method available for this purpose. <a href="#acfb6d98806247a5d06b5b2f5f57972ac"></a><br/></td></tr>
<tr class="separator:acfb6d98806247a5d06b5b2f5f57972ac"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a08055b131515a6fb39868ad7c2bf25fd"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#a08055b131515a6fb39868ad7c2bf25fd">StrokeLines</a> (size_t n, const <a class="el" href="classwx_point2_d_double.html">wxPoint2DDouble</a> *points)</td></tr>
<tr class="memdesc:a08055b131515a6fb39868ad7c2bf25fd"><td class="mdescLeft"> </td><td class="mdescRight">Stroke lines connecting all the points. <a href="#a08055b131515a6fb39868ad7c2bf25fd"></a><br/></td></tr>
<tr class="separator:a08055b131515a6fb39868ad7c2bf25fd"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4f7f8f768e84dcdf50493f0e7ef0c00a"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#a4f7f8f768e84dcdf50493f0e7ef0c00a">StrokePath</a> (const <a class="el" href="classwx_graphics_path.html">wxGraphicsPath</a> &path)=0</td></tr>
<tr class="memdesc:a4f7f8f768e84dcdf50493f0e7ef0c00a"><td class="mdescLeft"> </td><td class="mdescRight">Strokes along a path with the current pen. <a href="#a4f7f8f768e84dcdf50493f0e7ef0c00a"></a><br/></td></tr>
<tr class="separator:a4f7f8f768e84dcdf50493f0e7ef0c00a"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3fcc8a79248f192c637ff89466939916"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#a3fcc8a79248f192c637ff89466939916">Translate</a> (<a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> dx, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> dy)=0</td></tr>
<tr class="memdesc:a3fcc8a79248f192c637ff89466939916"><td class="mdescLeft"> </td><td class="mdescRight">Translates the current transformation matrix. <a href="#a3fcc8a79248f192c637ff89466939916"></a><br/></td></tr>
<tr class="separator:a3fcc8a79248f192c637ff89466939916"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a14cca9fef8391d46f54259caa097ca1f"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#a14cca9fef8391d46f54259caa097ca1f">BeginLayer</a> (<a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> opacity)=0</td></tr>
<tr class="memdesc:a14cca9fef8391d46f54259caa097ca1f"><td class="mdescLeft"> </td><td class="mdescRight">Redirects all rendering is done into a fully transparent temporary context. <a href="#a14cca9fef8391d46f54259caa097ca1f"></a><br/></td></tr>
<tr class="separator:a14cca9fef8391d46f54259caa097ca1f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5135c2f7c70eab04fe68532ccf3d6f95"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#a5135c2f7c70eab04fe68532ccf3d6f95">EndLayer</a> ()=0</td></tr>
<tr class="memdesc:a5135c2f7c70eab04fe68532ccf3d6f95"><td class="mdescLeft"> </td><td class="mdescRight">Composites back the drawings into the context with the opacity given at the BeginLayer call. <a href="#a5135c2f7c70eab04fe68532ccf3d6f95"></a><br/></td></tr>
<tr class="separator:a5135c2f7c70eab04fe68532ccf3d6f95"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a51e968476c72d3d77424cb8e11a14d65"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#a51e968476c72d3d77424cb8e11a14d65">SetAntialiasMode</a> (<a class="el" href="graphics_8h.html#a2163cc0b26553eee0e9e7da270518c97">wxAntialiasMode</a> antialias)=0</td></tr>
<tr class="memdesc:a51e968476c72d3d77424cb8e11a14d65"><td class="mdescLeft"> </td><td class="mdescRight">Sets the antialiasing mode, returns true if it supported. <a href="#a51e968476c72d3d77424cb8e11a14d65"></a><br/></td></tr>
<tr class="separator:a51e968476c72d3d77424cb8e11a14d65"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ac2bd0c1da42af6c93aafe3ad804f9cb9"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="graphics_8h.html#a2163cc0b26553eee0e9e7da270518c97">wxAntialiasMode</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#ac2bd0c1da42af6c93aafe3ad804f9cb9">GetAntialiasMode</a> () const </td></tr>
<tr class="memdesc:ac2bd0c1da42af6c93aafe3ad804f9cb9"><td class="mdescLeft"> </td><td class="mdescRight">Returns the current shape antialiasing mode. <a href="#ac2bd0c1da42af6c93aafe3ad804f9cb9"></a><br/></td></tr>
<tr class="separator:ac2bd0c1da42af6c93aafe3ad804f9cb9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af6ecb449cb732632a8d9b5c285d01b91"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#af6ecb449cb732632a8d9b5c285d01b91">SetInterpolationQuality</a> (<a class="el" href="graphics_8h.html#aec2ef7cc43f841ab74155becb8185e18">wxInterpolationQuality</a> interpolation)=0</td></tr>
<tr class="memdesc:af6ecb449cb732632a8d9b5c285d01b91"><td class="mdescLeft"> </td><td class="mdescRight">Sets the interpolation quality, returns true if it is supported. <a href="#af6ecb449cb732632a8d9b5c285d01b91"></a><br/></td></tr>
<tr class="separator:af6ecb449cb732632a8d9b5c285d01b91"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa8587bbcd8d050b066118b95d0c4257c"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="graphics_8h.html#aec2ef7cc43f841ab74155becb8185e18">wxInterpolationQuality</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#aa8587bbcd8d050b066118b95d0c4257c">GetInterpolationQuality</a> () const </td></tr>
<tr class="memdesc:aa8587bbcd8d050b066118b95d0c4257c"><td class="mdescLeft"> </td><td class="mdescRight">Returns the current interpolation quality. <a href="#aa8587bbcd8d050b066118b95d0c4257c"></a><br/></td></tr>
<tr class="separator:aa8587bbcd8d050b066118b95d0c4257c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a08a80e457f7bb28d0394c248de1742ef"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#a08a80e457f7bb28d0394c248de1742ef">SetCompositionMode</a> (<a class="el" href="graphics_8h.html#af26ae47387aa983f2a975b3f85cb9668">wxCompositionMode</a> op)=0</td></tr>
<tr class="memdesc:a08a80e457f7bb28d0394c248de1742ef"><td class="mdescLeft"> </td><td class="mdescRight">Sets the compositing operator, returns true if it supported. <a href="#a08a80e457f7bb28d0394c248de1742ef"></a><br/></td></tr>
<tr class="separator:a08a80e457f7bb28d0394c248de1742ef"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a10fd42bbf1c7c6b7f92ded8b736951fb"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="graphics_8h.html#af26ae47387aa983f2a975b3f85cb9668">wxCompositionMode</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#a10fd42bbf1c7c6b7f92ded8b736951fb">GetCompositionMode</a> () const </td></tr>
<tr class="memdesc:a10fd42bbf1c7c6b7f92ded8b736951fb"><td class="mdescLeft"> </td><td class="mdescRight">Returns the current compositing operator. <a href="#a10fd42bbf1c7c6b7f92ded8b736951fb"></a><br/></td></tr>
<tr class="separator:a10fd42bbf1c7c6b7f92ded8b736951fb"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af2548831583e900dd74462c7d58fec47"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#af2548831583e900dd74462c7d58fec47">PushState</a> ()=0</td></tr>
<tr class="memdesc:af2548831583e900dd74462c7d58fec47"><td class="mdescLeft"> </td><td class="mdescRight">Push the current state of the context's transformation matrix on a stack. <a href="#af2548831583e900dd74462c7d58fec47"></a><br/></td></tr>
<tr class="separator:af2548831583e900dd74462c7d58fec47"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a396b928674376f503aa3b2959e39c473"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#a396b928674376f503aa3b2959e39c473">PopState</a> ()=0</td></tr>
<tr class="memdesc:a396b928674376f503aa3b2959e39c473"><td class="mdescLeft"> </td><td class="mdescRight">Pops a stored state from the stack and sets the current transformation matrix to that state. <a href="#a396b928674376f503aa3b2959e39c473"></a><br/></td></tr>
<tr class="separator:a396b928674376f503aa3b2959e39c473"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aea3895e114ecbbc6e912a8c749daa8fa"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#aea3895e114ecbbc6e912a8c749daa8fa">ShouldOffset</a> () const </td></tr>
<tr class="separator:aea3895e114ecbbc6e912a8c749daa8fa"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a80d7a1215921597ef049b224708fb321"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#a80d7a1215921597ef049b224708fb321">EnableOffset</a> (bool enable=true)</td></tr>
<tr class="separator:a80d7a1215921597ef049b224708fb321"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aab2095c1335c9b9476f73220aacd1f0e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#aab2095c1335c9b9476f73220aacd1f0e">DisableOffset</a> ()</td></tr>
<tr class="separator:aab2095c1335c9b9476f73220aacd1f0e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3e9cae78eb61f83356471e99556a9a04"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#a3e9cae78eb61f83356471e99556a9a04">OffsetEnabled</a> ()</td></tr>
<tr class="separator:a3e9cae78eb61f83356471e99556a9a04"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aafa1fe3a6e692dde741505e0bf1c90c8"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#aafa1fe3a6e692dde741505e0bf1c90c8">StartDoc</a> (const <a class="el" href="classwx_string.html">wxString</a> &message)</td></tr>
<tr class="memdesc:aafa1fe3a6e692dde741505e0bf1c90c8"><td class="mdescLeft"> </td><td class="mdescRight">Begin a new document (relevant only for printing / pdf etc.) If there is a progress dialog, message will be shown. <a href="#aafa1fe3a6e692dde741505e0bf1c90c8"></a><br/></td></tr>
<tr class="separator:aafa1fe3a6e692dde741505e0bf1c90c8"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a21d6014bb8529002eff2be6bcd2572f1"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#a21d6014bb8529002eff2be6bcd2572f1">EndDoc</a> ()</td></tr>
<tr class="memdesc:a21d6014bb8529002eff2be6bcd2572f1"><td class="mdescLeft"> </td><td class="mdescRight">Done with that document (relevant only for printing / pdf etc.) <a href="#a21d6014bb8529002eff2be6bcd2572f1"></a><br/></td></tr>
<tr class="separator:a21d6014bb8529002eff2be6bcd2572f1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab7c6ecebaf95556f90527437299193c6"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#ab7c6ecebaf95556f90527437299193c6">StartPage</a> (<a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> width=0, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> height=0)</td></tr>
<tr class="memdesc:ab7c6ecebaf95556f90527437299193c6"><td class="mdescLeft"> </td><td class="mdescRight">Opens a new page (relevant only for printing / pdf etc.) with the given size in points. <a href="#ab7c6ecebaf95556f90527437299193c6"></a><br/></td></tr>
<tr class="separator:ab7c6ecebaf95556f90527437299193c6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a33b54026827258d12aa9a7c64a69464e"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#a33b54026827258d12aa9a7c64a69464e">EndPage</a> ()</td></tr>
<tr class="memdesc:a33b54026827258d12aa9a7c64a69464e"><td class="mdescLeft"> </td><td class="mdescRight">Ends the current page (relevant only for printing / pdf etc.) <a href="#a33b54026827258d12aa9a7c64a69464e"></a><br/></td></tr>
<tr class="separator:a33b54026827258d12aa9a7c64a69464e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aebfbc516794756202ebfc2d4e153c9e9"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#aebfbc516794756202ebfc2d4e153c9e9">Flush</a> ()</td></tr>
<tr class="memdesc:aebfbc516794756202ebfc2d4e153c9e9"><td class="mdescLeft"> </td><td class="mdescRight">Make sure that the current content of this context is immediately visible. <a href="#aebfbc516794756202ebfc2d4e153c9e9"></a><br/></td></tr>
<tr class="separator:aebfbc516794756202ebfc2d4e153c9e9"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a6d46669caa8e9ed3b6ced36bb4455d1f"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#a6d46669caa8e9ed3b6ced36bb4455d1f">GetSize</a> (<a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> *width, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> *height) const </td></tr>
<tr class="memdesc:a6d46669caa8e9ed3b6ced36bb4455d1f"><td class="mdescLeft"> </td><td class="mdescRight">Returns the size of the graphics context in device coordinates. <a href="#a6d46669caa8e9ed3b6ced36bb4455d1f"></a><br/></td></tr>
<tr class="separator:a6d46669caa8e9ed3b6ced36bb4455d1f"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad40ea5fa386808cbf64c558eeedecbd6"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#ad40ea5fa386808cbf64c558eeedecbd6">GetDPI</a> (<a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> *dpiX, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> *dpiY)</td></tr>
<tr class="memdesc:ad40ea5fa386808cbf64c558eeedecbd6"><td class="mdescLeft"> </td><td class="mdescRight">Returns the resolution of the graphics context in device points per inch. <a href="#ad40ea5fa386808cbf64c558eeedecbd6"></a><br/></td></tr>
<tr class="separator:ad40ea5fa386808cbf64c558eeedecbd6"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr class="memitem:a799dd1e4c0047a901e53361938edf264"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_graphics_brush.html">wxGraphicsBrush</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#a799dd1e4c0047a901e53361938edf264">CreateLinearGradientBrush</a> (<a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> x1, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> y1, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> x2, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> y2, const <a class="el" href="classwx_colour.html">wxColour</a> &c1, const <a class="el" href="classwx_colour.html">wxColour</a> &c2) const </td></tr>
<tr class="memdesc:a799dd1e4c0047a901e53361938edf264"><td class="mdescLeft"> </td><td class="mdescRight">Creates a native brush with a linear gradient. <a href="#a799dd1e4c0047a901e53361938edf264"></a><br/></td></tr>
<tr class="separator:a799dd1e4c0047a901e53361938edf264"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0198a3e473f2ea82f90667238d6919e8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_graphics_brush.html">wxGraphicsBrush</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#a0198a3e473f2ea82f90667238d6919e8">CreateLinearGradientBrush</a> (<a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> x1, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> y1, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> x2, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> y2, const <a class="el" href="classwx_graphics_gradient_stops.html">wxGraphicsGradientStops</a> &stops) const </td></tr>
<tr class="memdesc:a0198a3e473f2ea82f90667238d6919e8"><td class="mdescLeft"> </td><td class="mdescRight">Creates a native brush with a linear gradient. <a href="#a0198a3e473f2ea82f90667238d6919e8"></a><br/></td></tr>
<tr class="separator:a0198a3e473f2ea82f90667238d6919e8"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr class="memitem:a03ac1f51fd5bf3ff24f70dac5659bee6"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classwx_graphics_brush.html">wxGraphicsBrush</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#a03ac1f51fd5bf3ff24f70dac5659bee6">CreateRadialGradientBrush</a> (<a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> xo, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> yo, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> xc, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> yc, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> radius, const <a class="el" href="classwx_colour.html">wxColour</a> &oColor, const <a class="el" href="classwx_colour.html">wxColour</a> &cColor) const </td></tr>
<tr class="memdesc:a03ac1f51fd5bf3ff24f70dac5659bee6"><td class="mdescLeft"> </td><td class="mdescRight">Creates a native brush with a radial gradient. <a href="#a03ac1f51fd5bf3ff24f70dac5659bee6"></a><br/></td></tr>
<tr class="separator:a03ac1f51fd5bf3ff24f70dac5659bee6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0652b7e5cf77bbfedbfbffe29f47764c"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classwx_graphics_brush.html">wxGraphicsBrush</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#a0652b7e5cf77bbfedbfbffe29f47764c">CreateRadialGradientBrush</a> (<a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> xo, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> yo, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> xc, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> yc, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> radius, const <a class="el" href="classwx_graphics_gradient_stops.html">wxGraphicsGradientStops</a> &stops)=0</td></tr>
<tr class="memdesc:a0652b7e5cf77bbfedbfbffe29f47764c"><td class="mdescLeft"> </td><td class="mdescRight">Creates a native brush with a radial gradient. <a href="#a0652b7e5cf77bbfedbfbffe29f47764c"></a><br/></td></tr>
<tr class="separator:a0652b7e5cf77bbfedbfbffe29f47764c"><td class="memSeparator" colspan="2"> </td></tr>
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr class="memitem:aee61e2fbc580d7f6a344daa1d1e13296"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#aee61e2fbc580d7f6a344daa1d1e13296">DrawBitmap</a> (const <a class="el" href="classwx_graphics_bitmap.html">wxGraphicsBitmap</a> &bmp, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> x, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> y, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> w, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> h)=0</td></tr>
<tr class="memdesc:aee61e2fbc580d7f6a344daa1d1e13296"><td class="mdescLeft"> </td><td class="mdescRight">Draws the bitmap. <a href="#aee61e2fbc580d7f6a344daa1d1e13296"></a><br/></td></tr>
<tr class="separator:aee61e2fbc580d7f6a344daa1d1e13296"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abe877acef8a07c423e68dd7844ec255c"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#abe877acef8a07c423e68dd7844ec255c">DrawBitmap</a> (const <a class="el" href="classwx_bitmap.html">wxBitmap</a> &bmp, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> x, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> y, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> w, <a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> h)=0</td></tr>
<tr class="memdesc:abe877acef8a07c423e68dd7844ec255c"><td class="mdescLeft"> </td><td class="mdescRight">Draws the bitmap. <a href="#abe877acef8a07c423e68dd7844ec255c"></a><br/></td></tr>
<tr class="separator:abe877acef8a07c423e68dd7844ec255c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classwx_graphics_object"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classwx_graphics_object')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classwx_graphics_object.html">wxGraphicsObject</a></td></tr>
<tr class="memitem:a1cbac3ca9b99eaafa6eccf6476742cd0 inherit pub_methods_classwx_graphics_object"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_graphics_renderer.html">wxGraphicsRenderer</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_object.html#a1cbac3ca9b99eaafa6eccf6476742cd0">GetRenderer</a> () const </td></tr>
<tr class="memdesc:a1cbac3ca9b99eaafa6eccf6476742cd0 inherit pub_methods_classwx_graphics_object"><td class="mdescLeft"> </td><td class="mdescRight">Returns the renderer that was used to create this instance, or <span class="literal">NULL</span> if it has not been initialized yet. <a href="#a1cbac3ca9b99eaafa6eccf6476742cd0"></a><br/></td></tr>
<tr class="separator:a1cbac3ca9b99eaafa6eccf6476742cd0 inherit pub_methods_classwx_graphics_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ada13da4f78271792792050132965777d inherit pub_methods_classwx_graphics_object"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_object.html#ada13da4f78271792792050132965777d">IsNull</a> () const </td></tr>
<tr class="separator:ada13da4f78271792792050132965777d inherit pub_methods_classwx_graphics_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classwx_object"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classwx_object')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classwx_object.html">wxObject</a></td></tr>
<tr class="memitem:acaa378363a28af421ab56ad7b46eadf0 inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#acaa378363a28af421ab56ad7b46eadf0">wxObject</a> ()</td></tr>
<tr class="memdesc:acaa378363a28af421ab56ad7b46eadf0 inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Default ctor; initializes to <span class="literal">NULL</span> the internal reference data. <a href="#acaa378363a28af421ab56ad7b46eadf0"></a><br/></td></tr>
<tr class="separator:acaa378363a28af421ab56ad7b46eadf0 inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4721b4dc9b7aff0f30904ba2ea3954cf inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a4721b4dc9b7aff0f30904ba2ea3954cf">wxObject</a> (const <a class="el" href="classwx_object.html">wxObject</a> &other)</td></tr>
<tr class="memdesc:a4721b4dc9b7aff0f30904ba2ea3954cf inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Copy ctor. <a href="#a4721b4dc9b7aff0f30904ba2ea3954cf"></a><br/></td></tr>
<tr class="separator:a4721b4dc9b7aff0f30904ba2ea3954cf inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2a51aa8bfbab47ca2f051bcf84b3f35b inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a2a51aa8bfbab47ca2f051bcf84b3f35b">~wxObject</a> ()</td></tr>
<tr class="memdesc:a2a51aa8bfbab47ca2f051bcf84b3f35b inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#a2a51aa8bfbab47ca2f051bcf84b3f35b"></a><br/></td></tr>
<tr class="separator:a2a51aa8bfbab47ca2f051bcf84b3f35b inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ab3a0c6f723cbaddb47be4e8dd98cc8e2 inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classwx_class_info.html">wxClassInfo</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#ab3a0c6f723cbaddb47be4e8dd98cc8e2">GetClassInfo</a> () const </td></tr>
<tr class="memdesc:ab3a0c6f723cbaddb47be4e8dd98cc8e2 inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">This virtual function is redefined for every class that requires run-time type information, when using the <a class="el" href="group__group__funcmacro__rtti.html#ga20465fc7e022e29a5dacfad46e152e75" title="Used inside a class declaration to declare that the class should be made known to the class hierarchy...">wxDECLARE_CLASS</a> macro (or similar). <a href="#ab3a0c6f723cbaddb47be4e8dd98cc8e2"></a><br/></td></tr>
<tr class="separator:ab3a0c6f723cbaddb47be4e8dd98cc8e2 inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aabdb4fc957226544a8408167844e4f42 inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_object_ref_data.html">wxObjectRefData</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#aabdb4fc957226544a8408167844e4f42">GetRefData</a> () const </td></tr>
<tr class="memdesc:aabdb4fc957226544a8408167844e4f42 inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Returns the <a class="el" href="classwx_object.html#a9e31954530a0abd54982effc443ed2b8" title="Pointer to an object which is the object's reference-counted data.">wxObject::m_refData</a> pointer, i.e. the data referenced by this object. <a href="#aabdb4fc957226544a8408167844e4f42"></a><br/></td></tr>
<tr class="separator:aabdb4fc957226544a8408167844e4f42 inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af40d580385cf4f8112fae7713404b01e inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#af40d580385cf4f8112fae7713404b01e">IsKindOf</a> (const <a class="el" href="classwx_class_info.html">wxClassInfo</a> *info) const </td></tr>
<tr class="memdesc:af40d580385cf4f8112fae7713404b01e inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Determines whether this class is a subclass of (or the same class as) the given class. <a href="#af40d580385cf4f8112fae7713404b01e"></a><br/></td></tr>
<tr class="separator:af40d580385cf4f8112fae7713404b01e inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a80a1a3fda7b14396a9ddd3d7a46a88bd inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a80a1a3fda7b14396a9ddd3d7a46a88bd">IsSameAs</a> (const <a class="el" href="classwx_object.html">wxObject</a> &obj) const </td></tr>
<tr class="memdesc:a80a1a3fda7b14396a9ddd3d7a46a88bd inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Returns <span class="literal">true</span> if this object has the same data pointer as <em>obj</em>. <a href="#a80a1a3fda7b14396a9ddd3d7a46a88bd"></a><br/></td></tr>
<tr class="separator:a80a1a3fda7b14396a9ddd3d7a46a88bd inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a2f6f1aa51fe9fc2b1415ca4211a90e9e inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a2f6f1aa51fe9fc2b1415ca4211a90e9e">Ref</a> (const <a class="el" href="classwx_object.html">wxObject</a> &clone)</td></tr>
<tr class="memdesc:a2f6f1aa51fe9fc2b1415ca4211a90e9e inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Makes this object refer to the data in <em>clone</em>. <a href="#a2f6f1aa51fe9fc2b1415ca4211a90e9e"></a><br/></td></tr>
<tr class="separator:a2f6f1aa51fe9fc2b1415ca4211a90e9e inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afab780710f2adc1bb33310e27590140b inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#afab780710f2adc1bb33310e27590140b">SetRefData</a> (<a class="el" href="classwx_object_ref_data.html">wxObjectRefData</a> *data)</td></tr>
<tr class="memdesc:afab780710f2adc1bb33310e27590140b inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Sets the <a class="el" href="classwx_object.html#a9e31954530a0abd54982effc443ed2b8" title="Pointer to an object which is the object's reference-counted data.">wxObject::m_refData</a> pointer. <a href="#afab780710f2adc1bb33310e27590140b"></a><br/></td></tr>
<tr class="separator:afab780710f2adc1bb33310e27590140b inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af51efc6b1ae632fc7f0cd7ebbce9fa36 inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#af51efc6b1ae632fc7f0cd7ebbce9fa36">UnRef</a> ()</td></tr>
<tr class="memdesc:af51efc6b1ae632fc7f0cd7ebbce9fa36 inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Decrements the reference count in the associated data, and if it is zero, deletes the data. <a href="#af51efc6b1ae632fc7f0cd7ebbce9fa36"></a><br/></td></tr>
<tr class="separator:af51efc6b1ae632fc7f0cd7ebbce9fa36 inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a74b40e42d19a4b9e9bec0b57d62a5725 inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a74b40e42d19a4b9e9bec0b57d62a5725">UnShare</a> ()</td></tr>
<tr class="memdesc:a74b40e42d19a4b9e9bec0b57d62a5725 inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">This is the same of <a class="el" href="classwx_object.html#a60204063f3cc3aa2fa1c7ff5bda9eb13" title="Ensure that this object's data is not shared with any other object.">AllocExclusive()</a> but this method is public. <a href="#a74b40e42d19a4b9e9bec0b57d62a5725"></a><br/></td></tr>
<tr class="separator:a74b40e42d19a4b9e9bec0b57d62a5725 inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a07b8f34f5afc5743195c5fed052f55d3 inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a07b8f34f5afc5743195c5fed052f55d3">operator delete</a> (void *buf)</td></tr>
<tr class="memdesc:a07b8f34f5afc5743195c5fed052f55d3 inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">The <em>delete</em> operator is defined for debugging versions of the library only, when the identifier <code><b>WXDEBUG</b></code> is defined. <a href="#a07b8f34f5afc5743195c5fed052f55d3"></a><br/></td></tr>
<tr class="separator:a07b8f34f5afc5743195c5fed052f55d3 inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a96fa423a1dbc212c8227a5d83825971f inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a96fa423a1dbc212c8227a5d83825971f">operator new</a> (size_t size, const <a class="el" href="classwx_string.html">wxString</a> &filename=NULL, int lineNum=0)</td></tr>
<tr class="memdesc:a96fa423a1dbc212c8227a5d83825971f inherit pub_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">The <em>new</em> operator is defined for debugging versions of the library only, when the identifier <code><b>WXDEBUG</b></code> is defined. <a href="#a96fa423a1dbc212c8227a5d83825971f"></a><br/></td></tr>
<tr class="separator:a96fa423a1dbc212c8227a5d83825971f inherit pub_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:adbc3ec3262f53e209276293ff1c0944e"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classwx_graphics_context.html">wxGraphicsContext</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#adbc3ec3262f53e209276293ff1c0944e">Create</a> (<a class="el" href="classwx_window.html">wxWindow</a> *window)</td></tr>
<tr class="memdesc:adbc3ec3262f53e209276293ff1c0944e"><td class="mdescLeft"> </td><td class="mdescRight">Creates a <a class="el" href="classwx_graphics_context.html" title="A wxGraphicsContext instance is the object that is drawn upon.">wxGraphicsContext</a> from a <a class="el" href="classwx_window.html" title="wxWindow is the base class for all windows and represents any visible object on screen.">wxWindow</a>. <a href="#adbc3ec3262f53e209276293ff1c0944e"></a><br/></td></tr>
<tr class="separator:adbc3ec3262f53e209276293ff1c0944e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a74ac6d65912a38ac0d62c4120eb67614"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classwx_graphics_context.html">wxGraphicsContext</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#a74ac6d65912a38ac0d62c4120eb67614">Create</a> (const <a class="el" href="classwx_window_d_c.html">wxWindowDC</a> &windowDC)</td></tr>
<tr class="memdesc:a74ac6d65912a38ac0d62c4120eb67614"><td class="mdescLeft"> </td><td class="mdescRight">Creates a <a class="el" href="classwx_graphics_context.html" title="A wxGraphicsContext instance is the object that is drawn upon.">wxGraphicsContext</a> from a <a class="el" href="classwx_window_d_c.html" title="A wxWindowDC must be constructed if an application wishes to paint on the whole area of a window (cli...">wxWindowDC</a>. <a href="#a74ac6d65912a38ac0d62c4120eb67614"></a><br/></td></tr>
<tr class="separator:a74ac6d65912a38ac0d62c4120eb67614"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:ad7330b5f52ade60e5f42492dc0686e2e"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classwx_graphics_context.html">wxGraphicsContext</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#ad7330b5f52ade60e5f42492dc0686e2e">Create</a> (const <a class="el" href="classwx_memory_d_c.html">wxMemoryDC</a> &memoryDC)</td></tr>
<tr class="memdesc:ad7330b5f52ade60e5f42492dc0686e2e"><td class="mdescLeft"> </td><td class="mdescRight">Creates a <a class="el" href="classwx_graphics_context.html" title="A wxGraphicsContext instance is the object that is drawn upon.">wxGraphicsContext</a> from a <a class="el" href="classwx_memory_d_c.html" title="A memory device context provides a means to draw graphics onto a bitmap.">wxMemoryDC</a>. <a href="#ad7330b5f52ade60e5f42492dc0686e2e"></a><br/></td></tr>
<tr class="separator:ad7330b5f52ade60e5f42492dc0686e2e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a9eae55f36b968a8525a9ff138cacc071"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classwx_graphics_context.html">wxGraphicsContext</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#a9eae55f36b968a8525a9ff138cacc071">Create</a> (const <a class="el" href="classwx_printer_d_c.html">wxPrinterDC</a> &printerDC)</td></tr>
<tr class="memdesc:a9eae55f36b968a8525a9ff138cacc071"><td class="mdescLeft"> </td><td class="mdescRight">Creates a <a class="el" href="classwx_graphics_context.html" title="A wxGraphicsContext instance is the object that is drawn upon.">wxGraphicsContext</a> from a <a class="el" href="classwx_printer_d_c.html" title="A printer device context is specific to MSW and Mac, and allows access to any printer with a Windows ...">wxPrinterDC</a>. <a href="#a9eae55f36b968a8525a9ff138cacc071"></a><br/></td></tr>
<tr class="separator:a9eae55f36b968a8525a9ff138cacc071"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a864e9f64cddcbf48755e1caaf3cb10d5"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classwx_graphics_context.html">wxGraphicsContext</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#a864e9f64cddcbf48755e1caaf3cb10d5">Create</a> (const wxEnhMetaFileDC &metaFileDC)</td></tr>
<tr class="memdesc:a864e9f64cddcbf48755e1caaf3cb10d5"><td class="mdescLeft"> </td><td class="mdescRight">Creates a <a class="el" href="classwx_graphics_context.html" title="A wxGraphicsContext instance is the object that is drawn upon.">wxGraphicsContext</a> from a wxEnhMetaFileDC. <a href="#a864e9f64cddcbf48755e1caaf3cb10d5"></a><br/></td></tr>
<tr class="separator:a864e9f64cddcbf48755e1caaf3cb10d5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a73c2e5ef4f8fad2ecd3b922e8cda964c"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classwx_graphics_context.html">wxGraphicsContext</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#a73c2e5ef4f8fad2ecd3b922e8cda964c">Create</a> (<a class="el" href="classwx_image.html">wxImage</a> &image)</td></tr>
<tr class="memdesc:a73c2e5ef4f8fad2ecd3b922e8cda964c"><td class="mdescLeft"> </td><td class="mdescRight">Creates a <a class="el" href="classwx_graphics_context.html" title="A wxGraphicsContext instance is the object that is drawn upon.">wxGraphicsContext</a> associated with a <a class="el" href="classwx_image.html" title="This class encapsulates a platform-independent image.">wxImage</a>. <a href="#a73c2e5ef4f8fad2ecd3b922e8cda964c"></a><br/></td></tr>
<tr class="separator:a73c2e5ef4f8fad2ecd3b922e8cda964c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a3fb73878ea4e515b46cfbe32b8d8025d"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classwx_graphics_context.html">wxGraphicsContext</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#a3fb73878ea4e515b46cfbe32b8d8025d">Create</a> ()</td></tr>
<tr class="memdesc:a3fb73878ea4e515b46cfbe32b8d8025d"><td class="mdescLeft"> </td><td class="mdescRight">Create a lightweight context that can be used only for measuring text. <a href="#a3fb73878ea4e515b46cfbe32b8d8025d"></a><br/></td></tr>
<tr class="separator:a3fb73878ea4e515b46cfbe32b8d8025d"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af01b5074cf044f3167be3462514e3bee"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classwx_graphics_context.html">wxGraphicsContext</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#af01b5074cf044f3167be3462514e3bee">CreateFromNative</a> (void *context)</td></tr>
<tr class="memdesc:af01b5074cf044f3167be3462514e3bee"><td class="mdescLeft"> </td><td class="mdescRight">Creates a <a class="el" href="classwx_graphics_context.html" title="A wxGraphicsContext instance is the object that is drawn upon.">wxGraphicsContext</a> from a native context. <a href="#af01b5074cf044f3167be3462514e3bee"></a><br/></td></tr>
<tr class="separator:af01b5074cf044f3167be3462514e3bee"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a0bda984aa81d1b155c15a84682c9cd2a"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classwx_graphics_context.html">wxGraphicsContext</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_graphics_context.html#a0bda984aa81d1b155c15a84682c9cd2a">CreateFromNativeWindow</a> (void *window)</td></tr>
<tr class="memdesc:a0bda984aa81d1b155c15a84682c9cd2a"><td class="mdescLeft"> </td><td class="mdescRight">Creates a <a class="el" href="classwx_graphics_context.html" title="A wxGraphicsContext instance is the object that is drawn upon.">wxGraphicsContext</a> from a native window. <a href="#a0bda984aa81d1b155c15a84682c9cd2a"></a><br/></td></tr>
<tr class="separator:a0bda984aa81d1b155c15a84682c9cd2a"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_methods_classwx_object"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classwx_object')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classwx_object.html">wxObject</a></td></tr>
<tr class="memitem:a60204063f3cc3aa2fa1c7ff5bda9eb13 inherit pro_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a60204063f3cc3aa2fa1c7ff5bda9eb13">AllocExclusive</a> ()</td></tr>
<tr class="memdesc:a60204063f3cc3aa2fa1c7ff5bda9eb13 inherit pro_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Ensure that this object's data is not shared with any other object. <a href="#a60204063f3cc3aa2fa1c7ff5bda9eb13"></a><br/></td></tr>
<tr class="separator:a60204063f3cc3aa2fa1c7ff5bda9eb13 inherit pro_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a95c6a5e4e1e03ff23c7b9efe4cff0c1a inherit pro_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classwx_object_ref_data.html">wxObjectRefData</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a95c6a5e4e1e03ff23c7b9efe4cff0c1a">CreateRefData</a> () const </td></tr>
<tr class="memdesc:a95c6a5e4e1e03ff23c7b9efe4cff0c1a inherit pro_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Creates a new instance of the wxObjectRefData-derived class specific to this object and returns it. <a href="#a95c6a5e4e1e03ff23c7b9efe4cff0c1a"></a><br/></td></tr>
<tr class="separator:a95c6a5e4e1e03ff23c7b9efe4cff0c1a inherit pro_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1d39f1d3650fe0982c9a1abe7f9fe7b7 inherit pro_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classwx_object_ref_data.html">wxObjectRefData</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a1d39f1d3650fe0982c9a1abe7f9fe7b7">CloneRefData</a> (const <a class="el" href="classwx_object_ref_data.html">wxObjectRefData</a> *data) const </td></tr>
<tr class="memdesc:a1d39f1d3650fe0982c9a1abe7f9fe7b7 inherit pro_methods_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Creates a new instance of the wxObjectRefData-derived class specific to this object and initializes it copying <em>data</em>. <a href="#a1d39f1d3650fe0982c9a1abe7f9fe7b7"></a><br/></td></tr>
<tr class="separator:a1d39f1d3650fe0982c9a1abe7f9fe7b7 inherit pro_methods_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pro_attribs_classwx_object"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classwx_object')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="classwx_object.html">wxObject</a></td></tr>
<tr class="memitem:a9e31954530a0abd54982effc443ed2b8 inherit pro_attribs_classwx_object"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_object_ref_data.html">wxObjectRefData</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_object.html#a9e31954530a0abd54982effc443ed2b8">m_refData</a></td></tr>
<tr class="memdesc:a9e31954530a0abd54982effc443ed2b8 inherit pro_attribs_classwx_object"><td class="mdescLeft"> </td><td class="mdescRight">Pointer to an object which is the object's reference-counted data. <a href="#a9e31954530a0abd54982effc443ed2b8"></a><br/></td></tr>
<tr class="separator:a9e31954530a0abd54982effc443ed2b8 inherit pro_attribs_classwx_object"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a14cca9fef8391d46f54259caa097ca1f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxGraphicsContext::BeginLayer </td>
<td>(</td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>opacity</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Redirects all rendering is done into a fully transparent temporary context. </p>
</div>
</div>
<a class="anchor" id="aacdbd6d9f656007791cc57192d5a3d7a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxGraphicsContext::Clip </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_region.html">wxRegion</a> & </td>
<td class="paramname"><em>region</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Clips drawings to the specified region. </p>
</div>
</div>
<a class="anchor" id="a137c2acff86b0ef6d68f8dd09fd077ef"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxGraphicsContext::Clip </td>
<td>(</td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>w</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>h</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Clips drawings to the specified rectangle. </p>
</div>
</div>
<a class="anchor" id="a27a0d32bd48956ffac1acc4b44f268e9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxGraphicsContext::ConcatTransform </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_graphics_matrix.html">wxGraphicsMatrix</a> & </td>
<td class="paramname"><em>matrix</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Concatenates the passed in transform with the current transform of this context. </p>
</div>
</div>
<a class="anchor" id="adbc3ec3262f53e209276293ff1c0944e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classwx_graphics_context.html">wxGraphicsContext</a>* wxGraphicsContext::Create </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_window.html">wxWindow</a> * </td>
<td class="paramname"><em>window</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates a <a class="el" href="classwx_graphics_context.html" title="A wxGraphicsContext instance is the object that is drawn upon.">wxGraphicsContext</a> from a <a class="el" href="classwx_window.html" title="wxWindow is the base class for all windows and represents any visible object on screen.">wxWindow</a>. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_graphics_renderer.html#a37eb2c013dc332db408e379d78ecd11f" title="Creates a wxGraphicsContext from a wxWindow.">wxGraphicsRenderer::CreateContext()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a74ac6d65912a38ac0d62c4120eb67614"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classwx_graphics_context.html">wxGraphicsContext</a>* wxGraphicsContext::Create </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_window_d_c.html">wxWindowDC</a> & </td>
<td class="paramname"><em>windowDC</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates a <a class="el" href="classwx_graphics_context.html" title="A wxGraphicsContext instance is the object that is drawn upon.">wxGraphicsContext</a> from a <a class="el" href="classwx_window_d_c.html" title="A wxWindowDC must be constructed if an application wishes to paint on the whole area of a window (cli...">wxWindowDC</a>. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_graphics_renderer.html#a37eb2c013dc332db408e379d78ecd11f" title="Creates a wxGraphicsContext from a wxWindow.">wxGraphicsRenderer::CreateContext()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="ad7330b5f52ade60e5f42492dc0686e2e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classwx_graphics_context.html">wxGraphicsContext</a>* wxGraphicsContext::Create </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_memory_d_c.html">wxMemoryDC</a> & </td>
<td class="paramname"><em>memoryDC</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates a <a class="el" href="classwx_graphics_context.html" title="A wxGraphicsContext instance is the object that is drawn upon.">wxGraphicsContext</a> from a <a class="el" href="classwx_memory_d_c.html" title="A memory device context provides a means to draw graphics onto a bitmap.">wxMemoryDC</a>. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_graphics_renderer.html#a37eb2c013dc332db408e379d78ecd11f" title="Creates a wxGraphicsContext from a wxWindow.">wxGraphicsRenderer::CreateContext()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a9eae55f36b968a8525a9ff138cacc071"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classwx_graphics_context.html">wxGraphicsContext</a>* wxGraphicsContext::Create </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_printer_d_c.html">wxPrinterDC</a> & </td>
<td class="paramname"><em>printerDC</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates a <a class="el" href="classwx_graphics_context.html" title="A wxGraphicsContext instance is the object that is drawn upon.">wxGraphicsContext</a> from a <a class="el" href="classwx_printer_d_c.html" title="A printer device context is specific to MSW and Mac, and allows access to any printer with a Windows ...">wxPrinterDC</a>. </p>
<p>Under GTK+, this will only work when using the GtkPrint printing backend which is available since GTK+ 2.10.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_graphics_renderer.html#a37eb2c013dc332db408e379d78ecd11f" title="Creates a wxGraphicsContext from a wxWindow.">wxGraphicsRenderer::CreateContext()</a>, <a class="el" href="overview_unixprinting.html">Printing Under Unix (GTK+)</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a864e9f64cddcbf48755e1caaf3cb10d5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classwx_graphics_context.html">wxGraphicsContext</a>* wxGraphicsContext::Create </td>
<td>(</td>
<td class="paramtype">const wxEnhMetaFileDC & </td>
<td class="paramname"><em>metaFileDC</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates a <a class="el" href="classwx_graphics_context.html" title="A wxGraphicsContext instance is the object that is drawn upon.">wxGraphicsContext</a> from a wxEnhMetaFileDC. </p>
<p>This function, as wxEnhMetaFileDC class itself, is only available only under MSW.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_graphics_renderer.html#a37eb2c013dc332db408e379d78ecd11f" title="Creates a wxGraphicsContext from a wxWindow.">wxGraphicsRenderer::CreateContext()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a73c2e5ef4f8fad2ecd3b922e8cda964c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classwx_graphics_context.html">wxGraphicsContext</a>* wxGraphicsContext::Create </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classwx_image.html">wxImage</a> & </td>
<td class="paramname"><em>image</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates a <a class="el" href="classwx_graphics_context.html" title="A wxGraphicsContext instance is the object that is drawn upon.">wxGraphicsContext</a> associated with a <a class="el" href="classwx_image.html" title="This class encapsulates a platform-independent image.">wxImage</a>. </p>
<p>The image specifies the size of the context as well as whether alpha is supported (if <a class="el" href="classwx_image.html#abd42fd2c579837850ab5909ab2bf200c" title="Returns true if this image has alpha channel, false otherwise.">wxImage::HasAlpha()</a>) or not and the initial contents of the context. The <em>image</em> object must have a life time greater than that of the new context as the context copies its contents back to the image when it is destroyed.</p>
<dl class="section since"><dt>Since</dt><dd>2.9.3 </dd></dl>
</div>
</div>
<a class="anchor" id="a3fb73878ea4e515b46cfbe32b8d8025d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classwx_graphics_context.html">wxGraphicsContext</a>* wxGraphicsContext::Create </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Create a lightweight context that can be used only for measuring text. </p>
</div>
</div>
<a class="anchor" id="ac53693504979f5378e24b01a3fc3deaa"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classwx_graphics_bitmap.html">wxGraphicsBitmap</a> wxGraphicsContext::CreateBitmap </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_bitmap.html">wxBitmap</a> & </td>
<td class="paramname"><em>bitmap</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates <a class="el" href="classwx_graphics_bitmap.html" title="Represents a bitmap.">wxGraphicsBitmap</a> from an existing <a class="el" href="classwx_bitmap.html" title="This class encapsulates the concept of a platform-dependent bitmap, either monochrome or colour or co...">wxBitmap</a>. </p>
<p>Returns an invalid wxNullGraphicsBitmap on failure. </p>
</div>
</div>
<a class="anchor" id="aa9cac3d795e0ac80f501b2da73fa70c1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classwx_graphics_bitmap.html">wxGraphicsBitmap</a> wxGraphicsContext::CreateBitmapFromImage </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_image.html">wxImage</a> & </td>
<td class="paramname"><em>image</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates <a class="el" href="classwx_graphics_bitmap.html" title="Represents a bitmap.">wxGraphicsBitmap</a> from an existing <a class="el" href="classwx_image.html" title="This class encapsulates a platform-independent image.">wxImage</a>. </p>
<p>This method is more efficient than converting <a class="el" href="classwx_image.html" title="This class encapsulates a platform-independent image.">wxImage</a> to <a class="el" href="classwx_bitmap.html" title="This class encapsulates the concept of a platform-dependent bitmap, either monochrome or colour or co...">wxBitmap</a> first and then calling <a class="el" href="classwx_graphics_context.html#ac53693504979f5378e24b01a3fc3deaa" title="Creates wxGraphicsBitmap from an existing wxBitmap.">CreateBitmap()</a> but otherwise has the same effect.</p>
<p>Returns an invalid wxNullGraphicsBitmap on failure.</p>
<dl class="section since"><dt>Since</dt><dd>2.9.3 </dd></dl>
</div>
</div>
<a class="anchor" id="a1228d38d7710ed025f5f63e860e7c45c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classwx_graphics_brush.html">wxGraphicsBrush</a> wxGraphicsContext::CreateBrush </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_brush.html">wxBrush</a> & </td>
<td class="paramname"><em>brush</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates a native brush from a <a class="el" href="classwx_brush.html" title="A brush is a drawing tool for filling in areas.">wxBrush</a>. </p>
</div>
</div>
<a class="anchor" id="aa5945450d101f012cb47a836f4c10792"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classwx_graphics_font.html">wxGraphicsFont</a> wxGraphicsContext::CreateFont </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_font.html">wxFont</a> & </td>
<td class="paramname"><em>font</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_colour.html">wxColour</a> & </td>
<td class="paramname"><em>col</em> = <code>*<a class="el" href="colour_8h.html#a28c9e9208c4907063eb9869ff2332776">wxBLACK</a></code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates a native graphics font from a <a class="el" href="classwx_font.html" title="A font is an object which determines the appearance of text.">wxFont</a> and a text colour. </p>
</div>
</div>
<a class="anchor" id="a2b24ebf8410a25701e1a33145632d564"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classwx_graphics_font.html">wxGraphicsFont</a> wxGraphicsContext::CreateFont </td>
<td>(</td>
<td class="paramtype">double </td>
<td class="paramname"><em>sizeInPixels</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>facename</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"><em>flags</em> = <code><a class="el" href="interface_2wx_2font_8h.html#a332098a83a5d888d2e1169b4bd9565daa7d4aeb5a9cd61d36185166643cbe59ad">wxFONTFLAG_DEFAULT</a></code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_colour.html">wxColour</a> & </td>
<td class="paramname"><em>col</em> = <code>*<a class="el" href="colour_8h.html#a28c9e9208c4907063eb9869ff2332776">wxBLACK</a></code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates a font object with the specified attributes. </p>
<p>The use of overload taking <a class="el" href="classwx_font.html" title="A font is an object which determines the appearance of text.">wxFont</a> is preferred, see <a class="el" href="classwx_graphics_renderer.html#af5943d1e043e3d44b98c9a618a294822" title="Creates a native graphics font from a wxFont and a text colour.">wxGraphicsRenderer::CreateFont()</a> for more details.</p>
<dl class="section since"><dt>Since</dt><dd>2.9.3 </dd></dl>
</div>
</div>
<a class="anchor" id="af01b5074cf044f3167be3462514e3bee"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classwx_graphics_context.html">wxGraphicsContext</a>* wxGraphicsContext::CreateFromNative </td>
<td>(</td>
<td class="paramtype">void * </td>
<td class="paramname"><em>context</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates a <a class="el" href="classwx_graphics_context.html" title="A wxGraphicsContext instance is the object that is drawn upon.">wxGraphicsContext</a> from a native context. </p>
<p>This native context must be a CGContextRef for Core Graphics, a Graphics pointer for GDIPlus, or a cairo_t pointer for cairo.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_graphics_renderer.html#afb8008f022cf27a381f10bb093bcc987" title="Creates a wxGraphicsContext from a native context.">wxGraphicsRenderer::CreateContextFromNativeContext()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a0bda984aa81d1b155c15a84682c9cd2a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static <a class="el" href="classwx_graphics_context.html">wxGraphicsContext</a>* wxGraphicsContext::CreateFromNativeWindow </td>
<td>(</td>
<td class="paramtype">void * </td>
<td class="paramname"><em>window</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates a <a class="el" href="classwx_graphics_context.html" title="A wxGraphicsContext instance is the object that is drawn upon.">wxGraphicsContext</a> from a native window. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_graphics_renderer.html#acd551b375bdf6935252c6e031a0a4a35" title="Creates a wxGraphicsContext from a native window.">wxGraphicsRenderer::CreateContextFromNativeWindow()</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a799dd1e4c0047a901e53361938edf264"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_graphics_brush.html">wxGraphicsBrush</a> wxGraphicsContext::CreateLinearGradientBrush </td>
<td>(</td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>x1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>y1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>x2</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>y2</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_colour.html">wxColour</a> & </td>
<td class="paramname"><em>c1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_colour.html">wxColour</a> & </td>
<td class="paramname"><em>c2</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates a native brush with a linear gradient. </p>
<p>The brush starts at (<em>x1</em>, <em>y1</em>) and ends at (<em>x2</em>, <em>y2</em>). Either just the start and end gradient colours (<em>c1</em> and <em>c2</em>) or full set of gradient <em>stops</em> can be specified.</p>
<p>The version taking <a class="el" href="classwx_graphics_gradient_stops.html" title="Represents a collection of wxGraphicGradientStop values for use with CreateLinearGradientBrush and Cr...">wxGraphicsGradientStops</a> is new in wxWidgets 2.9.1. </p>
</div>
</div>
<a class="anchor" id="a0198a3e473f2ea82f90667238d6919e8"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_graphics_brush.html">wxGraphicsBrush</a> wxGraphicsContext::CreateLinearGradientBrush </td>
<td>(</td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>x1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>y1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>x2</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>y2</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_graphics_gradient_stops.html">wxGraphicsGradientStops</a> & </td>
<td class="paramname"><em>stops</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates a native brush with a linear gradient. </p>
<p>The brush starts at (<em>x1</em>, <em>y1</em>) and ends at (<em>x2</em>, <em>y2</em>). Either just the start and end gradient colours (<em>c1</em> and <em>c2</em>) or full set of gradient <em>stops</em> can be specified.</p>
<p>The version taking <a class="el" href="classwx_graphics_gradient_stops.html" title="Represents a collection of wxGraphicGradientStop values for use with CreateLinearGradientBrush and Cr...">wxGraphicsGradientStops</a> is new in wxWidgets 2.9.1. </p>
</div>
</div>
<a class="anchor" id="a03baf02210eba82dc54e4fead30db284"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classwx_graphics_matrix.html">wxGraphicsMatrix</a> wxGraphicsContext::CreateMatrix </td>
<td>(</td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>a</em> = <code>1.0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>b</em> = <code>0.0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>c</em> = <code>0.0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>d</em> = <code>1.0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>tx</em> = <code>0.0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>ty</em> = <code>0.0</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates a native affine transformation matrix from the passed in values. </p>
<p>The default parameters result in an identity matrix. </p>
</div>
</div>
<a class="anchor" id="a616e44f74545e609f35e3fedd41c19fd"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_graphics_matrix.html">wxGraphicsMatrix</a> wxGraphicsContext::CreateMatrix </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_affine_matrix2_d_base.html">wxAffineMatrix2DBase</a> & </td>
<td class="paramname"><em>mat</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates a native affine transformation matrix from the passed generic one. </p>
<dl class="section since"><dt>Since</dt><dd>2.9.4 </dd></dl>
</div>
</div>
<a class="anchor" id="a55c95ed392ed17f6fbd6e83b2a442a80"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classwx_graphics_path.html">wxGraphicsPath</a> wxGraphicsContext::CreatePath </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates a native graphics path which is initially empty. </p>
</div>
</div>
<a class="anchor" id="a3eaabb061bc3ca2441d84fe6f432934c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classwx_graphics_pen.html">wxGraphicsPen</a> wxGraphicsContext::CreatePen </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_pen.html">wxPen</a> & </td>
<td class="paramname"><em>pen</em></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates a native pen from a <a class="el" href="classwx_pen.html" title="A pen is a drawing tool for drawing outlines.">wxPen</a>. </p>
</div>
</div>
<a class="anchor" id="a03ac1f51fd5bf3ff24f70dac5659bee6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classwx_graphics_brush.html">wxGraphicsBrush</a> wxGraphicsContext::CreateRadialGradientBrush </td>
<td>(</td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>xo</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>yo</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>xc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>yc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>radius</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_colour.html">wxColour</a> & </td>
<td class="paramname"><em>oColor</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_colour.html">wxColour</a> & </td>
<td class="paramname"><em>cColor</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates a native brush with a radial gradient. </p>
<p>The brush originates at (<em>xo</em>, <em>yc</em>) and ends on a circle around (<em>xc</em>, <em>yc</em>) with the given <em>radius</em>.</p>
<p>The gradient may be specified either by its start and end colours <em>oColor</em> and <em>cColor</em> or by a full set of gradient <em>stops</em>.</p>
<p>The version taking <a class="el" href="classwx_graphics_gradient_stops.html" title="Represents a collection of wxGraphicGradientStop values for use with CreateLinearGradientBrush and Cr...">wxGraphicsGradientStops</a> is new in wxWidgets 2.9.1. </p>
</div>
</div>
<a class="anchor" id="a0652b7e5cf77bbfedbfbffe29f47764c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classwx_graphics_brush.html">wxGraphicsBrush</a> wxGraphicsContext::CreateRadialGradientBrush </td>
<td>(</td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>xo</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>yo</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>xc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>yc</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>radius</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_graphics_gradient_stops.html">wxGraphicsGradientStops</a> & </td>
<td class="paramname"><em>stops</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates a native brush with a radial gradient. </p>
<p>The brush originates at (<em>xo</em>, <em>yc</em>) and ends on a circle around (<em>xc</em>, <em>yc</em>) with the given <em>radius</em>.</p>
<p>The gradient may be specified either by its start and end colours <em>oColor</em> and <em>cColor</em> or by a full set of gradient <em>stops</em>.</p>
<p>The version taking <a class="el" href="classwx_graphics_gradient_stops.html" title="Represents a collection of wxGraphicGradientStop values for use with CreateLinearGradientBrush and Cr...">wxGraphicsGradientStops</a> is new in wxWidgets 2.9.1. </p>
</div>
</div>
<a class="anchor" id="ab20045381f093685cf8cb115c27b2c0c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classwx_graphics_bitmap.html">wxGraphicsBitmap</a> wxGraphicsContext::CreateSubBitmap </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_graphics_bitmap.html">wxGraphicsBitmap</a> & </td>
<td class="paramname"><em>bitmap</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>w</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>h</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Extracts a sub-bitmap from an existing bitmap. </p>
<p>Currently this function is implemented in the native MSW and OS X versions but not when using Cairo. </p>
</div>
</div>
<a class="anchor" id="aab2095c1335c9b9476f73220aacd1f0e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxGraphicsContext::DisableOffset </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="aee61e2fbc580d7f6a344daa1d1e13296"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxGraphicsContext::DrawBitmap </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_graphics_bitmap.html">wxGraphicsBitmap</a> & </td>
<td class="paramname"><em>bmp</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>w</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>h</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Draws the bitmap. </p>
<p>In case of a mono bitmap, this is treated as a mask and the current brushed is used for filling. </p>
</div>
</div>
<a class="anchor" id="abe877acef8a07c423e68dd7844ec255c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxGraphicsContext::DrawBitmap </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_bitmap.html">wxBitmap</a> & </td>
<td class="paramname"><em>bmp</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>w</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>h</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Draws the bitmap. </p>
<p>In case of a mono bitmap, this is treated as a mask and the current brushed is used for filling. </p>
</div>
</div>
<a class="anchor" id="a8c02b7104bf6dca1bef3f37e012008ab"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxGraphicsContext::DrawEllipse </td>
<td>(</td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>w</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>h</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Draws an ellipse. </p>
</div>
</div>
<a class="anchor" id="a4f512c4bc3b646b983b74387c0ccc6e5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxGraphicsContext::DrawIcon </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_icon.html">wxIcon</a> & </td>
<td class="paramname"><em>icon</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>w</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>h</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Draws the icon. </p>
</div>
</div>
<a class="anchor" id="a9f2ff291f576a5b6aa59f088598d7cdb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxGraphicsContext::DrawLines </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>n</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_point2_d_double.html">wxPoint2DDouble</a> * </td>
<td class="paramname"><em>points</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="gdicmn_8h.html#a771e5c5703eb406b19fb50bb718eee05">wxPolygonFillMode</a> </td>
<td class="paramname"><em>fillStyle</em> = <code><a class="el" href="gdicmn_8h.html#a771e5c5703eb406b19fb50bb718eee05a8845ab62cc357dfde27baf7ebf10ffac">wxODDEVEN_RULE</a></code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Draws a polygon. </p>
</div>
</div>
<a class="anchor" id="aafc07428a486bd6a1daf4853389c2e81"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxGraphicsContext::DrawPath </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_graphics_path.html">wxGraphicsPath</a> & </td>
<td class="paramname"><em>path</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="gdicmn_8h.html#a771e5c5703eb406b19fb50bb718eee05">wxPolygonFillMode</a> </td>
<td class="paramname"><em>fillStyle</em> = <code><a class="el" href="gdicmn_8h.html#a771e5c5703eb406b19fb50bb718eee05a8845ab62cc357dfde27baf7ebf10ffac">wxODDEVEN_RULE</a></code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Draws the path by first filling and then stroking. </p>
</div>
</div>
<a class="anchor" id="a300ea068aecf0b7c96546f8d084534cd"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxGraphicsContext::DrawRectangle </td>
<td>(</td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>w</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>h</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Draws a rectangle. </p>
</div>
</div>
<a class="anchor" id="a123baf346513b26823b15336ef05018e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxGraphicsContext::DrawRoundedRectangle </td>
<td>(</td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>w</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>h</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>radius</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Draws a rounded rectangle. </p>
</div>
</div>
<a class="anchor" id="a6fc49c0c082ea2e9f08e5546843888a9"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxGraphicsContext::DrawText </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>str</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>y</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Draws text at the defined position. </p>
</div>
</div>
<a class="anchor" id="a4720793e4671b711299177749cda6327"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxGraphicsContext::DrawText </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>str</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>angle</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Draws text at the defined position. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">str</td><td>The text to draw. </td></tr>
<tr><td class="paramname">x</td><td>The x coordinate position to draw the text at. </td></tr>
<tr><td class="paramname">y</td><td>The y coordinate position to draw the text at. </td></tr>
<tr><td class="paramname">angle</td><td>The angle relative to the (default) horizontal direction to draw the string. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a9c20fee21f6ad25a692072d362d24909"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxGraphicsContext::DrawText </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>str</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_graphics_brush.html">wxGraphicsBrush</a> & </td>
<td class="paramname"><em>backgroundBrush</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Draws text at the defined position. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">str</td><td>The text to draw. </td></tr>
<tr><td class="paramname">x</td><td>The x coordinate position to draw the text at. </td></tr>
<tr><td class="paramname">y</td><td>The y coordinate position to draw the text at. </td></tr>
<tr><td class="paramname">backgroundBrush</td><td>Brush to fill the text with. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a37efc3d9b9d0fc69132e806ca8e0c01f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxGraphicsContext::DrawText </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>str</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>x</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>y</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>angle</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_graphics_brush.html">wxGraphicsBrush</a> & </td>
<td class="paramname"><em>backgroundBrush</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Draws text at the defined position. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">str</td><td>The text to draw. </td></tr>
<tr><td class="paramname">x</td><td>The x coordinate position to draw the text at. </td></tr>
<tr><td class="paramname">y</td><td>The y coordinate position to draw the text at. </td></tr>
<tr><td class="paramname">angle</td><td>The angle relative to the (default) horizontal direction to draw the string. </td></tr>
<tr><td class="paramname">backgroundBrush</td><td>Brush to fill the text with. </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="a80d7a1215921597ef049b224708fb321"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxGraphicsContext::EnableOffset </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>enable</em> = <code>true</code></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a21d6014bb8529002eff2be6bcd2572f1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxGraphicsContext::EndDoc </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Done with that document (relevant only for printing / pdf etc.) </p>
</div>
</div>
<a class="anchor" id="a5135c2f7c70eab04fe68532ccf3d6f95"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxGraphicsContext::EndLayer </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Composites back the drawings into the context with the opacity given at the BeginLayer call. </p>
</div>
</div>
<a class="anchor" id="a33b54026827258d12aa9a7c64a69464e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxGraphicsContext::EndPage </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Ends the current page (relevant only for printing / pdf etc.) </p>
</div>
</div>
<a class="anchor" id="a225c90d767a6c26989d85ac8463d029f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxGraphicsContext::FillPath </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_graphics_path.html">wxGraphicsPath</a> & </td>
<td class="paramname"><em>path</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="gdicmn_8h.html#a771e5c5703eb406b19fb50bb718eee05">wxPolygonFillMode</a> </td>
<td class="paramname"><em>fillStyle</em> = <code><a class="el" href="gdicmn_8h.html#a771e5c5703eb406b19fb50bb718eee05a8845ab62cc357dfde27baf7ebf10ffac">wxODDEVEN_RULE</a></code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Fills the path with the current brush. </p>
</div>
</div>
<a class="anchor" id="aebfbc516794756202ebfc2d4e153c9e9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxGraphicsContext::Flush </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Make sure that the current content of this context is immediately visible. </p>
</div>
</div>
<a class="anchor" id="ac2bd0c1da42af6c93aafe3ad804f9cb9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="graphics_8h.html#a2163cc0b26553eee0e9e7da270518c97">wxAntialiasMode</a> wxGraphicsContext::GetAntialiasMode </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the current shape antialiasing mode. </p>
</div>
</div>
<a class="anchor" id="a10fd42bbf1c7c6b7f92ded8b736951fb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="graphics_8h.html#af26ae47387aa983f2a975b3f85cb9668">wxCompositionMode</a> wxGraphicsContext::GetCompositionMode </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the current compositing operator. </p>
</div>
</div>
<a class="anchor" id="ad40ea5fa386808cbf64c558eeedecbd6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxGraphicsContext::GetDPI </td>
<td>(</td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> * </td>
<td class="paramname"><em>dpiX</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> * </td>
<td class="paramname"><em>dpiY</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the resolution of the graphics context in device points per inch. </p>
</div>
</div>
<a class="anchor" id="aa8587bbcd8d050b066118b95d0c4257c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="graphics_8h.html#aec2ef7cc43f841ab74155becb8185e18">wxInterpolationQuality</a> wxGraphicsContext::GetInterpolationQuality </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the current interpolation quality. </p>
</div>
</div>
<a class="anchor" id="a4db645a38a60204b2fe91ab891038908"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void* wxGraphicsContext::GetNativeContext </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the native context (CGContextRef for Core Graphics, Graphics pointer for GDIPlus and cairo_t pointer for cairo). </p>
</div>
</div>
<a class="anchor" id="a833d7b036804e46cd2f1fd7bacb1db62"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxGraphicsContext::GetPartialTextExtents </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>text</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="dynarray_8h.html#a84411c7d20ee889cd887dd10ef12b1a7">wxArrayDouble</a> & </td>
<td class="paramname"><em>widths</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Fills the <em>widths</em> array with the widths from the beginning of <em>text</em> to the corresponding character of <em>text</em>. </p>
</div>
</div>
<a class="anchor" id="a6d46669caa8e9ed3b6ced36bb4455d1f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxGraphicsContext::GetSize </td>
<td>(</td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> * </td>
<td class="paramname"><em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> * </td>
<td class="paramname"><em>height</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the size of the graphics context in device coordinates. </p>
</div>
</div>
<a class="anchor" id="a32afcb5c7ed4d75d473c47c5b567198a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxGraphicsContext::GetTextExtent </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>text</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> * </td>
<td class="paramname"><em>width</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> * </td>
<td class="paramname"><em>height</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> * </td>
<td class="paramname"><em>descent</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> * </td>
<td class="paramname"><em>externalLeading</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Gets the dimensions of the string using the currently selected font. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">text</td><td>The text string to measure. </td></tr>
<tr><td class="paramname">width</td><td>Variable to store the total calculated width of the text. </td></tr>
<tr><td class="paramname">height</td><td>Variable to store the total calculated height of the text. </td></tr>
<tr><td class="paramname">descent</td><td>Variable to store the dimension from the baseline of the font to the bottom of the descender. </td></tr>
<tr><td class="paramname">externalLeading</td><td>Any extra vertical space added to the font by the font designer (usually is zero). </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a class="anchor" id="af9352912c014c93414f99d39761f5682"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="classwx_graphics_matrix.html">wxGraphicsMatrix</a> wxGraphicsContext::GetTransform </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Gets the current transformation matrix of this context. </p>
</div>
</div>
<a class="anchor" id="a3e9cae78eb61f83356471e99556a9a04"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool wxGraphicsContext::OffsetEnabled </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="a396b928674376f503aa3b2959e39c473"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxGraphicsContext::PopState </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Pops a stored state from the stack and sets the current transformation matrix to that state. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_graphics_context.html#a396b928674376f503aa3b2959e39c473" title="Pops a stored state from the stack and sets the current transformation matrix to that state...">wxGraphicsContext::PopState</a> </dd></dl>
</div>
</div>
<a class="anchor" id="af2548831583e900dd74462c7d58fec47"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxGraphicsContext::PushState </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Push the current state of the context's transformation matrix on a stack. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_graphics_context.html#a396b928674376f503aa3b2959e39c473" title="Pops a stored state from the stack and sets the current transformation matrix to that state...">wxGraphicsContext::PopState</a> </dd></dl>
</div>
</div>
<a class="anchor" id="a41edbc852f1f3a1393059e44e29d500d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxGraphicsContext::ResetClip </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Resets the clipping to original shape. </p>
</div>
</div>
<a class="anchor" id="affca88cad88a2d8a7612ab9e50e4da70"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxGraphicsContext::Rotate </td>
<td>(</td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>angle</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Rotates the current transformation matrix (in radians). </p>
</div>
</div>
<a class="anchor" id="a4b890911d4798cbda7bf80f2076e9bf1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxGraphicsContext::Scale </td>
<td>(</td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>xScale</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>yScale</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Scales the current transformation matrix. </p>
</div>
</div>
<a class="anchor" id="a51e968476c72d3d77424cb8e11a14d65"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxGraphicsContext::SetAntialiasMode </td>
<td>(</td>
<td class="paramtype"><a class="el" href="graphics_8h.html#a2163cc0b26553eee0e9e7da270518c97">wxAntialiasMode</a> </td>
<td class="paramname"><em>antialias</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the antialiasing mode, returns true if it supported. </p>
</div>
</div>
<a class="anchor" id="a622c7f2349d0df34482f47983e2de2fd"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxGraphicsContext::SetBrush </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_brush.html">wxBrush</a> & </td>
<td class="paramname"><em>brush</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the brush for filling paths. </p>
</div>
</div>
<a class="anchor" id="ae7f43bd73c7212db2763c1a0535adb84"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxGraphicsContext::SetBrush </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_graphics_brush.html">wxGraphicsBrush</a> & </td>
<td class="paramname"><em>brush</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the brush for filling paths. </p>
</div>
</div>
<a class="anchor" id="a08a80e457f7bb28d0394c248de1742ef"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxGraphicsContext::SetCompositionMode </td>
<td>(</td>
<td class="paramtype"><a class="el" href="graphics_8h.html#af26ae47387aa983f2a975b3f85cb9668">wxCompositionMode</a> </td>
<td class="paramname"><em>op</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the compositing operator, returns true if it supported. </p>
</div>
</div>
<a class="anchor" id="a8a1756278f0a3f7125280ac1aeedd135"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxGraphicsContext::SetFont </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_font.html">wxFont</a> & </td>
<td class="paramname"><em>font</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_colour.html">wxColour</a> & </td>
<td class="paramname"><em>colour</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the font for drawing text. </p>
</div>
</div>
<a class="anchor" id="adcd4539f8db8200d9ddc47385a142328"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxGraphicsContext::SetFont </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_graphics_font.html">wxGraphicsFont</a> & </td>
<td class="paramname"><em>font</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the font for drawing text. </p>
</div>
</div>
<a class="anchor" id="af6ecb449cb732632a8d9b5c285d01b91"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxGraphicsContext::SetInterpolationQuality </td>
<td>(</td>
<td class="paramtype"><a class="el" href="graphics_8h.html#aec2ef7cc43f841ab74155becb8185e18">wxInterpolationQuality</a> </td>
<td class="paramname"><em>interpolation</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the interpolation quality, returns true if it is supported. </p>
<p>Not implemented in Cairo backend currently.</p>
<p>Notice that in wxWidgets 3.0 the default interpolation quality for GDI+-based implementation is <a class="el" href="graphics_8h.html#aec2ef7cc43f841ab74155becb8185e18a73b65cf5f62beabc31373a16e57719d3" title="better quality">wxINTERPOLATION_GOOD</a> and <em>not</em> <a class="el" href="graphics_8h.html#aec2ef7cc43f841ab74155becb8185e18a169ad9531b1ad926f173c1404f77268f" title="default interpolation, based on type of context, in general medium quality">wxINTERPOLATION_DEFAULT</a> (unlike under OS X with CoreGraphics-based implementation). This will be changed in wxWidgets 3.1 and later version, call this method explicitly instead of relying on the default value to ensure consistent behaviour across different platforms and versions. </p>
</div>
</div>
<a class="anchor" id="ac34d6320c2777fe2afcf8777868e37d3"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void wxGraphicsContext::SetPen </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_pen.html">wxPen</a> & </td>
<td class="paramname"><em>pen</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the pen used for stroking. </p>
</div>
</div>
<a class="anchor" id="acc15194eea4192f622d560bd33233cee"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxGraphicsContext::SetPen </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_graphics_pen.html">wxGraphicsPen</a> & </td>
<td class="paramname"><em>pen</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the pen used for stroking. </p>
</div>
</div>
<a class="anchor" id="a1d3eb969a3973525523b2e7fadb59f51"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxGraphicsContext::SetTransform </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_graphics_matrix.html">wxGraphicsMatrix</a> & </td>
<td class="paramname"><em>matrix</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the current transformation matrix of this context. </p>
</div>
</div>
<a class="anchor" id="aea3895e114ecbbc6e912a8c749daa8fa"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxGraphicsContext::ShouldOffset </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a class="anchor" id="aafa1fe3a6e692dde741505e0bf1c90c8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool wxGraphicsContext::StartDoc </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> & </td>
<td class="paramname"><em>message</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Begin a new document (relevant only for printing / pdf etc.) If there is a progress dialog, message will be shown. </p>
</div>
</div>
<a class="anchor" id="ab7c6ecebaf95556f90527437299193c6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxGraphicsContext::StartPage </td>
<td>(</td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>width</em> = <code>0</code>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>height</em> = <code>0</code> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Opens a new page (relevant only for printing / pdf etc.) with the given size in points. </p>
<p>(If both are null the default page size will be used.) </p>
</div>
</div>
<a class="anchor" id="a871e2e9ed868df0b1acbbfd4822479a2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxGraphicsContext::StrokeLine </td>
<td>(</td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>x1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>y1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>x2</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>y2</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Strokes a single line. </p>
</div>
</div>
<a class="anchor" id="acfb6d98806247a5d06b5b2f5f57972ac"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxGraphicsContext::StrokeLines </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>n</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_point2_d_double.html">wxPoint2DDouble</a> * </td>
<td class="paramname"><em>beginPoints</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_point2_d_double.html">wxPoint2DDouble</a> * </td>
<td class="paramname"><em>endPoints</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Stroke disconnected lines from begin to end points, fastest method available for this purpose. </p>
</div>
</div>
<a class="anchor" id="a08055b131515a6fb39868ad7c2bf25fd"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxGraphicsContext::StrokeLines </td>
<td>(</td>
<td class="paramtype">size_t </td>
<td class="paramname"><em>n</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classwx_point2_d_double.html">wxPoint2DDouble</a> * </td>
<td class="paramname"><em>points</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Stroke lines connecting all the points. </p>
<p>Unlike the other overload of this function, this method draws a single polyline and not a number of disconnected lines. </p>
</div>
</div>
<a class="anchor" id="a4f7f8f768e84dcdf50493f0e7ef0c00a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxGraphicsContext::StrokePath </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classwx_graphics_path.html">wxGraphicsPath</a> & </td>
<td class="paramname"><em>path</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Strokes along a path with the current pen. </p>
</div>
</div>
<a class="anchor" id="a3fcc8a79248f192c637ff89466939916"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void wxGraphicsContext::Translate </td>
<td>(</td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>dx</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="defs_8h.html#a75a450a943d1f217d7cf24f2b9eeed2e">wxDouble</a> </td>
<td class="paramname"><em>dy</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Translates the current transformation matrix. </p>
</div>
</div>
</div><!-- contents -->
<address class="footer">
<small>
Generated on Thu Nov 27 2014 13:46:48 for wxWidgets by <a href="http://www.doxygen.org/index.html" target="_new">Doxygen</a> 1.8.2
</small>
</address>
<script src="wxwidgets.js" type="text/javascript"></script>
</div><!-- #page_container -->
</body>
</html>
|