File: classwx_d_c.html

package info (click to toggle)
wxpython3.0 3.0.2.0%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 482,760 kB
  • ctags: 518,293
  • sloc: cpp: 2,127,226; python: 294,045; makefile: 51,942; ansic: 19,033; sh: 3,013; xml: 1,629; perl: 17
file content (4260 lines) | stat: -rw-r--r-- 301,311 bytes parent folder | download | duplicates (2)
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
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
<!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: wxDC 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&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;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&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classwx_d_c-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">wxDC Class Reference<div class="ingroups"><a class="el" href="group__group__class__dc.html">Device Contexts</a> &#124; <a class="el" href="group__group__class__gdi.html">Graphics Device Interface (GDI)</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;wx/dc.h&gt;</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 wxDC:</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_d_c__inherit__graph.png" border="0" usemap="#wx_d_c_inherit__map" alt="Inheritance graph"/></div>
<map name="wx_d_c_inherit__map" id="wx_d_c_inherit__map">
<area shape="rect" id="node5" href="classwx_g_c_d_c.html" title="wxGCDC is a device context that draws on a wxGraphicsContext." alt="" coords="252,5,327,33"/><area shape="rect" id="node7" href="classwx_memory_d_c.html" title="A memory device context provides a means to draw graphics onto a bitmap." alt="" coords="239,55,340,83"/><area shape="rect" id="node15" href="classwx_metafile_d_c.html" title="This is a type of device context that allows a metafile object to be created (Windows only)..." alt="" coords="240,106,339,134"/><area shape="rect" id="node17" href="classwx_mirror_d_c.html" title="wxMirrorDC is a simple wrapper class which is always associated with a real wxDC object and either fo..." alt="" coords="245,157,333,185"/><area shape="rect" id="node19" href="classwx_post_script_d_c.html" title="This defines the wxWidgets Encapsulated PostScript device context, which can write PostScript files o..." alt="" coords="232,207,347,235"/><area shape="rect" id="node21" 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 ..." alt="" coords="243,258,336,286"/><area shape="rect" id="node23" href="classwx_screen_d_c.html" title="A wxScreenDC can be used to paint on the screen." alt="" coords="241,309,337,337"/><area shape="rect" id="node25" href="classwx_s_v_g_file_d_c.html" title="A wxSVGFileDC is a device context onto which graphics and text can be drawn, and the output produced ..." alt="" coords="239,359,340,387"/><area shape="rect" id="node27" 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..." alt="" coords="240,410,339,438"/><area shape="rect" id="node2" href="classwx_object.html" title="This is the root class of many of the wxWidgets classes." alt="" coords="5,207,80,235"/><area shape="rect" id="node9" href="classwx_buffered_d_c.html" title="This class provides a simple way to avoid flicker: when drawing on it, everything is in fact first dr..." alt="" coords="396,55,497,83"/><area shape="rect" id="node11" href="classwx_buffered_paint_d_c.html" title="This is a subclass of wxBufferedDC which can be used inside of an EVT_PAINT() event handler to achiev..." alt="" coords="548,55,679,83"/><area shape="rect" id="node13" href="classwx_auto_buffered_paint_d_c.html" title="This wxDC derivative can be used inside of an EVT_PAINT() event handler to achieve double&#45;buffered dr..." alt="" coords="729,55,887,83"/><area shape="rect" id="node29" href="classwx_client_d_c.html" title="A wxClientDC must be constructed if an application wishes to paint on the client area of a window fro..." alt="" coords="403,410,491,438"/><area shape="rect" id="node31" 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..." alt="" coords="571,410,656,438"/></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_d_c.html" title="A wxDC is a &quot;device context&quot; onto which graphics and text can be drawn.">wxDC</a> is a <em>"device context"</em> onto which graphics and text can be drawn. </p>
<p>It is intended to represent different output devices and offers a common abstract API for drawing on any of them.</p>
<p>wxWidgets offers an alternative drawing API based on the modern drawing backends GDI+, CoreGraphics and Cairo. See <a class="el" href="classwx_graphics_context.html" title="A wxGraphicsContext instance is the object that is drawn upon.">wxGraphicsContext</a>, <a class="el" href="classwx_graphics_renderer.html" title="A wxGraphicsRenderer is the instance corresponding to the rendering engine used.">wxGraphicsRenderer</a> and related classes. There is also a <a class="el" href="classwx_g_c_d_c.html" title="wxGCDC is a device context that draws on a wxGraphicsContext.">wxGCDC</a> linking the APIs by offering the <a class="el" href="classwx_d_c.html" title="A wxDC is a &quot;device context&quot; onto which graphics and text can be drawn.">wxDC</a> API on top of a <a class="el" href="classwx_graphics_context.html" title="A wxGraphicsContext instance is the object that is drawn upon.">wxGraphicsContext</a>.</p>
<p><a class="el" href="classwx_d_c.html" title="A wxDC is a &quot;device context&quot; onto which graphics and text can be drawn.">wxDC</a> is an abstract base class and cannot be created directly. Use <a class="el" 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>, <a class="el" href="classwx_client_d_c.html" title="A wxClientDC must be constructed if an application wishes to paint on the client area of a window fro...">wxClientDC</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 class="el" href="classwx_screen_d_c.html" title="A wxScreenDC can be used to paint on the screen.">wxScreenDC</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> or <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>. Notice that device contexts which are associated with windows (i.e. <a class="el" href="classwx_client_d_c.html" title="A wxClientDC must be constructed if an application wishes to paint on the client area of a window fro...">wxClientDC</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> and <a class="el" 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>) use the window font and colours by default (starting with wxWidgets 2.9.0) but the other device context classes use system-default values so you always must set the appropriate fonts and colours before using them.</p>
<p>In addition to the versions of the methods documented below, there are also versions which accept single <a class="el" href="classwx_point.html" title="A wxPoint is a useful data structure for graphics operations.">wxPoint</a> parameter instead of the two wxCoord ones or <a class="el" href="classwx_point.html" title="A wxPoint is a useful data structure for graphics operations.">wxPoint</a> and <a class="el" href="classwx_size.html" title="A wxSize is a useful data structure for graphics operations.">wxSize</a> instead of the four wxCoord parameters.</p>
<p>Beginning with wxWidgets 2.9.0 the entire <a class="el" href="classwx_d_c.html" title="A wxDC is a &quot;device context&quot; onto which graphics and text can be drawn.">wxDC</a> code has been reorganized. All platform dependent code (actually all drawing code) has been moved into backend classes which derive from a common wxDCImpl class. The user-visible classes such as <a class="el" href="classwx_client_d_c.html" title="A wxClientDC must be constructed if an application wishes to paint on the client area of a window fro...">wxClientDC</a> and <a class="el" 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> merely forward all calls to the backend implementation.</p>
<h1><a class="anchor" id="dc_units"></a>
Device and logical units</h1>
<p>In the <a class="el" href="classwx_d_c.html" title="A wxDC is a &quot;device context&quot; onto which graphics and text can be drawn.">wxDC</a> context there is a distinction between <em>logical</em> units and <em>device</em> units.</p>
<p><b>Device</b> units are the units native to the particular device; e.g. for a screen, a device unit is a <em>pixel</em>. For a printer, the device unit is defined by the resolution of the printer (usually given in <code>DPI:</code> dot-per-inch).</p>
<p>All <a class="el" href="classwx_d_c.html" title="A wxDC is a &quot;device context&quot; onto which graphics and text can be drawn.">wxDC</a> functions use instead <b>logical</b> units, unless where explicitly stated. Logical units are arbitrary units mapped to device units using the current mapping mode (see <a class="el" href="classwx_d_c.html#aa07ef94e2f3af5b64345c3f94333e86e" title="The mapping mode of the device context defines the unit of measurement used to convert logical units ...">wxDC::SetMapMode</a>).</p>
<p>This mechanism allows to reuse the same code which prints on e.g. a window on the screen to print on e.g. a paper.</p>
<h1><a class="anchor" id="dc_alpha_support"></a>
Support for Transparency / Alpha Channel</h1>
<p>In general <a class="el" href="classwx_d_c.html" title="A wxDC is a &quot;device context&quot; onto which graphics and text can be drawn.">wxDC</a> methods don't support alpha transparency and the alpha component of <a class="el" href="classwx_colour.html" title="A colour is an object representing a combination of Red, Green, and Blue (RGB) intensity values...">wxColour</a> is simply ignored and you need to use <a class="el" href="classwx_graphics_context.html" title="A wxGraphicsContext instance is the object that is drawn upon.">wxGraphicsContext</a> for full transparency support. There are, however, a few exceptions: first, under Mac OS X colours with alpha channel are supported in all the normal wxDC-derived classes as they use <a class="el" href="classwx_graphics_context.html" title="A wxGraphicsContext instance is the object that is drawn upon.">wxGraphicsContext</a> internally. Second, under all platforms <a class="el" href="classwx_s_v_g_file_d_c.html" title="A wxSVGFileDC is a device context onto which graphics and text can be drawn, and the output produced ...">wxSVGFileDC</a> also fully supports alpha channel. In both of these cases the instances of <a class="el" href="classwx_pen.html" title="A pen is a drawing tool for drawing outlines.">wxPen</a> or <a class="el" href="classwx_brush.html" title="A brush is a drawing tool for filling in areas.">wxBrush</a> that are built from <a class="el" href="classwx_colour.html" title="A colour is an object representing a combination of Red, Green, and Blue (RGB) intensity values...">wxColour</a> use the colour's alpha values when stroking or filling.</p>
<h1><a class="anchor" id="Support"></a>
for Transformation Matrix</h1>
<p>On some platforms (currently only under MSW and only on Windows NT, i.e. not Windows 9x/ME, systems) <a class="el" href="classwx_d_c.html" title="A wxDC is a &quot;device context&quot; onto which graphics and text can be drawn.">wxDC</a> has support for applying an arbitrary affine transformation matrix to its coordinate system. Call <a class="el" href="classwx_d_c.html#a00ff493fe7d976d9433f9adb559f3089" title="Check if the use of transformation matrix is supported by the current system.">CanUseTransformMatrix()</a> to check if this support is available and then call <a class="el" href="classwx_d_c.html#a6e3243fcb5d194ef5637f4bda11a49c3" title="Set the transformation matrix.">SetTransformMatrix()</a> if it is. If the transformation matrix is not supported, <a class="el" href="classwx_d_c.html#a6e3243fcb5d194ef5637f4bda11a49c3" title="Set the transformation matrix.">SetTransformMatrix()</a> always simply returns false and doesn't do anything.</p>
<h2></h2>
<div><span class="lib">Library:</span>&#160;&#160;<span class="lib_text"><a class="el" href="page_libs.html#page_libs_wxcore">wxCore</a></span></div><div><span class="category">Category:</span>&#160;&#160;<span class="category_text"><a class="el" href="group__group__class__dc.html">Device Contexts</a>, <a class="el" href="group__group__class__gdi.html">Graphics Device Interface (GDI)</a></span></div><dl class="section see"><dt>See Also</dt><dd><a class="el" href="overview_dc.html">Device Contexts</a>, <a class="el" href="classwx_graphics_context.html" title="A wxGraphicsContext instance is the object that is drawn upon.">wxGraphicsContext</a>, <a class="el" href="classwx_d_c_font_changer.html" title="wxDCFontChanger is a small helper class for setting a font on a wxDC and unsetting it automatically i...">wxDCFontChanger</a>, <a class="el" href="classwx_d_c_text_colour_changer.html" title="wxDCTextColourChanger is a small helper class for setting a foreground text colour on a wxDC and unse...">wxDCTextColourChanger</a>, <a class="el" href="classwx_d_c_pen_changer.html" title="wxDCPenChanger is a small helper class for setting a pen on a wxDC and unsetting it automatically in ...">wxDCPenChanger</a>, <a class="el" href="classwx_d_c_brush_changer.html" title="wxDCBrushChanger is a small helper class for setting a brush on a wxDC and unsetting it automatically...">wxDCBrushChanger</a>, <a class="el" href="classwx_d_c_clipper.html" title="wxDCClipper is a helper class for setting a clipping region on a wxDC during its lifetime.">wxDCClipper</a></dd></dl>
<dl class="todo"><dt><b><a class="el" href="todo.html#_todo000015">Todo:</a></b></dt><dd><p class="startdd">Precise definition of default/initial state. </p>
<p class="enddd">Pixelwise definition of operations (e.g. last point of a line not drawn). </p>
</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:ad1258b299c3a92344f1bdedbb7fc3acc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#ad1258b299c3a92344f1bdedbb7fc3acc">CopyAttributes</a> (const <a class="el" href="classwx_d_c.html">wxDC</a> &amp;dc)</td></tr>
<tr class="memdesc:ad1258b299c3a92344f1bdedbb7fc3acc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy attributes from another DC.  <a href="#ad1258b299c3a92344f1bdedbb7fc3acc"></a><br/></td></tr>
<tr class="separator:ad1258b299c3a92344f1bdedbb7fc3acc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04e455c37a61a0929fc8328c0fdbc5f4"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a04e455c37a61a0929fc8328c0fdbc5f4">GetDepth</a> () const </td></tr>
<tr class="memdesc:a04e455c37a61a0929fc8328c0fdbc5f4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the depth (number of bits/pixel) of this DC.  <a href="#a04e455c37a61a0929fc8328c0fdbc5f4"></a><br/></td></tr>
<tr class="separator:a04e455c37a61a0929fc8328c0fdbc5f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c6448e0f9b102f764964c74b46be1a9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_point.html">wxPoint</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a8c6448e0f9b102f764964c74b46be1a9">GetDeviceOrigin</a> () const </td></tr>
<tr class="memdesc:a8c6448e0f9b102f764964c74b46be1a9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the current device origin.  <a href="#a8c6448e0f9b102f764964c74b46be1a9"></a><br/></td></tr>
<tr class="separator:a8c6448e0f9b102f764964c74b46be1a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa63fac56c04221856bcae7e669a64af"><td class="memItemLeft" align="right" valign="top"><a class="el" href="interface_2wx_2dc_8h.html#a07398221a1f9dfecf424c90c5c777d54">wxRasterOperationMode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#aaa63fac56c04221856bcae7e669a64af">GetLogicalFunction</a> () const </td></tr>
<tr class="memdesc:aaa63fac56c04221856bcae7e669a64af"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the current logical function.  <a href="#aaa63fac56c04221856bcae7e669a64af"></a><br/></td></tr>
<tr class="separator:aaa63fac56c04221856bcae7e669a64af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a05edb97114a25ac879146b87a7c1d8f5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="interface_2wx_2dc_8h.html#a5a641b839b9ac2ff94514d0596f6e20a">wxMappingMode</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a05edb97114a25ac879146b87a7c1d8f5">GetMapMode</a> () const </td></tr>
<tr class="memdesc:a05edb97114a25ac879146b87a7c1d8f5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the current mapping mode for the device context.  <a href="#a05edb97114a25ac879146b87a7c1d8f5"></a><br/></td></tr>
<tr class="separator:a05edb97114a25ac879146b87a7c1d8f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f82f6b54ba2e6f348de7f779487b234"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a3f82f6b54ba2e6f348de7f779487b234">GetPixel</a> (<a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> x, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> y, <a class="el" href="classwx_colour.html">wxColour</a> *colour) const </td></tr>
<tr class="memdesc:a3f82f6b54ba2e6f348de7f779487b234"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets in <em>colour</em> the colour at the specified location.  <a href="#a3f82f6b54ba2e6f348de7f779487b234"></a><br/></td></tr>
<tr class="separator:a3f82f6b54ba2e6f348de7f779487b234"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad21c33ad6a0a0f3d620bc39633fa8268"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_size.html">wxSize</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#ad21c33ad6a0a0f3d620bc39633fa8268">GetPPI</a> () const </td></tr>
<tr class="memdesc:ad21c33ad6a0a0f3d620bc39633fa8268"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the resolution of the device in pixels per inch.  <a href="#ad21c33ad6a0a0f3d620bc39633fa8268"></a><br/></td></tr>
<tr class="separator:ad21c33ad6a0a0f3d620bc39633fa8268"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab4c22c7c7490a4aabc13dfd9e7a285a3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#ab4c22c7c7490a4aabc13dfd9e7a285a3">GetSize</a> (<a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> *width, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> *height) const </td></tr>
<tr class="memdesc:ab4c22c7c7490a4aabc13dfd9e7a285a3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the horizontal and vertical extent of this device context in <em>device</em> units.  <a href="#ab4c22c7c7490a4aabc13dfd9e7a285a3"></a><br/></td></tr>
<tr class="separator:ab4c22c7c7490a4aabc13dfd9e7a285a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a29c2c2fb580e287e31789c681445dc76"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_size.html">wxSize</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a29c2c2fb580e287e31789c681445dc76">GetSize</a> () const </td></tr>
<tr class="memdesc:a29c2c2fb580e287e31789c681445dc76"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.  <a href="#a29c2c2fb580e287e31789c681445dc76"></a><br/></td></tr>
<tr class="separator:a29c2c2fb580e287e31789c681445dc76"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a079324d560b2c88a150962101ff3a055"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a079324d560b2c88a150962101ff3a055">GetSizeMM</a> (<a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> *width, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> *height) const </td></tr>
<tr class="memdesc:a079324d560b2c88a150962101ff3a055"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the horizontal and vertical resolution in millimetres.  <a href="#a079324d560b2c88a150962101ff3a055"></a><br/></td></tr>
<tr class="separator:a079324d560b2c88a150962101ff3a055"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4365cedbd78180624a1b9abf1dad730d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_size.html">wxSize</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a4365cedbd78180624a1b9abf1dad730d">GetSizeMM</a> () const </td></tr>
<tr class="memdesc:a4365cedbd78180624a1b9abf1dad730d"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.  <a href="#a4365cedbd78180624a1b9abf1dad730d"></a><br/></td></tr>
<tr class="separator:a4365cedbd78180624a1b9abf1dad730d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8be86f17ac3fcf8925372825a9210120"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a8be86f17ac3fcf8925372825a9210120">GetUserScale</a> (double *x, double *y) const </td></tr>
<tr class="memdesc:a8be86f17ac3fcf8925372825a9210120"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the current user scale factor.  <a href="#a8be86f17ac3fcf8925372825a9210120"></a><br/></td></tr>
<tr class="separator:a8be86f17ac3fcf8925372825a9210120"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac2d04cf636651fbbc943d4236586e3a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#aac2d04cf636651fbbc943d4236586e3a">IsOk</a> () const </td></tr>
<tr class="memdesc:aac2d04cf636651fbbc943d4236586e3a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns <span class="literal">true</span> if the DC is ok to use.  <a href="#aac2d04cf636651fbbc943d4236586e3a"></a><br/></td></tr>
<tr class="separator:aac2d04cf636651fbbc943d4236586e3a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ada4defde484280fb24c4c47d24e0e8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a1ada4defde484280fb24c4c47d24e0e8">SetAxisOrientation</a> (bool xLeftRight, bool yBottomUp)</td></tr>
<tr class="memdesc:a1ada4defde484280fb24c4c47d24e0e8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the x and y axis orientation (i.e. the direction from lowest to highest values on the axis).  <a href="#a1ada4defde484280fb24c4c47d24e0e8"></a><br/></td></tr>
<tr class="separator:a1ada4defde484280fb24c4c47d24e0e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a1c7d7d07d1faf3f7b89698bde769f3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a0a1c7d7d07d1faf3f7b89698bde769f3">SetDeviceOrigin</a> (<a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> x, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> y)</td></tr>
<tr class="memdesc:a0a1c7d7d07d1faf3f7b89698bde769f3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the device origin (i.e. the origin in pixels after scaling has been applied).  <a href="#a0a1c7d7d07d1faf3f7b89698bde769f3"></a><br/></td></tr>
<tr class="separator:a0a1c7d7d07d1faf3f7b89698bde769f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aae8adce8cf260bf703b8e76784bd577d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#aae8adce8cf260bf703b8e76784bd577d">SetLogicalFunction</a> (<a class="el" href="interface_2wx_2dc_8h.html#a07398221a1f9dfecf424c90c5c777d54">wxRasterOperationMode</a> function)</td></tr>
<tr class="memdesc:aae8adce8cf260bf703b8e76784bd577d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the current logical function for the device context.  <a href="#aae8adce8cf260bf703b8e76784bd577d"></a><br/></td></tr>
<tr class="separator:aae8adce8cf260bf703b8e76784bd577d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa07ef94e2f3af5b64345c3f94333e86e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#aa07ef94e2f3af5b64345c3f94333e86e">SetMapMode</a> (<a class="el" href="interface_2wx_2dc_8h.html#a5a641b839b9ac2ff94514d0596f6e20a">wxMappingMode</a> mode)</td></tr>
<tr class="memdesc:aa07ef94e2f3af5b64345c3f94333e86e"><td class="mdescLeft">&#160;</td><td class="mdescRight">The mapping mode of the device context defines the unit of measurement used to convert <em>logical</em> units to <em>device</em> units.  <a href="#aa07ef94e2f3af5b64345c3f94333e86e"></a><br/></td></tr>
<tr class="separator:aa07ef94e2f3af5b64345c3f94333e86e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc58b0f4653159e713377d38c84a120f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#afc58b0f4653159e713377d38c84a120f">SetPalette</a> (const <a class="el" href="classwx_palette.html">wxPalette</a> &amp;palette)</td></tr>
<tr class="memdesc:afc58b0f4653159e713377d38c84a120f"><td class="mdescLeft">&#160;</td><td class="mdescRight">If this is a window DC or memory DC, assigns the given palette to the window or bitmap associated with the DC.  <a href="#afc58b0f4653159e713377d38c84a120f"></a><br/></td></tr>
<tr class="separator:afc58b0f4653159e713377d38c84a120f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a190e43cf66ef402aa67f759d20f22eb0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a190e43cf66ef402aa67f759d20f22eb0">SetUserScale</a> (double xScale, double yScale)</td></tr>
<tr class="memdesc:a190e43cf66ef402aa67f759d20f22eb0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the user scaling factor, useful for applications which require 'zooming'.  <a href="#a190e43cf66ef402aa67f759d20f22eb0"></a><br/></td></tr>
<tr class="separator:a190e43cf66ef402aa67f759d20f22eb0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab469dad2a356a9e03af8c530b70f181e"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#ab469dad2a356a9e03af8c530b70f181e">GetHandle</a> () const </td></tr>
<tr class="memdesc:ab469dad2a356a9e03af8c530b70f181e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a value that can be used as a handle to the native drawing context, if this <a class="el" href="classwx_d_c.html" title="A wxDC is a &quot;device context&quot; onto which graphics and text can be drawn.">wxDC</a> has something that could be thought of in that way.  <a href="#ab469dad2a356a9e03af8c530b70f181e"></a><br/></td></tr>
<tr class="separator:ab469dad2a356a9e03af8c530b70f181e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62f430b4ae4b4e0d91b8fba0ddd25658"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_bitmap.html">wxBitmap</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a62f430b4ae4b4e0d91b8fba0ddd25658">GetAsBitmap</a> (const <a class="el" href="classwx_rect.html">wxRect</a> *subrect=NULL) const </td></tr>
<tr class="memdesc:a62f430b4ae4b4e0d91b8fba0ddd25658"><td class="mdescLeft">&#160;</td><td class="mdescRight">If supported by the platform and the type of DC, fetch the contents of the DC, or a subset of it, as a bitmap.  <a href="#a62f430b4ae4b4e0d91b8fba0ddd25658"></a><br/></td></tr>
<tr class="separator:a62f430b4ae4b4e0d91b8fba0ddd25658"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aae1c728cdd2f43601f876b7d67067a39"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#aae1c728cdd2f43601f876b7d67067a39">SetLogicalScale</a> (double x, double y)</td></tr>
<tr class="separator:aae1c728cdd2f43601f876b7d67067a39"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab857836d90a4b12f2cc26488fda0e328"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#ab857836d90a4b12f2cc26488fda0e328">GetLogicalScale</a> (double *x, double *y) const </td></tr>
<tr class="separator:ab857836d90a4b12f2cc26488fda0e328"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4ce7dda4ff2f3ece524b8d538b346b6f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a4ce7dda4ff2f3ece524b8d538b346b6f">SetLogicalOrigin</a> (<a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> x, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> y)</td></tr>
<tr class="separator:a4ce7dda4ff2f3ece524b8d538b346b6f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae045e468451ef72c70b6b94d418ab2e6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#ae045e468451ef72c70b6b94d418ab2e6">GetLogicalOrigin</a> (<a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> *x, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> *y) const </td></tr>
<tr class="separator:ae045e468451ef72c70b6b94d418ab2e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2e0817f3073c1661d52351afff46c379"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_point.html">wxPoint</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a2e0817f3073c1661d52351afff46c379">GetLogicalOrigin</a> () const </td></tr>
<tr class="separator:a2e0817f3073c1661d52351afff46c379"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">Coordinate conversion functions</div></td></tr>
<tr class="memitem:af0c7b7b0f2736fbce53675f1420ed11c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#af0c7b7b0f2736fbce53675f1420ed11c">DeviceToLogicalX</a> (<a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> x) const </td></tr>
<tr class="memdesc:af0c7b7b0f2736fbce53675f1420ed11c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert <em>device</em> X coordinate to logical coordinate, using the current mapping mode, user scale factor, device origin and axis orientation.  <a href="#af0c7b7b0f2736fbce53675f1420ed11c"></a><br/></td></tr>
<tr class="separator:af0c7b7b0f2736fbce53675f1420ed11c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab0dc7fb1c079f1fc8ca7df8987e261fc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#ab0dc7fb1c079f1fc8ca7df8987e261fc">DeviceToLogicalXRel</a> (<a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> x) const </td></tr>
<tr class="memdesc:ab0dc7fb1c079f1fc8ca7df8987e261fc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert <em>device</em> X coordinate to relative logical coordinate, using the current mapping mode and user scale factor but ignoring the axis orientation.  <a href="#ab0dc7fb1c079f1fc8ca7df8987e261fc"></a><br/></td></tr>
<tr class="separator:ab0dc7fb1c079f1fc8ca7df8987e261fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac47fb25f72317712e74a7e2903ba704"><td class="memItemLeft" align="right" valign="top"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#aac47fb25f72317712e74a7e2903ba704">DeviceToLogicalY</a> (<a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> y) const </td></tr>
<tr class="memdesc:aac47fb25f72317712e74a7e2903ba704"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts <em>device</em> Y coordinate to logical coordinate, using the current mapping mode, user scale factor, device origin and axis orientation.  <a href="#aac47fb25f72317712e74a7e2903ba704"></a><br/></td></tr>
<tr class="separator:aac47fb25f72317712e74a7e2903ba704"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a57fa7329b7890bb56cc7e05fc83e033c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a57fa7329b7890bb56cc7e05fc83e033c">DeviceToLogicalYRel</a> (<a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> y) const </td></tr>
<tr class="memdesc:a57fa7329b7890bb56cc7e05fc83e033c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert <em>device</em> Y coordinate to relative logical coordinate, using the current mapping mode and user scale factor but ignoring the axis orientation.  <a href="#a57fa7329b7890bb56cc7e05fc83e033c"></a><br/></td></tr>
<tr class="separator:a57fa7329b7890bb56cc7e05fc83e033c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f551058c92d68efa61548d266f6a750"><td class="memItemLeft" align="right" valign="top"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a3f551058c92d68efa61548d266f6a750">LogicalToDeviceX</a> (<a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> x) const </td></tr>
<tr class="memdesc:a3f551058c92d68efa61548d266f6a750"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts logical X coordinate to device coordinate, using the current mapping mode, user scale factor, device origin and axis orientation.  <a href="#a3f551058c92d68efa61548d266f6a750"></a><br/></td></tr>
<tr class="separator:a3f551058c92d68efa61548d266f6a750"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adccbd84729882831bcbd0cb2c3e550a6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#adccbd84729882831bcbd0cb2c3e550a6">LogicalToDeviceXRel</a> (<a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> x) const </td></tr>
<tr class="memdesc:adccbd84729882831bcbd0cb2c3e550a6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts logical X coordinate to relative device coordinate, using the current mapping mode and user scale factor but ignoring the axis orientation.  <a href="#adccbd84729882831bcbd0cb2c3e550a6"></a><br/></td></tr>
<tr class="separator:adccbd84729882831bcbd0cb2c3e550a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b5bd5a823388f8b941406315c5eeafb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a9b5bd5a823388f8b941406315c5eeafb">LogicalToDeviceY</a> (<a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> y) const </td></tr>
<tr class="memdesc:a9b5bd5a823388f8b941406315c5eeafb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts logical Y coordinate to device coordinate, using the current mapping mode, user scale factor, device origin and axis orientation.  <a href="#a9b5bd5a823388f8b941406315c5eeafb"></a><br/></td></tr>
<tr class="separator:a9b5bd5a823388f8b941406315c5eeafb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aea082fd9d45adb6783542493439b73dc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#aea082fd9d45adb6783542493439b73dc">LogicalToDeviceYRel</a> (<a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> y) const </td></tr>
<tr class="memdesc:aea082fd9d45adb6783542493439b73dc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts logical Y coordinate to relative device coordinate, using the current mapping mode and user scale factor but ignoring the axis orientation.  <a href="#aea082fd9d45adb6783542493439b73dc"></a><br/></td></tr>
<tr class="separator:aea082fd9d45adb6783542493439b73dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">Drawing functions</div></td></tr>
<tr class="memitem:acf301dfd75b0f31d969ecb9daec21e85"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#acf301dfd75b0f31d969ecb9daec21e85">Clear</a> ()</td></tr>
<tr class="memdesc:acf301dfd75b0f31d969ecb9daec21e85"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears the device context using the current background brush.  <a href="#acf301dfd75b0f31d969ecb9daec21e85"></a><br/></td></tr>
<tr class="separator:acf301dfd75b0f31d969ecb9daec21e85"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a348f8cd1ba0ffcf62b8145628b0a5492"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a348f8cd1ba0ffcf62b8145628b0a5492">DrawArc</a> (<a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> xStart, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> yStart, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> xEnd, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> yEnd, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> xc, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> yc)</td></tr>
<tr class="memdesc:a348f8cd1ba0ffcf62b8145628b0a5492"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws an arc from the given start to the given end point.  <a href="#a348f8cd1ba0ffcf62b8145628b0a5492"></a><br/></td></tr>
<tr class="separator:a348f8cd1ba0ffcf62b8145628b0a5492"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe49b852e96ff500ef6333bfc044890f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#abe49b852e96ff500ef6333bfc044890f">DrawArc</a> (const <a class="el" href="classwx_point.html">wxPoint</a> &amp;ptStart, const <a class="el" href="classwx_point.html">wxPoint</a> &amp;ptEnd, const <a class="el" href="classwx_point.html">wxPoint</a> &amp;centre)</td></tr>
<tr class="memdesc:abe49b852e96ff500ef6333bfc044890f"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.  <a href="#abe49b852e96ff500ef6333bfc044890f"></a><br/></td></tr>
<tr class="separator:abe49b852e96ff500ef6333bfc044890f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af982eb2d3b10c5617ef3559d51a1defc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#af982eb2d3b10c5617ef3559d51a1defc">DrawBitmap</a> (const <a class="el" href="classwx_bitmap.html">wxBitmap</a> &amp;bitmap, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> x, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> y, bool useMask=false)</td></tr>
<tr class="memdesc:af982eb2d3b10c5617ef3559d51a1defc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw a bitmap on the device context at the specified point.  <a href="#af982eb2d3b10c5617ef3559d51a1defc"></a><br/></td></tr>
<tr class="separator:af982eb2d3b10c5617ef3559d51a1defc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9449053951eceeb7984125cd4a694fd8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a9449053951eceeb7984125cd4a694fd8">DrawBitmap</a> (const <a class="el" href="classwx_bitmap.html">wxBitmap</a> &amp;bmp, const <a class="el" href="classwx_point.html">wxPoint</a> &amp;pt, bool useMask=false)</td></tr>
<tr class="memdesc:a9449053951eceeb7984125cd4a694fd8"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.  <a href="#a9449053951eceeb7984125cd4a694fd8"></a><br/></td></tr>
<tr class="separator:a9449053951eceeb7984125cd4a694fd8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8ad34eda4c0b75ca905d466c6328fe91"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a8ad34eda4c0b75ca905d466c6328fe91">DrawCheckMark</a> (<a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> x, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> y, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> width, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> height)</td></tr>
<tr class="memdesc:a8ad34eda4c0b75ca905d466c6328fe91"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a check mark inside the given rectangle.  <a href="#a8ad34eda4c0b75ca905d466c6328fe91"></a><br/></td></tr>
<tr class="separator:a8ad34eda4c0b75ca905d466c6328fe91"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a14fe0d838374721e98d6254cdd1484a6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a14fe0d838374721e98d6254cdd1484a6">DrawCheckMark</a> (const <a class="el" href="classwx_rect.html">wxRect</a> &amp;rect)</td></tr>
<tr class="memdesc:a14fe0d838374721e98d6254cdd1484a6"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.  <a href="#a14fe0d838374721e98d6254cdd1484a6"></a><br/></td></tr>
<tr class="separator:a14fe0d838374721e98d6254cdd1484a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62fd1c810d532e53a25e3b2e6fd621f7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a62fd1c810d532e53a25e3b2e6fd621f7">DrawCircle</a> (<a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> x, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> y, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> radius)</td></tr>
<tr class="memdesc:a62fd1c810d532e53a25e3b2e6fd621f7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a circle with the given centre and radius.  <a href="#a62fd1c810d532e53a25e3b2e6fd621f7"></a><br/></td></tr>
<tr class="separator:a62fd1c810d532e53a25e3b2e6fd621f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a560192c6dcb33c5bde404f3647234657"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a560192c6dcb33c5bde404f3647234657">DrawCircle</a> (const <a class="el" href="classwx_point.html">wxPoint</a> &amp;pt, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> radius)</td></tr>
<tr class="memdesc:a560192c6dcb33c5bde404f3647234657"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.  <a href="#a560192c6dcb33c5bde404f3647234657"></a><br/></td></tr>
<tr class="separator:a560192c6dcb33c5bde404f3647234657"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a340697f08f5fd08d9db383ffcef642c2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a340697f08f5fd08d9db383ffcef642c2">DrawEllipse</a> (<a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> x, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> y, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> width, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> height)</td></tr>
<tr class="memdesc:a340697f08f5fd08d9db383ffcef642c2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws an ellipse contained in the rectangle specified either with the given top left corner and the given size or directly.  <a href="#a340697f08f5fd08d9db383ffcef642c2"></a><br/></td></tr>
<tr class="separator:a340697f08f5fd08d9db383ffcef642c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8a7a8478797c599e91125168669a5f36"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a8a7a8478797c599e91125168669a5f36">DrawEllipse</a> (const <a class="el" href="classwx_point.html">wxPoint</a> &amp;pt, const <a class="el" href="classwx_size.html">wxSize</a> &amp;size)</td></tr>
<tr class="memdesc:a8a7a8478797c599e91125168669a5f36"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.  <a href="#a8a7a8478797c599e91125168669a5f36"></a><br/></td></tr>
<tr class="separator:a8a7a8478797c599e91125168669a5f36"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a637167c299d7e58832cf9c71f6f64fd5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a637167c299d7e58832cf9c71f6f64fd5">DrawEllipse</a> (const <a class="el" href="classwx_rect.html">wxRect</a> &amp;rect)</td></tr>
<tr class="memdesc:a637167c299d7e58832cf9c71f6f64fd5"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.  <a href="#a637167c299d7e58832cf9c71f6f64fd5"></a><br/></td></tr>
<tr class="separator:a637167c299d7e58832cf9c71f6f64fd5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a821e0b82707ca0379273cca67913da06"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a821e0b82707ca0379273cca67913da06">DrawEllipticArc</a> (<a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> x, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> y, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> width, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> height, double start, double end)</td></tr>
<tr class="memdesc:a821e0b82707ca0379273cca67913da06"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws an arc of an ellipse.  <a href="#a821e0b82707ca0379273cca67913da06"></a><br/></td></tr>
<tr class="separator:a821e0b82707ca0379273cca67913da06"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f18a7aee18b69c8721aec67ea0a3532"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a5f18a7aee18b69c8721aec67ea0a3532">DrawEllipticArc</a> (const <a class="el" href="classwx_point.html">wxPoint</a> &amp;pt, const <a class="el" href="classwx_size.html">wxSize</a> &amp;sz, double sa, double ea)</td></tr>
<tr class="memdesc:a5f18a7aee18b69c8721aec67ea0a3532"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.  <a href="#a5f18a7aee18b69c8721aec67ea0a3532"></a><br/></td></tr>
<tr class="separator:a5f18a7aee18b69c8721aec67ea0a3532"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a890d011a03308a28039d4940dd04264e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a890d011a03308a28039d4940dd04264e">DrawIcon</a> (const <a class="el" href="classwx_icon.html">wxIcon</a> &amp;icon, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> x, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> y)</td></tr>
<tr class="memdesc:a890d011a03308a28039d4940dd04264e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw an icon on the display (does nothing if the device context is PostScript).  <a href="#a890d011a03308a28039d4940dd04264e"></a><br/></td></tr>
<tr class="separator:a890d011a03308a28039d4940dd04264e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5719d8c36a03d1679828c5d89d33dd67"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a5719d8c36a03d1679828c5d89d33dd67">DrawIcon</a> (const <a class="el" href="classwx_icon.html">wxIcon</a> &amp;icon, const <a class="el" href="classwx_point.html">wxPoint</a> &amp;pt)</td></tr>
<tr class="memdesc:a5719d8c36a03d1679828c5d89d33dd67"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.  <a href="#a5719d8c36a03d1679828c5d89d33dd67"></a><br/></td></tr>
<tr class="separator:a5719d8c36a03d1679828c5d89d33dd67"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae28d7aa2e17a850f4ca15c042a870152"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#ae28d7aa2e17a850f4ca15c042a870152">DrawLabel</a> (const <a class="el" href="classwx_string.html">wxString</a> &amp;text, const <a class="el" href="classwx_bitmap.html">wxBitmap</a> &amp;bitmap, const <a class="el" href="classwx_rect.html">wxRect</a> &amp;rect, int alignment=<a class="el" href="defs_8h.html#a543dd017a172dc316253a8a1f351dde9a3eb809646c09140e9cd10bc8174a4641">wxALIGN_LEFT</a>|<a class="el" href="defs_8h.html#a543dd017a172dc316253a8a1f351dde9a441672dc885ca324345db556f563c026">wxALIGN_TOP</a>, int indexAccel=-1, <a class="el" href="classwx_rect.html">wxRect</a> *rectBounding=NULL)</td></tr>
<tr class="memdesc:ae28d7aa2e17a850f4ca15c042a870152"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draw optional bitmap and the text into the given rectangle and aligns it as specified by alignment parameter; it also will emphasize the character with the given index if it is != -1 and return the bounding rectangle if required.  <a href="#ae28d7aa2e17a850f4ca15c042a870152"></a><br/></td></tr>
<tr class="separator:ae28d7aa2e17a850f4ca15c042a870152"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9e4ddef5a10fdcee96ff9ef2fded9ee3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a9e4ddef5a10fdcee96ff9ef2fded9ee3">DrawLabel</a> (const <a class="el" href="classwx_string.html">wxString</a> &amp;text, const <a class="el" href="classwx_rect.html">wxRect</a> &amp;rect, int alignment=<a class="el" href="defs_8h.html#a543dd017a172dc316253a8a1f351dde9a3eb809646c09140e9cd10bc8174a4641">wxALIGN_LEFT</a>|<a class="el" href="defs_8h.html#a543dd017a172dc316253a8a1f351dde9a441672dc885ca324345db556f563c026">wxALIGN_TOP</a>, int indexAccel=-1)</td></tr>
<tr class="memdesc:a9e4ddef5a10fdcee96ff9ef2fded9ee3"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.  <a href="#a9e4ddef5a10fdcee96ff9ef2fded9ee3"></a><br/></td></tr>
<tr class="separator:a9e4ddef5a10fdcee96ff9ef2fded9ee3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a12f2c236d4d320acec0bc6fe20e8399d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a12f2c236d4d320acec0bc6fe20e8399d">DrawLine</a> (<a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> x1, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> y1, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> x2, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> y2)</td></tr>
<tr class="memdesc:a12f2c236d4d320acec0bc6fe20e8399d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a line from the first point to the second.  <a href="#a12f2c236d4d320acec0bc6fe20e8399d"></a><br/></td></tr>
<tr class="separator:a12f2c236d4d320acec0bc6fe20e8399d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a34f84b8b73cf782e6d9ab0f629598b6f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a34f84b8b73cf782e6d9ab0f629598b6f">DrawLine</a> (const <a class="el" href="classwx_point.html">wxPoint</a> &amp;pt1, const <a class="el" href="classwx_point.html">wxPoint</a> &amp;pt2)</td></tr>
<tr class="memdesc:a34f84b8b73cf782e6d9ab0f629598b6f"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.  <a href="#a34f84b8b73cf782e6d9ab0f629598b6f"></a><br/></td></tr>
<tr class="separator:a34f84b8b73cf782e6d9ab0f629598b6f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abae438499fdfdc102e7be7629e8f8c46"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#abae438499fdfdc102e7be7629e8f8c46">DrawLines</a> (int n, const <a class="el" href="classwx_point.html">wxPoint</a> points[], <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> xoffset=0, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> yoffset=0)</td></tr>
<tr class="memdesc:abae438499fdfdc102e7be7629e8f8c46"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws lines using an array of points of size <em>n</em> adding the optional offset coordinate.  <a href="#abae438499fdfdc102e7be7629e8f8c46"></a><br/></td></tr>
<tr class="separator:abae438499fdfdc102e7be7629e8f8c46"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a23cbb356e46890c99fcb5304d077f888"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a23cbb356e46890c99fcb5304d077f888">DrawLines</a> (const wxPointList *points, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> xoffset=0, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> yoffset=0)</td></tr>
<tr class="memdesc:a23cbb356e46890c99fcb5304d077f888"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method uses a list of wxPoints, adding the optional offset coordinate.  <a href="#a23cbb356e46890c99fcb5304d077f888"></a><br/></td></tr>
<tr class="separator:a23cbb356e46890c99fcb5304d077f888"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8380aab866e8f3947e0898cf08969d9f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a8380aab866e8f3947e0898cf08969d9f">DrawPoint</a> (<a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> x, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> y)</td></tr>
<tr class="memdesc:a8380aab866e8f3947e0898cf08969d9f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a point using the color of the current pen.  <a href="#a8380aab866e8f3947e0898cf08969d9f"></a><br/></td></tr>
<tr class="separator:a8380aab866e8f3947e0898cf08969d9f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b75ad987adc0c01d13c34db101b3539"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a9b75ad987adc0c01d13c34db101b3539">DrawPoint</a> (const <a class="el" href="classwx_point.html">wxPoint</a> &amp;pt)</td></tr>
<tr class="memdesc:a9b75ad987adc0c01d13c34db101b3539"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.  <a href="#a9b75ad987adc0c01d13c34db101b3539"></a><br/></td></tr>
<tr class="separator:a9b75ad987adc0c01d13c34db101b3539"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a86e50a20fa6b634b9ce590ce8a900e1c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a86e50a20fa6b634b9ce590ce8a900e1c">DrawPolygon</a> (int n, const <a class="el" href="classwx_point.html">wxPoint</a> points[], <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> xoffset=0, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> yoffset=0, <a class="el" href="gdicmn_8h.html#a771e5c5703eb406b19fb50bb718eee05">wxPolygonFillMode</a> fill_style=<a class="el" href="gdicmn_8h.html#a771e5c5703eb406b19fb50bb718eee05a8845ab62cc357dfde27baf7ebf10ffac">wxODDEVEN_RULE</a>)</td></tr>
<tr class="memdesc:a86e50a20fa6b634b9ce590ce8a900e1c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a filled polygon using an array of points of size <em>n</em>, adding the optional offset coordinate.  <a href="#a86e50a20fa6b634b9ce590ce8a900e1c"></a><br/></td></tr>
<tr class="separator:a86e50a20fa6b634b9ce590ce8a900e1c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e5808ba5b740f0d4df5da02b05ce5ca"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a6e5808ba5b740f0d4df5da02b05ce5ca">DrawPolygon</a> (const wxPointList *points, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> xoffset=0, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> yoffset=0, <a class="el" href="gdicmn_8h.html#a771e5c5703eb406b19fb50bb718eee05">wxPolygonFillMode</a> fill_style=<a class="el" href="gdicmn_8h.html#a771e5c5703eb406b19fb50bb718eee05a8845ab62cc357dfde27baf7ebf10ffac">wxODDEVEN_RULE</a>)</td></tr>
<tr class="memdesc:a6e5808ba5b740f0d4df5da02b05ce5ca"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method draws a filled polygon using a list of wxPoints, adding the optional offset coordinate.  <a href="#a6e5808ba5b740f0d4df5da02b05ce5ca"></a><br/></td></tr>
<tr class="separator:a6e5808ba5b740f0d4df5da02b05ce5ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae760da96008debe42e18195d8ac8df3d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#ae760da96008debe42e18195d8ac8df3d">DrawPolyPolygon</a> (int n, const int count[], const <a class="el" href="classwx_point.html">wxPoint</a> points[], <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> xoffset=0, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> yoffset=0, <a class="el" href="gdicmn_8h.html#a771e5c5703eb406b19fb50bb718eee05">wxPolygonFillMode</a> fill_style=<a class="el" href="gdicmn_8h.html#a771e5c5703eb406b19fb50bb718eee05a8845ab62cc357dfde27baf7ebf10ffac">wxODDEVEN_RULE</a>)</td></tr>
<tr class="memdesc:ae760da96008debe42e18195d8ac8df3d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws two or more filled polygons using an array of <em>points</em>, adding the optional offset coordinates.  <a href="#ae760da96008debe42e18195d8ac8df3d"></a><br/></td></tr>
<tr class="separator:ae760da96008debe42e18195d8ac8df3d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a918b9ae3447a2fc13f4c38c628a45c01"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a918b9ae3447a2fc13f4c38c628a45c01">DrawRectangle</a> (<a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> x, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> y, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> width, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> height)</td></tr>
<tr class="memdesc:a918b9ae3447a2fc13f4c38c628a45c01"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a rectangle with the given top left corner, and with the given size.  <a href="#a918b9ae3447a2fc13f4c38c628a45c01"></a><br/></td></tr>
<tr class="separator:a918b9ae3447a2fc13f4c38c628a45c01"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5499c7359d84871343e4875902c06a69"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a5499c7359d84871343e4875902c06a69">DrawRectangle</a> (const <a class="el" href="classwx_point.html">wxPoint</a> &amp;pt, const <a class="el" href="classwx_size.html">wxSize</a> &amp;sz)</td></tr>
<tr class="memdesc:a5499c7359d84871343e4875902c06a69"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.  <a href="#a5499c7359d84871343e4875902c06a69"></a><br/></td></tr>
<tr class="separator:a5499c7359d84871343e4875902c06a69"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae0a8c6fe2eb45f6f03339b049db6b2b8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#ae0a8c6fe2eb45f6f03339b049db6b2b8">DrawRectangle</a> (const <a class="el" href="classwx_rect.html">wxRect</a> &amp;rect)</td></tr>
<tr class="memdesc:ae0a8c6fe2eb45f6f03339b049db6b2b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.  <a href="#ae0a8c6fe2eb45f6f03339b049db6b2b8"></a><br/></td></tr>
<tr class="separator:ae0a8c6fe2eb45f6f03339b049db6b2b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aae5aff11939d5c55ab5c50987e4f2521"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#aae5aff11939d5c55ab5c50987e4f2521">DrawRotatedText</a> (const <a class="el" href="classwx_string.html">wxString</a> &amp;text, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> x, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> y, double angle)</td></tr>
<tr class="memdesc:aae5aff11939d5c55ab5c50987e4f2521"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws the text rotated by <em>angle</em> degrees (positive angles are counterclockwise; the full angle is 360 degrees).  <a href="#aae5aff11939d5c55ab5c50987e4f2521"></a><br/></td></tr>
<tr class="separator:aae5aff11939d5c55ab5c50987e4f2521"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a791bc8502da484f1d3163e360cf91e8a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a791bc8502da484f1d3163e360cf91e8a">DrawRotatedText</a> (const <a class="el" href="classwx_string.html">wxString</a> &amp;text, const <a class="el" href="classwx_point.html">wxPoint</a> &amp;point, double angle)</td></tr>
<tr class="memdesc:a791bc8502da484f1d3163e360cf91e8a"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.  <a href="#a791bc8502da484f1d3163e360cf91e8a"></a><br/></td></tr>
<tr class="separator:a791bc8502da484f1d3163e360cf91e8a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a94db29e2a40a16dc19ac852d05cd65b0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a94db29e2a40a16dc19ac852d05cd65b0">DrawRoundedRectangle</a> (<a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> x, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> y, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> width, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> height, double radius)</td></tr>
<tr class="memdesc:a94db29e2a40a16dc19ac852d05cd65b0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a rectangle with the given top left corner, and with the given size.  <a href="#a94db29e2a40a16dc19ac852d05cd65b0"></a><br/></td></tr>
<tr class="separator:a94db29e2a40a16dc19ac852d05cd65b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9e4b8ab031042016d434606eb7744c9c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a9e4b8ab031042016d434606eb7744c9c">DrawRoundedRectangle</a> (const <a class="el" href="classwx_point.html">wxPoint</a> &amp;pt, const <a class="el" href="classwx_size.html">wxSize</a> &amp;sz, double radius)</td></tr>
<tr class="memdesc:a9e4b8ab031042016d434606eb7744c9c"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.  <a href="#a9e4b8ab031042016d434606eb7744c9c"></a><br/></td></tr>
<tr class="separator:a9e4b8ab031042016d434606eb7744c9c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a926fb2251b9185e58f15c41f680aaf2a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a926fb2251b9185e58f15c41f680aaf2a">DrawRoundedRectangle</a> (const <a class="el" href="classwx_rect.html">wxRect</a> &amp;rect, double radius)</td></tr>
<tr class="memdesc:a926fb2251b9185e58f15c41f680aaf2a"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.  <a href="#a926fb2251b9185e58f15c41f680aaf2a"></a><br/></td></tr>
<tr class="separator:a926fb2251b9185e58f15c41f680aaf2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad72d38c75ac6b3f80c1f957dd94089fa"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#ad72d38c75ac6b3f80c1f957dd94089fa">DrawSpline</a> (int n, const <a class="el" href="classwx_point.html">wxPoint</a> points[])</td></tr>
<tr class="memdesc:ad72d38c75ac6b3f80c1f957dd94089fa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a spline between all given points using the current pen.  <a href="#ad72d38c75ac6b3f80c1f957dd94089fa"></a><br/></td></tr>
<tr class="separator:ad72d38c75ac6b3f80c1f957dd94089fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aacfb4bab651f9eb572e42cd2870c40c6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#aacfb4bab651f9eb572e42cd2870c40c6">DrawSpline</a> (const wxPointList *points)</td></tr>
<tr class="memdesc:aacfb4bab651f9eb572e42cd2870c40c6"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.  <a href="#aacfb4bab651f9eb572e42cd2870c40c6"></a><br/></td></tr>
<tr class="separator:aacfb4bab651f9eb572e42cd2870c40c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a60c358ff3cfbf2b6f6d1918b527de98a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a60c358ff3cfbf2b6f6d1918b527de98a">DrawSpline</a> (<a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> x1, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> y1, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> x2, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> y2, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> x3, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> y3)</td></tr>
<tr class="memdesc:a60c358ff3cfbf2b6f6d1918b527de98a"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.  <a href="#a60c358ff3cfbf2b6f6d1918b527de98a"></a><br/></td></tr>
<tr class="separator:a60c358ff3cfbf2b6f6d1918b527de98a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11d35ce34fccb57b0efc7dc91168660b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a11d35ce34fccb57b0efc7dc91168660b">DrawText</a> (const <a class="el" href="classwx_string.html">wxString</a> &amp;text, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> x, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> y)</td></tr>
<tr class="memdesc:a11d35ce34fccb57b0efc7dc91168660b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws a text string at the specified point, using the current text font, and the current text foreground and background colours.  <a href="#a11d35ce34fccb57b0efc7dc91168660b"></a><br/></td></tr>
<tr class="separator:a11d35ce34fccb57b0efc7dc91168660b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17f5674c449449b730c63f773534d721"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a17f5674c449449b730c63f773534d721">DrawText</a> (const <a class="el" href="classwx_string.html">wxString</a> &amp;text, const <a class="el" href="classwx_point.html">wxPoint</a> &amp;pt)</td></tr>
<tr class="memdesc:a17f5674c449449b730c63f773534d721"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.  <a href="#a17f5674c449449b730c63f773534d721"></a><br/></td></tr>
<tr class="separator:a17f5674c449449b730c63f773534d721"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a323802ed579056fce98220f5d1778076"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a323802ed579056fce98220f5d1778076">GradientFillConcentric</a> (const <a class="el" href="classwx_rect.html">wxRect</a> &amp;rect, const <a class="el" href="classwx_colour.html">wxColour</a> &amp;initialColour, const <a class="el" href="classwx_colour.html">wxColour</a> &amp;destColour)</td></tr>
<tr class="memdesc:a323802ed579056fce98220f5d1778076"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fill the area specified by rect with a radial gradient, starting from <em>initialColour</em> at the centre of the circle and fading to <em>destColour</em> on the circle outside.  <a href="#a323802ed579056fce98220f5d1778076"></a><br/></td></tr>
<tr class="separator:a323802ed579056fce98220f5d1778076"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f0cd1850aefeda55b25cf56d55ac495"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a2f0cd1850aefeda55b25cf56d55ac495">GradientFillConcentric</a> (const <a class="el" href="classwx_rect.html">wxRect</a> &amp;rect, const <a class="el" href="classwx_colour.html">wxColour</a> &amp;initialColour, const <a class="el" href="classwx_colour.html">wxColour</a> &amp;destColour, const <a class="el" href="classwx_point.html">wxPoint</a> &amp;circleCenter)</td></tr>
<tr class="memdesc:a2f0cd1850aefeda55b25cf56d55ac495"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fill the area specified by rect with a radial gradient, starting from <em>initialColour</em> at the centre of the circle and fading to <em>destColour</em> on the circle outside.  <a href="#a2f0cd1850aefeda55b25cf56d55ac495"></a><br/></td></tr>
<tr class="separator:a2f0cd1850aefeda55b25cf56d55ac495"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9cfbde2fcde06ffacf323f3a9dd1b020"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a9cfbde2fcde06ffacf323f3a9dd1b020">GradientFillLinear</a> (const <a class="el" href="classwx_rect.html">wxRect</a> &amp;rect, const <a class="el" href="classwx_colour.html">wxColour</a> &amp;initialColour, const <a class="el" href="classwx_colour.html">wxColour</a> &amp;destColour, <a class="el" href="defs_8h.html#ac0f30319732dcceda470516918ff3556">wxDirection</a> nDirection=<a class="el" href="defs_8h.html#ac0f30319732dcceda470516918ff3556a2b2d18b748d21a493f82e589f1a05746">wxRIGHT</a>)</td></tr>
<tr class="memdesc:a9cfbde2fcde06ffacf323f3a9dd1b020"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fill the area specified by <em>rect</em> with a linear gradient, starting from <em>initialColour</em> and eventually fading to <em>destColour</em>.  <a href="#a9cfbde2fcde06ffacf323f3a9dd1b020"></a><br/></td></tr>
<tr class="separator:a9cfbde2fcde06ffacf323f3a9dd1b020"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af510e22ffc274d3d3b29659941f2b5a9"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#af510e22ffc274d3d3b29659941f2b5a9">FloodFill</a> (<a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> x, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> y, const <a class="el" href="classwx_colour.html">wxColour</a> &amp;colour, <a class="el" href="interface_2wx_2dc_8h.html#a7ad228eb95f51d70574644e99d07dc8c">wxFloodFillStyle</a> style=<a class="el" href="interface_2wx_2dc_8h.html#a7ad228eb95f51d70574644e99d07dc8ca7f2a8f896e5c592b1eb96174bc9a9a8a">wxFLOOD_SURFACE</a>)</td></tr>
<tr class="memdesc:af510e22ffc274d3d3b29659941f2b5a9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Flood fills the device context starting from the given point, using the current brush colour, and using a style:  <a href="#af510e22ffc274d3d3b29659941f2b5a9"></a><br/></td></tr>
<tr class="separator:af510e22ffc274d3d3b29659941f2b5a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa3ad38fdcd0e731af94bd9c3189e72e9"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#aa3ad38fdcd0e731af94bd9c3189e72e9">FloodFill</a> (const <a class="el" href="classwx_point.html">wxPoint</a> &amp;pt, const <a class="el" href="classwx_colour.html">wxColour</a> &amp;col, <a class="el" href="interface_2wx_2dc_8h.html#a7ad228eb95f51d70574644e99d07dc8c">wxFloodFillStyle</a> style=<a class="el" href="interface_2wx_2dc_8h.html#a7ad228eb95f51d70574644e99d07dc8ca7f2a8f896e5c592b1eb96174bc9a9a8a">wxFLOOD_SURFACE</a>)</td></tr>
<tr class="memdesc:aa3ad38fdcd0e731af94bd9c3189e72e9"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.  <a href="#aa3ad38fdcd0e731af94bd9c3189e72e9"></a><br/></td></tr>
<tr class="separator:aa3ad38fdcd0e731af94bd9c3189e72e9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af8bab4cd7ffc3050974236a32afa1e1d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#af8bab4cd7ffc3050974236a32afa1e1d">CrossHair</a> (<a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> x, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> y)</td></tr>
<tr class="memdesc:af8bab4cd7ffc3050974236a32afa1e1d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Displays a cross hair using the current pen.  <a href="#af8bab4cd7ffc3050974236a32afa1e1d"></a><br/></td></tr>
<tr class="separator:af8bab4cd7ffc3050974236a32afa1e1d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad5ad1b17105668a9cba6f4f6cc902a02"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#ad5ad1b17105668a9cba6f4f6cc902a02">CrossHair</a> (const <a class="el" href="classwx_point.html">wxPoint</a> &amp;pt)</td></tr>
<tr class="memdesc:ad5ad1b17105668a9cba6f4f6cc902a02"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.  <a href="#ad5ad1b17105668a9cba6f4f6cc902a02"></a><br/></td></tr>
<tr class="separator:ad5ad1b17105668a9cba6f4f6cc902a02"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">Clipping region functions</div></td></tr>
<tr class="memitem:ae0b0fc593c4559b9ac70e121bd28e3b4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#ae0b0fc593c4559b9ac70e121bd28e3b4">DestroyClippingRegion</a> ()</td></tr>
<tr class="memdesc:ae0b0fc593c4559b9ac70e121bd28e3b4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destroys the current clipping region so that none of the DC is clipped.  <a href="#ae0b0fc593c4559b9ac70e121bd28e3b4"></a><br/></td></tr>
<tr class="separator:ae0b0fc593c4559b9ac70e121bd28e3b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad5e374115511157ceed3d4c983a4dd7f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#ad5e374115511157ceed3d4c983a4dd7f">GetClippingBox</a> (<a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> *x, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> *y, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> *width, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> *height) const </td></tr>
<tr class="memdesc:ad5e374115511157ceed3d4c983a4dd7f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the rectangle surrounding the current clipping region.  <a href="#ad5e374115511157ceed3d4c983a4dd7f"></a><br/></td></tr>
<tr class="separator:ad5e374115511157ceed3d4c983a4dd7f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a21ce8b27db0da5d68b8571d0ff39114b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a21ce8b27db0da5d68b8571d0ff39114b">SetClippingRegion</a> (<a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> x, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> y, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> width, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> height)</td></tr>
<tr class="memdesc:a21ce8b27db0da5d68b8571d0ff39114b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the clipping region for this device context to the intersection of the given region described by the parameters of this method and the previously set clipping region.  <a href="#a21ce8b27db0da5d68b8571d0ff39114b"></a><br/></td></tr>
<tr class="separator:a21ce8b27db0da5d68b8571d0ff39114b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a800f7ca2a4a7588ff68d808eb06191e1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a800f7ca2a4a7588ff68d808eb06191e1">SetClippingRegion</a> (const <a class="el" href="classwx_point.html">wxPoint</a> &amp;pt, const <a class="el" href="classwx_size.html">wxSize</a> &amp;sz)</td></tr>
<tr class="memdesc:a800f7ca2a4a7588ff68d808eb06191e1"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.  <a href="#a800f7ca2a4a7588ff68d808eb06191e1"></a><br/></td></tr>
<tr class="separator:a800f7ca2a4a7588ff68d808eb06191e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a397f713db57f7999b5851a5b25dd84"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a9a397f713db57f7999b5851a5b25dd84">SetClippingRegion</a> (const <a class="el" href="classwx_rect.html">wxRect</a> &amp;rect)</td></tr>
<tr class="memdesc:a9a397f713db57f7999b5851a5b25dd84"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.  <a href="#a9a397f713db57f7999b5851a5b25dd84"></a><br/></td></tr>
<tr class="separator:a9a397f713db57f7999b5851a5b25dd84"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a382a46c105ebad94e848e74e9cc0b4b1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a382a46c105ebad94e848e74e9cc0b4b1">SetDeviceClippingRegion</a> (const <a class="el" href="classwx_region.html">wxRegion</a> &amp;region)</td></tr>
<tr class="memdesc:a382a46c105ebad94e848e74e9cc0b4b1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the clipping region for this device context.  <a href="#a382a46c105ebad94e848e74e9cc0b4b1"></a><br/></td></tr>
<tr class="separator:a382a46c105ebad94e848e74e9cc0b4b1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">Text/character extent functions</div></td></tr>
<tr class="memitem:a6faa7a475c43b2305e9ffebac5259d15"><td class="memItemLeft" align="right" valign="top"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a6faa7a475c43b2305e9ffebac5259d15">GetCharHeight</a> () const </td></tr>
<tr class="memdesc:a6faa7a475c43b2305e9ffebac5259d15"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the character height of the currently set font.  <a href="#a6faa7a475c43b2305e9ffebac5259d15"></a><br/></td></tr>
<tr class="separator:a6faa7a475c43b2305e9ffebac5259d15"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2d854a964cbabc521ac6a84b0b1ffe20"><td class="memItemLeft" align="right" valign="top"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a2d854a964cbabc521ac6a84b0b1ffe20">GetCharWidth</a> () const </td></tr>
<tr class="memdesc:a2d854a964cbabc521ac6a84b0b1ffe20"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the average character width of the currently set font.  <a href="#a2d854a964cbabc521ac6a84b0b1ffe20"></a><br/></td></tr>
<tr class="separator:a2d854a964cbabc521ac6a84b0b1ffe20"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a017ad82379a6e52d6b2ba1d212b65950"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structwx_font_metrics.html">wxFontMetrics</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a017ad82379a6e52d6b2ba1d212b65950">GetFontMetrics</a> () const </td></tr>
<tr class="memdesc:a017ad82379a6e52d6b2ba1d212b65950"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the various font characteristics.  <a href="#a017ad82379a6e52d6b2ba1d212b65950"></a><br/></td></tr>
<tr class="separator:a017ad82379a6e52d6b2ba1d212b65950"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1983be5fdf9e88127d15fff119a0ef03"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a1983be5fdf9e88127d15fff119a0ef03">GetMultiLineTextExtent</a> (const <a class="el" href="classwx_string.html">wxString</a> &amp;string, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> *w, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> *h, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> *heightLine=NULL, const <a class="el" href="classwx_font.html">wxFont</a> *font=NULL) const </td></tr>
<tr class="memdesc:a1983be5fdf9e88127d15fff119a0ef03"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the dimensions of the string using the currently selected font.  <a href="#a1983be5fdf9e88127d15fff119a0ef03"></a><br/></td></tr>
<tr class="separator:a1983be5fdf9e88127d15fff119a0ef03"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af04e14231873e8659c4e88036f1bb8ce"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_size.html">wxSize</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#af04e14231873e8659c4e88036f1bb8ce">GetMultiLineTextExtent</a> (const <a class="el" href="classwx_string.html">wxString</a> &amp;string) const </td></tr>
<tr class="memdesc:af04e14231873e8659c4e88036f1bb8ce"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the dimensions of the string using the currently selected font.  <a href="#af04e14231873e8659c4e88036f1bb8ce"></a><br/></td></tr>
<tr class="separator:af04e14231873e8659c4e88036f1bb8ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0dd5cdd1ce56ff3d1c23d233711653d"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#aa0dd5cdd1ce56ff3d1c23d233711653d">GetPartialTextExtents</a> (const <a class="el" href="classwx_string.html">wxString</a> &amp;text, <a class="el" href="dynarray_8h.html#add87f199292e36ee87efd6d7f0d4ee66">wxArrayInt</a> &amp;widths) const </td></tr>
<tr class="memdesc:aa0dd5cdd1ce56ff3d1c23d233711653d"><td class="mdescLeft">&#160;</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="#aa0dd5cdd1ce56ff3d1c23d233711653d"></a><br/></td></tr>
<tr class="separator:aa0dd5cdd1ce56ff3d1c23d233711653d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae55cbf1bc7b7e836cb192eb48d31efab"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#ae55cbf1bc7b7e836cb192eb48d31efab">GetTextExtent</a> (const <a class="el" href="classwx_string.html">wxString</a> &amp;string, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> *w, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> *h, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> *descent=NULL, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> *externalLeading=NULL, const <a class="el" href="classwx_font.html">wxFont</a> *font=NULL) const </td></tr>
<tr class="memdesc:ae55cbf1bc7b7e836cb192eb48d31efab"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the dimensions of the string using the currently selected font.  <a href="#ae55cbf1bc7b7e836cb192eb48d31efab"></a><br/></td></tr>
<tr class="separator:ae55cbf1bc7b7e836cb192eb48d31efab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac195999acf9dd440bf92272eb4206c35"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_size.html">wxSize</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#ac195999acf9dd440bf92272eb4206c35">GetTextExtent</a> (const <a class="el" href="classwx_string.html">wxString</a> &amp;string) const </td></tr>
<tr class="memdesc:ac195999acf9dd440bf92272eb4206c35"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.  <a href="#ac195999acf9dd440bf92272eb4206c35"></a><br/></td></tr>
<tr class="separator:ac195999acf9dd440bf92272eb4206c35"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">Text properties functions</div></td></tr>
<tr class="memitem:a424e74e4790076a314511f86b8b7f408"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a424e74e4790076a314511f86b8b7f408">GetBackgroundMode</a> () const </td></tr>
<tr class="memdesc:a424e74e4790076a314511f86b8b7f408"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the current background mode: <code>wxSOLID</code> or <code>wxTRANSPARENT</code>.  <a href="#a424e74e4790076a314511f86b8b7f408"></a><br/></td></tr>
<tr class="separator:a424e74e4790076a314511f86b8b7f408"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a06000dac38b658a388a9ad1d9d029a2a"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classwx_font.html">wxFont</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a06000dac38b658a388a9ad1d9d029a2a">GetFont</a> () const </td></tr>
<tr class="memdesc:a06000dac38b658a388a9ad1d9d029a2a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the current font.  <a href="#a06000dac38b658a388a9ad1d9d029a2a"></a><br/></td></tr>
<tr class="separator:a06000dac38b658a388a9ad1d9d029a2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a781d5a5c56d1c3caeca4e3e18847fb47"><td class="memItemLeft" align="right" valign="top"><a class="el" href="intl_8h.html#a7e30efec05ef9b40b1750ac046400c81">wxLayoutDirection</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a781d5a5c56d1c3caeca4e3e18847fb47">GetLayoutDirection</a> () const </td></tr>
<tr class="memdesc:a781d5a5c56d1c3caeca4e3e18847fb47"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the current layout direction of the device context.  <a href="#a781d5a5c56d1c3caeca4e3e18847fb47"></a><br/></td></tr>
<tr class="separator:a781d5a5c56d1c3caeca4e3e18847fb47"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f3d318c90a2e7a89fb116feeacd4bcf"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classwx_colour.html">wxColour</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a1f3d318c90a2e7a89fb116feeacd4bcf">GetTextBackground</a> () const </td></tr>
<tr class="memdesc:a1f3d318c90a2e7a89fb116feeacd4bcf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the current text background colour.  <a href="#a1f3d318c90a2e7a89fb116feeacd4bcf"></a><br/></td></tr>
<tr class="separator:a1f3d318c90a2e7a89fb116feeacd4bcf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f044e87752d3c5e49a7f028fb3c44de"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classwx_colour.html">wxColour</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a0f044e87752d3c5e49a7f028fb3c44de">GetTextForeground</a> () const </td></tr>
<tr class="memdesc:a0f044e87752d3c5e49a7f028fb3c44de"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the current text foreground colour.  <a href="#a0f044e87752d3c5e49a7f028fb3c44de"></a><br/></td></tr>
<tr class="separator:a0f044e87752d3c5e49a7f028fb3c44de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a86c405ae265e6fdb4e393c4c9ada73c0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a86c405ae265e6fdb4e393c4c9ada73c0">SetBackgroundMode</a> (int mode)</td></tr>
<tr class="memdesc:a86c405ae265e6fdb4e393c4c9ada73c0"><td class="mdescLeft">&#160;</td><td class="mdescRight"><em>mode</em> may be one of <code>wxSOLID</code> and <code>wxTRANSPARENT</code>.  <a href="#a86c405ae265e6fdb4e393c4c9ada73c0"></a><br/></td></tr>
<tr class="separator:a86c405ae265e6fdb4e393c4c9ada73c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afab18239d707cd403235b36a987171a8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#afab18239d707cd403235b36a987171a8">SetFont</a> (const <a class="el" href="classwx_font.html">wxFont</a> &amp;font)</td></tr>
<tr class="memdesc:afab18239d707cd403235b36a987171a8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the current font for the DC.  <a href="#afab18239d707cd403235b36a987171a8"></a><br/></td></tr>
<tr class="separator:afab18239d707cd403235b36a987171a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ed22bd0a0b835d4d085261bb022766b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a3ed22bd0a0b835d4d085261bb022766b">SetTextBackground</a> (const <a class="el" href="classwx_colour.html">wxColour</a> &amp;colour)</td></tr>
<tr class="memdesc:a3ed22bd0a0b835d4d085261bb022766b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the current text background colour for the DC.  <a href="#a3ed22bd0a0b835d4d085261bb022766b"></a><br/></td></tr>
<tr class="separator:a3ed22bd0a0b835d4d085261bb022766b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeac811df9a1688ce875117f3049849d6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#aeac811df9a1688ce875117f3049849d6">SetTextForeground</a> (const <a class="el" href="classwx_colour.html">wxColour</a> &amp;colour)</td></tr>
<tr class="memdesc:aeac811df9a1688ce875117f3049849d6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the current text foreground colour for the DC.  <a href="#aeac811df9a1688ce875117f3049849d6"></a><br/></td></tr>
<tr class="separator:aeac811df9a1688ce875117f3049849d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a16196571f402cabf506619e8bf9f1586"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a16196571f402cabf506619e8bf9f1586">SetLayoutDirection</a> (<a class="el" href="intl_8h.html#a7e30efec05ef9b40b1750ac046400c81">wxLayoutDirection</a> dir)</td></tr>
<tr class="memdesc:a16196571f402cabf506619e8bf9f1586"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the current layout direction for the device context.  <a href="#a16196571f402cabf506619e8bf9f1586"></a><br/></td></tr>
<tr class="separator:a16196571f402cabf506619e8bf9f1586"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">Bounding box functions</div></td></tr>
<tr class="memitem:a850699d4fdc9006421b085d2d37fa0c0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a850699d4fdc9006421b085d2d37fa0c0">CalcBoundingBox</a> (<a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> x, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> y)</td></tr>
<tr class="memdesc:a850699d4fdc9006421b085d2d37fa0c0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds the specified point to the bounding box which can be retrieved with <a class="el" href="classwx_d_c.html#a603de4a911be9500e5eb5ffda87750bc" title="Gets the minimum horizontal extent used in drawing commands so far.">MinX()</a>, <a class="el" href="classwx_d_c.html#a8829696c6ebabed7053f8a9479fabeef" title="Gets the maximum horizontal extent used in drawing commands so far.">MaxX()</a> and <a class="el" href="classwx_d_c.html#aecfe126a0ebb9818f1b3abf43675e744" title="Gets the minimum vertical extent used in drawing commands so far.">MinY()</a>, <a class="el" href="classwx_d_c.html#a90b1bc13bd01e442754e91935a8d0ef3" title="Gets the maximum vertical extent used in drawing commands so far.">MaxY()</a> functions.  <a href="#a850699d4fdc9006421b085d2d37fa0c0"></a><br/></td></tr>
<tr class="separator:a850699d4fdc9006421b085d2d37fa0c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8829696c6ebabed7053f8a9479fabeef"><td class="memItemLeft" align="right" valign="top"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a8829696c6ebabed7053f8a9479fabeef">MaxX</a> () const </td></tr>
<tr class="memdesc:a8829696c6ebabed7053f8a9479fabeef"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the maximum horizontal extent used in drawing commands so far.  <a href="#a8829696c6ebabed7053f8a9479fabeef"></a><br/></td></tr>
<tr class="separator:a8829696c6ebabed7053f8a9479fabeef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a90b1bc13bd01e442754e91935a8d0ef3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a90b1bc13bd01e442754e91935a8d0ef3">MaxY</a> () const </td></tr>
<tr class="memdesc:a90b1bc13bd01e442754e91935a8d0ef3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the maximum vertical extent used in drawing commands so far.  <a href="#a90b1bc13bd01e442754e91935a8d0ef3"></a><br/></td></tr>
<tr class="separator:a90b1bc13bd01e442754e91935a8d0ef3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a603de4a911be9500e5eb5ffda87750bc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a603de4a911be9500e5eb5ffda87750bc">MinX</a> () const </td></tr>
<tr class="memdesc:a603de4a911be9500e5eb5ffda87750bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the minimum horizontal extent used in drawing commands so far.  <a href="#a603de4a911be9500e5eb5ffda87750bc"></a><br/></td></tr>
<tr class="separator:a603de4a911be9500e5eb5ffda87750bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aecfe126a0ebb9818f1b3abf43675e744"><td class="memItemLeft" align="right" valign="top"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#aecfe126a0ebb9818f1b3abf43675e744">MinY</a> () const </td></tr>
<tr class="memdesc:aecfe126a0ebb9818f1b3abf43675e744"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the minimum vertical extent used in drawing commands so far.  <a href="#aecfe126a0ebb9818f1b3abf43675e744"></a><br/></td></tr>
<tr class="separator:aecfe126a0ebb9818f1b3abf43675e744"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a35ed8c0c64315ec85588142d44f83af8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a35ed8c0c64315ec85588142d44f83af8">ResetBoundingBox</a> ()</td></tr>
<tr class="memdesc:a35ed8c0c64315ec85588142d44f83af8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Resets the bounding box: after a call to this function, the bounding box doesn't contain anything.  <a href="#a35ed8c0c64315ec85588142d44f83af8"></a><br/></td></tr>
<tr class="separator:a35ed8c0c64315ec85588142d44f83af8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">Page and document start/end functions</div></td></tr>
<tr class="memitem:ad6572581c9d31dc349b6a7462426856c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#ad6572581c9d31dc349b6a7462426856c">StartDoc</a> (const <a class="el" href="classwx_string.html">wxString</a> &amp;message)</td></tr>
<tr class="memdesc:ad6572581c9d31dc349b6a7462426856c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Starts a document (only relevant when outputting to a printer).  <a href="#ad6572581c9d31dc349b6a7462426856c"></a><br/></td></tr>
<tr class="separator:ad6572581c9d31dc349b6a7462426856c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a94c855ceb9f2fd5dcd1cf61396c13576"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a94c855ceb9f2fd5dcd1cf61396c13576">StartPage</a> ()</td></tr>
<tr class="memdesc:a94c855ceb9f2fd5dcd1cf61396c13576"><td class="mdescLeft">&#160;</td><td class="mdescRight">Starts a document page (only relevant when outputting to a printer).  <a href="#a94c855ceb9f2fd5dcd1cf61396c13576"></a><br/></td></tr>
<tr class="separator:a94c855ceb9f2fd5dcd1cf61396c13576"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a95a506a0153d24dc352577161d45081c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a95a506a0153d24dc352577161d45081c">EndDoc</a> ()</td></tr>
<tr class="memdesc:a95a506a0153d24dc352577161d45081c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ends a document (only relevant when outputting to a printer).  <a href="#a95a506a0153d24dc352577161d45081c"></a><br/></td></tr>
<tr class="separator:a95a506a0153d24dc352577161d45081c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3867f84557ecaf68bfeacffea74e8902"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a3867f84557ecaf68bfeacffea74e8902">EndPage</a> ()</td></tr>
<tr class="memdesc:a3867f84557ecaf68bfeacffea74e8902"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ends a document page (only relevant when outputting to a printer).  <a href="#a3867f84557ecaf68bfeacffea74e8902"></a><br/></td></tr>
<tr class="separator:a3867f84557ecaf68bfeacffea74e8902"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">Bit-Block Transfer operations (blit)</div></td></tr>
<tr class="memitem:a12bed94a15136b9080683f4151042a34"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a12bed94a15136b9080683f4151042a34">Blit</a> (<a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> xdest, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> ydest, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> width, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> height, <a class="el" href="classwx_d_c.html">wxDC</a> *source, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> xsrc, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> ysrc, <a class="el" href="interface_2wx_2dc_8h.html#a07398221a1f9dfecf424c90c5c777d54">wxRasterOperationMode</a> logicalFunc=<a class="el" href="interface_2wx_2dc_8h.html#a07398221a1f9dfecf424c90c5c777d54a42adf0b5dc2b539faec99078b4377164">wxCOPY</a>, bool useMask=false, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> xsrcMask=<a class="el" href="defs_8h.html#ae297119c813ec5d3328ce3f43f9ac6c1">wxDefaultCoord</a>, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> ysrcMask=<a class="el" href="defs_8h.html#ae297119c813ec5d3328ce3f43f9ac6c1">wxDefaultCoord</a>)</td></tr>
<tr class="memdesc:a12bed94a15136b9080683f4151042a34"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy from a source DC to this DC.  <a href="#a12bed94a15136b9080683f4151042a34"></a><br/></td></tr>
<tr class="separator:a12bed94a15136b9080683f4151042a34"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a82801167a35e747218c49aa2161ae4bf"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a82801167a35e747218c49aa2161ae4bf">StretchBlit</a> (<a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> xdest, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> ydest, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> dstWidth, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> dstHeight, <a class="el" href="classwx_d_c.html">wxDC</a> *source, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> xsrc, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> ysrc, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> srcWidth, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> srcHeight, <a class="el" href="interface_2wx_2dc_8h.html#a07398221a1f9dfecf424c90c5c777d54">wxRasterOperationMode</a> logicalFunc=<a class="el" href="interface_2wx_2dc_8h.html#a07398221a1f9dfecf424c90c5c777d54a42adf0b5dc2b539faec99078b4377164">wxCOPY</a>, bool useMask=false, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> xsrcMask=<a class="el" href="defs_8h.html#ae297119c813ec5d3328ce3f43f9ac6c1">wxDefaultCoord</a>, <a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> ysrcMask=<a class="el" href="defs_8h.html#ae297119c813ec5d3328ce3f43f9ac6c1">wxDefaultCoord</a>)</td></tr>
<tr class="memdesc:a82801167a35e747218c49aa2161ae4bf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy from a source DC to this DC possibly changing the scale.  <a href="#a82801167a35e747218c49aa2161ae4bf"></a><br/></td></tr>
<tr class="separator:a82801167a35e747218c49aa2161ae4bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">Background/foreground brush and pen</div></td></tr>
<tr class="memitem:ac9f6e5ace963178d3e167975b43d465d"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classwx_brush.html">wxBrush</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#ac9f6e5ace963178d3e167975b43d465d">GetBackground</a> () const </td></tr>
<tr class="memdesc:ac9f6e5ace963178d3e167975b43d465d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the brush used for painting the background.  <a href="#ac9f6e5ace963178d3e167975b43d465d"></a><br/></td></tr>
<tr class="separator:ac9f6e5ace963178d3e167975b43d465d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca9a1077274d59d88b31261de91665f0"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classwx_brush.html">wxBrush</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#aca9a1077274d59d88b31261de91665f0">GetBrush</a> () const </td></tr>
<tr class="memdesc:aca9a1077274d59d88b31261de91665f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the current brush.  <a href="#aca9a1077274d59d88b31261de91665f0"></a><br/></td></tr>
<tr class="separator:aca9a1077274d59d88b31261de91665f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a575cce713b210ca802d9d7ba0d39d3a7"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classwx_pen.html">wxPen</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a575cce713b210ca802d9d7ba0d39d3a7">GetPen</a> () const </td></tr>
<tr class="memdesc:a575cce713b210ca802d9d7ba0d39d3a7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the current pen.  <a href="#a575cce713b210ca802d9d7ba0d39d3a7"></a><br/></td></tr>
<tr class="separator:a575cce713b210ca802d9d7ba0d39d3a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0139f6542f619244b80d4db7f685f86"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#ad0139f6542f619244b80d4db7f685f86">SetBackground</a> (const <a class="el" href="classwx_brush.html">wxBrush</a> &amp;brush)</td></tr>
<tr class="memdesc:ad0139f6542f619244b80d4db7f685f86"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the current background brush for the DC.  <a href="#ad0139f6542f619244b80d4db7f685f86"></a><br/></td></tr>
<tr class="separator:ad0139f6542f619244b80d4db7f685f86"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a13978b2624116987a59ff729c4f81a96"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a13978b2624116987a59ff729c4f81a96">SetBrush</a> (const <a class="el" href="classwx_brush.html">wxBrush</a> &amp;brush)</td></tr>
<tr class="memdesc:a13978b2624116987a59ff729c4f81a96"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the current brush for the DC.  <a href="#a13978b2624116987a59ff729c4f81a96"></a><br/></td></tr>
<tr class="separator:a13978b2624116987a59ff729c4f81a96"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d229733fbc83c7e4c483c0714d090b2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a0d229733fbc83c7e4c483c0714d090b2">SetPen</a> (const <a class="el" href="classwx_pen.html">wxPen</a> &amp;pen)</td></tr>
<tr class="memdesc:a0d229733fbc83c7e4c483c0714d090b2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the current pen for the DC.  <a href="#a0d229733fbc83c7e4c483c0714d090b2"></a><br/></td></tr>
<tr class="separator:a0d229733fbc83c7e4c483c0714d090b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">Transformation matrix</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p>See the notes about the availability of these functions in the class documentation. </p>
</div></td></tr>
<tr class="memitem:a00ff493fe7d976d9433f9adb559f3089"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a00ff493fe7d976d9433f9adb559f3089">CanUseTransformMatrix</a> () const </td></tr>
<tr class="memdesc:a00ff493fe7d976d9433f9adb559f3089"><td class="mdescLeft">&#160;</td><td class="mdescRight">Check if the use of transformation matrix is supported by the current system.  <a href="#a00ff493fe7d976d9433f9adb559f3089"></a><br/></td></tr>
<tr class="separator:a00ff493fe7d976d9433f9adb559f3089"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e3243fcb5d194ef5637f4bda11a49c3"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a6e3243fcb5d194ef5637f4bda11a49c3">SetTransformMatrix</a> (const <a class="el" href="classwx_affine_matrix2_d.html">wxAffineMatrix2D</a> &amp;matrix)</td></tr>
<tr class="memdesc:a6e3243fcb5d194ef5637f4bda11a49c3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the transformation matrix.  <a href="#a6e3243fcb5d194ef5637f4bda11a49c3"></a><br/></td></tr>
<tr class="separator:a6e3243fcb5d194ef5637f4bda11a49c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae763dfe2be3673044770adb67f7a212f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classwx_affine_matrix2_d.html">wxAffineMatrix2D</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#ae763dfe2be3673044770adb67f7a212f">GetTransformMatrix</a> () const </td></tr>
<tr class="memdesc:ae763dfe2be3673044770adb67f7a212f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the transformation matrix used by this device context.  <a href="#ae763dfe2be3673044770adb67f7a212f"></a><br/></td></tr>
<tr class="separator:ae763dfe2be3673044770adb67f7a212f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a41a9a4f616da21afdcad0fe1585ca066"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a41a9a4f616da21afdcad0fe1585ca066">ResetTransformMatrix</a> ()</td></tr>
<tr class="memdesc:a41a9a4f616da21afdcad0fe1585ca066"><td class="mdescLeft">&#160;</td><td class="mdescRight">Revert the transformation matrix to identity matrix.  <a href="#a41a9a4f616da21afdcad0fe1585ca066"></a><br/></td></tr>
<tr class="separator:a41a9a4f616da21afdcad0fe1585ca066"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader">query capabilities</div></td></tr>
<tr class="memitem:a87865a3aa8199f9c72eab40291de2a19"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#a87865a3aa8199f9c72eab40291de2a19">CanDrawBitmap</a> () const </td></tr>
<tr class="memdesc:a87865a3aa8199f9c72eab40291de2a19"><td class="mdescLeft">&#160;</td><td class="mdescRight">Does the DC support drawing bitmaps?  <a href="#a87865a3aa8199f9c72eab40291de2a19"></a><br/></td></tr>
<tr class="separator:a87865a3aa8199f9c72eab40291de2a19"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae8de0b985df124dd7bfd91c705c3bea0"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classwx_d_c.html#ae8de0b985df124dd7bfd91c705c3bea0">CanGetTextExtent</a> () const </td></tr>
<tr class="memdesc:ae8de0b985df124dd7bfd91c705c3bea0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Does the DC support calculating the size required to draw text?  <a href="#ae8de0b985df124dd7bfd91c705c3bea0"></a><br/></td></tr>
<tr class="separator:ae8de0b985df124dd7bfd91c705c3bea0"><td class="memSeparator" colspan="2">&#160;</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="-"/>&#160;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">&#160;</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">&#160;</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">&#160;</td></tr>
<tr class="memitem:a4721b4dc9b7aff0f30904ba2ea3954cf inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">&#160;</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> &amp;other)</td></tr>
<tr class="memdesc:a4721b4dc9b7aff0f30904ba2ea3954cf inherit pub_methods_classwx_object"><td class="mdescLeft">&#160;</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">&#160;</td></tr>
<tr class="memitem:a2a51aa8bfbab47ca2f051bcf84b3f35b inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">virtual&#160;</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">&#160;</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">&#160;</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> *&#160;</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">&#160;</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">&#160;</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> *&#160;</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">&#160;</td><td class="mdescRight">Returns the <a class="el" href="classwx_object.html#a9e31954530a0abd54982effc443ed2b8" title="Pointer to an object which is the object&#39;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">&#160;</td></tr>
<tr class="memitem:af40d580385cf4f8112fae7713404b01e inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">bool&#160;</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">&#160;</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">&#160;</td></tr>
<tr class="memitem:a80a1a3fda7b14396a9ddd3d7a46a88bd inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">bool&#160;</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> &amp;obj) const </td></tr>
<tr class="memdesc:a80a1a3fda7b14396a9ddd3d7a46a88bd inherit pub_methods_classwx_object"><td class="mdescLeft">&#160;</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">&#160;</td></tr>
<tr class="memitem:a2f6f1aa51fe9fc2b1415ca4211a90e9e inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">void&#160;</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> &amp;clone)</td></tr>
<tr class="memdesc:a2f6f1aa51fe9fc2b1415ca4211a90e9e inherit pub_methods_classwx_object"><td class="mdescLeft">&#160;</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">&#160;</td></tr>
<tr class="memitem:afab780710f2adc1bb33310e27590140b inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">void&#160;</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">&#160;</td><td class="mdescRight">Sets the <a class="el" href="classwx_object.html#a9e31954530a0abd54982effc443ed2b8" title="Pointer to an object which is the object&#39;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">&#160;</td></tr>
<tr class="memitem:af51efc6b1ae632fc7f0cd7ebbce9fa36 inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">void&#160;</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">&#160;</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">&#160;</td></tr>
<tr class="memitem:a74b40e42d19a4b9e9bec0b57d62a5725 inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">void&#160;</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">&#160;</td><td class="mdescRight">This is the same of <a class="el" href="classwx_object.html#a60204063f3cc3aa2fa1c7ff5bda9eb13" title="Ensure that this object&#39;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">&#160;</td></tr>
<tr class="memitem:a07b8f34f5afc5743195c5fed052f55d3 inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">void&#160;</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">&#160;</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">&#160;</td></tr>
<tr class="memitem:a96fa423a1dbc212c8227a5d83825971f inherit pub_methods_classwx_object"><td class="memItemLeft" align="right" valign="top">void *&#160;</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> &amp;filename=NULL, int lineNum=0)</td></tr>
<tr class="memdesc:a96fa423a1dbc212c8227a5d83825971f inherit pub_methods_classwx_object"><td class="mdescLeft">&#160;</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">&#160;</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="-"/>&#160;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&#160;</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">&#160;</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">&#160;</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> *&#160;</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">&#160;</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">&#160;</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> *&#160;</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">&#160;</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">&#160;</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="-"/>&#160;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> *&#160;</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">&#160;</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">&#160;</td></tr>
</table>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a12bed94a15136b9080683f4151042a34"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool wxDC::Blit </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>xdest</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>ydest</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</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#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>height</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classwx_d_c.html">wxDC</a> *&#160;</td>
          <td class="paramname"><em>source</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>xsrc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>ysrc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="interface_2wx_2dc_8h.html#a07398221a1f9dfecf424c90c5c777d54">wxRasterOperationMode</a>&#160;</td>
          <td class="paramname"><em>logicalFunc</em> = <code><a class="el" href="interface_2wx_2dc_8h.html#a07398221a1f9dfecf424c90c5c777d54a42adf0b5dc2b539faec99078b4377164">wxCOPY</a></code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>useMask</em> = <code>false</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>xsrcMask</em> = <code><a class="el" href="defs_8h.html#ae297119c813ec5d3328ce3f43f9ac6c1">wxDefaultCoord</a></code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>ysrcMask</em> = <code><a class="el" href="defs_8h.html#ae297119c813ec5d3328ce3f43f9ac6c1">wxDefaultCoord</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Copy from a source DC to this DC. </p>
<p>With this method you can specify the destination coordinates and the size of area to copy which will be the same for both the source and target DCs. If you need to apply scaling while copying, use <a class="el" href="classwx_d_c.html#a82801167a35e747218c49aa2161ae4bf" title="Copy from a source DC to this DC possibly changing the scale.">StretchBlit()</a>.</p>
<p>Notice that source DC coordinates <em>xsrc</em> and <em>ysrc</em> are interpreted using the current source DC coordinate system, i.e. the scale, origin position and axis directions are taken into account when transforming them to physical (pixel) coordinates.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">xdest</td><td>Destination device context x position. </td></tr>
    <tr><td class="paramname">ydest</td><td>Destination device context y position. </td></tr>
    <tr><td class="paramname">width</td><td>Width of source area to be copied. </td></tr>
    <tr><td class="paramname">height</td><td>Height of source area to be copied. </td></tr>
    <tr><td class="paramname">source</td><td>Source device context. </td></tr>
    <tr><td class="paramname">xsrc</td><td>Source device context x position. </td></tr>
    <tr><td class="paramname">ysrc</td><td>Source device context y position. </td></tr>
    <tr><td class="paramname">logicalFunc</td><td>Logical function to use, see <a class="el" href="classwx_d_c.html#aae8adce8cf260bf703b8e76784bd577d" title="Sets the current logical function for the device context.">SetLogicalFunction()</a>. </td></tr>
    <tr><td class="paramname">useMask</td><td>If <span class="literal">true</span>, Blit does a transparent blit using the mask that is associated with the bitmap selected into the source device context. The Windows implementation does the following if MaskBlt cannot be used: <ol>
<li>
Creates a temporary bitmap and copies the destination area into it. </li>
<li>
Copies the source area into the temporary bitmap using the specified logical function. </li>
<li>
Sets the masked area in the temporary bitmap to BLACK by ANDing the mask bitmap with the temp bitmap with the foreground colour set to WHITE and the bg colour set to BLACK. </li>
<li>
Sets the unmasked area in the destination area to BLACK by ANDing the mask bitmap with the destination area with the foreground colour set to BLACK and the background colour set to WHITE. </li>
<li>
ORs the temporary bitmap with the destination area. </li>
<li>
Deletes the temporary bitmap. </li>
</ol>
This sequence of operations ensures that the source's transparent area need not be black, and logical functions are supported. <br/>
 <b>Note:</b> on Windows, blitting with masks can be speeded up considerably by compiling wxWidgets with the wxUSE_DC_CACHEING option enabled. You can also influence whether MaskBlt or the explicit mask blitting code above is used, by using <a class="el" href="classwx_system_options.html" title="wxSystemOptions stores option/value pairs that wxWidgets itself or applications can use to alter beha...">wxSystemOptions</a> and setting the <code>no-maskblt</code> option to 1. </td></tr>
    <tr><td class="paramname">xsrcMask</td><td>Source x position on the mask. If both xsrcMask and ysrcMask are <code>-1</code>, xsrc and ysrc will be assumed for the mask source position. Currently only implemented on Windows. </td></tr>
    <tr><td class="paramname">ysrcMask</td><td>Source y position on the mask. If both xsrcMask and ysrcMask are <code>-1</code>, xsrc and ysrc will be assumed for the mask source position. Currently only implemented on Windows.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section remark"><dt>Remarks</dt><dd>There is partial support for <a class="el" href="classwx_d_c.html#a12bed94a15136b9080683f4151042a34" title="Copy from a source DC to this DC.">Blit()</a> in <a class="el" href="classwx_post_script_d_c.html" title="This defines the wxWidgets Encapsulated PostScript device context, which can write PostScript files o...">wxPostScriptDC</a>, under X.</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_d_c.html#a82801167a35e747218c49aa2161ae4bf" title="Copy from a source DC to this DC possibly changing the scale.">StretchBlit()</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 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 class="el" href="classwx_mask.html" title="This class encapsulates a monochrome mask bitmap, where the masked area is black and the unmasked are...">wxMask</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a850699d4fdc9006421b085d2d37fa0c0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::CalcBoundingBox </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</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#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Adds the specified point to the bounding box which can be retrieved with <a class="el" href="classwx_d_c.html#a603de4a911be9500e5eb5ffda87750bc" title="Gets the minimum horizontal extent used in drawing commands so far.">MinX()</a>, <a class="el" href="classwx_d_c.html#a8829696c6ebabed7053f8a9479fabeef" title="Gets the maximum horizontal extent used in drawing commands so far.">MaxX()</a> and <a class="el" href="classwx_d_c.html#aecfe126a0ebb9818f1b3abf43675e744" title="Gets the minimum vertical extent used in drawing commands so far.">MinY()</a>, <a class="el" href="classwx_d_c.html#a90b1bc13bd01e442754e91935a8d0ef3" title="Gets the maximum vertical extent used in drawing commands so far.">MaxY()</a> functions. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_d_c.html#a35ed8c0c64315ec85588142d44f83af8" title="Resets the bounding box: after a call to this function, the bounding box doesn&#39;t contain anything...">ResetBoundingBox()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a87865a3aa8199f9c72eab40291de2a19"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool wxDC::CanDrawBitmap </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Does the DC support drawing bitmaps? </p>

</div>
</div>
<a class="anchor" id="ae8de0b985df124dd7bfd91c705c3bea0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool wxDC::CanGetTextExtent </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Does the DC support calculating the size required to draw text? </p>

</div>
</div>
<a class="anchor" id="a00ff493fe7d976d9433f9adb559f3089"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool wxDC::CanUseTransformMatrix </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Check if the use of transformation matrix is supported by the current system. </p>
<p>Currently this function always returns <span class="literal">false</span> for non-MSW platforms and may return <span class="literal">false</span> for old (Windows 9x/ME) Windows systems. Normally support for the transformation matrix is always available in any relatively recent Windows versions.</p>
<dl class="section since"><dt>Since</dt><dd>2.9.2 </dd></dl>

</div>
</div>
<a class="anchor" id="acf301dfd75b0f31d969ecb9daec21e85"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::Clear </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clears the device context using the current background brush. </p>

</div>
</div>
<a class="anchor" id="ad1258b299c3a92344f1bdedbb7fc3acc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::CopyAttributes </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classwx_d_c.html">wxDC</a> &amp;&#160;</td>
          <td class="paramname"><em>dc</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Copy attributes from another DC. </p>
<p>The copied attributes currently are:</p>
<ul>
<li>Font</li>
<li>Text foreground and background colours</li>
<li>Background brush</li>
<li>Layout direction</li>
</ul>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dc</td><td>A valid (i.e. its <a class="el" href="classwx_d_c.html#aac2d04cf636651fbbc943d4236586e3a" title="Returns true if the DC is ok to use.">IsOk()</a> must return <span class="literal">true</span>) source device context. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="af8bab4cd7ffc3050974236a32afa1e1d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::CrossHair </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</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#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Displays a cross hair using the current pen. </p>
<p>This is a vertical and horizontal line the height and width of the window, centred on the given point. </p>

</div>
</div>
<a class="anchor" id="ad5ad1b17105668a9cba6f4f6cc902a02"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::CrossHair </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classwx_point.html">wxPoint</a> &amp;&#160;</td>
          <td class="paramname"><em>pt</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>

</div>
</div>
<a class="anchor" id="ae0b0fc593c4559b9ac70e121bd28e3b4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::DestroyClippingRegion </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Destroys the current clipping region so that none of the DC is clipped. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_d_c.html#a21ce8b27db0da5d68b8571d0ff39114b" title="Sets the clipping region for this device context to the intersection of the given region described by...">SetClippingRegion()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="af0c7b7b0f2736fbce53675f1420ed11c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> wxDC::DeviceToLogicalX </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>x</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert <em>device</em> X coordinate to logical coordinate, using the current mapping mode, user scale factor, device origin and axis orientation. </p>

</div>
</div>
<a class="anchor" id="ab0dc7fb1c079f1fc8ca7df8987e261fc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> wxDC::DeviceToLogicalXRel </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>x</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert <em>device</em> X coordinate to relative logical coordinate, using the current mapping mode and user scale factor but ignoring the axis orientation. </p>
<p>Use this for converting a width, for example. </p>

</div>
</div>
<a class="anchor" id="aac47fb25f72317712e74a7e2903ba704"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> wxDC::DeviceToLogicalY </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>y</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Converts <em>device</em> Y coordinate to logical coordinate, using the current mapping mode, user scale factor, device origin and axis orientation. </p>

</div>
</div>
<a class="anchor" id="a57fa7329b7890bb56cc7e05fc83e033c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> wxDC::DeviceToLogicalYRel </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>y</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Convert <em>device</em> Y coordinate to relative logical coordinate, using the current mapping mode and user scale factor but ignoring the axis orientation. </p>
<p>Use this for converting a height, for example. </p>

</div>
</div>
<a class="anchor" id="a348f8cd1ba0ffcf62b8145628b0a5492"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::DrawArc </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>xStart</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>yStart</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>xEnd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>yEnd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</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#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>yc</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Draws an arc from the given start to the given end point. </p>
<dl class="section note"><dt>Note</dt><dd><a class="el" href="classwx_d_c.html#a821e0b82707ca0379273cca67913da06" title="Draws an arc of an ellipse.">DrawEllipticArc()</a> has more clear semantics and it is recommended to use it instead of this function.</dd></dl>
<p>The arc drawn is an arc of the circle centered at (<em>xc</em>, <em>yc</em>). Its start point is (<em>xStart</em>, <em>yStart</em>) whereas its end point is the point of intersection of the line passing by (<em>xc</em>, <em>yc</em>) and (<em>xEnd</em>, <em>yEnd</em>) with the circle passing by (<em>xStart</em>, <em>yStart</em>).</p>
<p>The arc is drawn in a counter-clockwise direction between the start and the end points.</p>
<p>The current pen is used for the outline and the current brush for filling the shape. Notice that unless the brush is transparent, the lines connecting the centre of the circle to the end points of the arc are drawn as well. </p>

</div>
</div>
<a class="anchor" id="abe49b852e96ff500ef6333bfc044890f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::DrawArc </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classwx_point.html">wxPoint</a> &amp;&#160;</td>
          <td class="paramname"><em>ptStart</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classwx_point.html">wxPoint</a> &amp;&#160;</td>
          <td class="paramname"><em>ptEnd</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classwx_point.html">wxPoint</a> &amp;&#160;</td>
          <td class="paramname"><em>centre</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>

</div>
</div>
<a class="anchor" id="af982eb2d3b10c5617ef3559d51a1defc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::DrawBitmap </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classwx_bitmap.html">wxBitmap</a> &amp;&#160;</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#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</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#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>useMask</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Draw a bitmap on the device context at the specified point. </p>
<p>If <em>transparent</em> is <span class="literal">true</span> and the bitmap has a transparency mask, the bitmap will be drawn transparently.</p>
<p>When drawing a mono-bitmap, the current text foreground colour will be used to draw the foreground of the bitmap (all bits set to 1), and the current text background colour to draw the background (all bits set to 0).</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_d_c.html#aeac811df9a1688ce875117f3049849d6" title="Sets the current text foreground colour for the DC.">SetTextForeground()</a>, <a class="el" href="classwx_d_c.html#a3ed22bd0a0b835d4d085261bb022766b" title="Sets the current text background colour for the DC.">SetTextBackground()</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> </dd></dl>

</div>
</div>
<a class="anchor" id="a9449053951eceeb7984125cd4a694fd8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::DrawBitmap </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classwx_bitmap.html">wxBitmap</a> &amp;&#160;</td>
          <td class="paramname"><em>bmp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classwx_point.html">wxPoint</a> &amp;&#160;</td>
          <td class="paramname"><em>pt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>useMask</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>

</div>
</div>
<a class="anchor" id="a8ad34eda4c0b75ca905d466c6328fe91"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::DrawCheckMark </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</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#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</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#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</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#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>height</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Draws a check mark inside the given rectangle. </p>

</div>
</div>
<a class="anchor" id="a14fe0d838374721e98d6254cdd1484a6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::DrawCheckMark </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classwx_rect.html">wxRect</a> &amp;&#160;</td>
          <td class="paramname"><em>rect</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>

</div>
</div>
<a class="anchor" id="a62fd1c810d532e53a25e3b2e6fd621f7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::DrawCircle </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</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#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</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#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>radius</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Draws a circle with the given centre and radius. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_d_c.html#a340697f08f5fd08d9db383ffcef642c2" title="Draws an ellipse contained in the rectangle specified either with the given top left corner and the g...">DrawEllipse()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a560192c6dcb33c5bde404f3647234657"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::DrawCircle </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classwx_point.html">wxPoint</a> &amp;&#160;</td>
          <td class="paramname"><em>pt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>radius</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>

</div>
</div>
<a class="anchor" id="a340697f08f5fd08d9db383ffcef642c2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::DrawEllipse </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</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#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</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#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</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#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>height</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Draws an ellipse contained in the rectangle specified either with the given top left corner and the given size or directly. </p>
<p>The current pen is used for the outline and the current brush for filling the shape.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_d_c.html#a62fd1c810d532e53a25e3b2e6fd621f7" title="Draws a circle with the given centre and radius.">DrawCircle()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a8a7a8478797c599e91125168669a5f36"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::DrawEllipse </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classwx_point.html">wxPoint</a> &amp;&#160;</td>
          <td class="paramname"><em>pt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classwx_size.html">wxSize</a> &amp;&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>

</div>
</div>
<a class="anchor" id="a637167c299d7e58832cf9c71f6f64fd5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::DrawEllipse </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classwx_rect.html">wxRect</a> &amp;&#160;</td>
          <td class="paramname"><em>rect</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>

</div>
</div>
<a class="anchor" id="a821e0b82707ca0379273cca67913da06"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::DrawEllipticArc </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</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#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</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#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</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#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>height</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>start</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>end</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Draws an arc of an ellipse. </p>
<p>The current pen is used for drawing the arc and the current brush is used for drawing the pie.</p>
<p><em>x</em> and <em>y</em> specify the x and y coordinates of the upper-left corner of the rectangle that contains the ellipse.</p>
<p><em>width</em> and <em>height</em> specify the width and height of the rectangle that contains the ellipse.</p>
<p><em>start</em> and <em>end</em> specify the start and end of the arc relative to the three-o'clock position from the center of the rectangle. Angles are specified in degrees with 0 degree angle corresponding to the positive horizontal axis (3 o'clock) direction. Positive values mean counter-clockwise motion. If <em>start</em> is equal to <em>end</em>, a complete ellipse will be drawn.</p>
<p>Notice that unlike <a class="el" href="classwx_d_c.html#a348f8cd1ba0ffcf62b8145628b0a5492" title="Draws an arc from the given start to the given end point.">DrawArc()</a>, this function does not draw the lines to the arc ends, even when using non-transparent brush. </p>

</div>
</div>
<a class="anchor" id="a5f18a7aee18b69c8721aec67ea0a3532"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::DrawEllipticArc </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classwx_point.html">wxPoint</a> &amp;&#160;</td>
          <td class="paramname"><em>pt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classwx_size.html">wxSize</a> &amp;&#160;</td>
          <td class="paramname"><em>sz</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>sa</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>ea</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>

</div>
</div>
<a class="anchor" id="a890d011a03308a28039d4940dd04264e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::DrawIcon </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classwx_icon.html">wxIcon</a> &amp;&#160;</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#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</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#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Draw an icon on the display (does nothing if the device context is PostScript). </p>
<p>This can be the simplest way of drawing bitmaps on a window. </p>

</div>
</div>
<a class="anchor" id="a5719d8c36a03d1679828c5d89d33dd67"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::DrawIcon </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classwx_icon.html">wxIcon</a> &amp;&#160;</td>
          <td class="paramname"><em>icon</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classwx_point.html">wxPoint</a> &amp;&#160;</td>
          <td class="paramname"><em>pt</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>

</div>
</div>
<a class="anchor" id="ae28d7aa2e17a850f4ca15c042a870152"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::DrawLabel </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> &amp;&#160;</td>
          <td class="paramname"><em>text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classwx_bitmap.html">wxBitmap</a> &amp;&#160;</td>
          <td class="paramname"><em>bitmap</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classwx_rect.html">wxRect</a> &amp;&#160;</td>
          <td class="paramname"><em>rect</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>alignment</em> = <code><a class="el" href="defs_8h.html#a543dd017a172dc316253a8a1f351dde9a3eb809646c09140e9cd10bc8174a4641">wxALIGN_LEFT</a>|<a class="el" href="defs_8h.html#a543dd017a172dc316253a8a1f351dde9a441672dc885ca324345db556f563c026">wxALIGN_TOP</a></code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>indexAccel</em> = <code>-1</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classwx_rect.html">wxRect</a> *&#160;</td>
          <td class="paramname"><em>rectBounding</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Draw optional bitmap and the text into the given rectangle and aligns it as specified by alignment parameter; it also will emphasize the character with the given index if it is != -1 and return the bounding rectangle if required. </p>

</div>
</div>
<a class="anchor" id="a9e4ddef5a10fdcee96ff9ef2fded9ee3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::DrawLabel </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> &amp;&#160;</td>
          <td class="paramname"><em>text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classwx_rect.html">wxRect</a> &amp;&#160;</td>
          <td class="paramname"><em>rect</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>alignment</em> = <code><a class="el" href="defs_8h.html#a543dd017a172dc316253a8a1f351dde9a3eb809646c09140e9cd10bc8174a4641">wxALIGN_LEFT</a>|<a class="el" href="defs_8h.html#a543dd017a172dc316253a8a1f351dde9a441672dc885ca324345db556f563c026">wxALIGN_TOP</a></code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>indexAccel</em> = <code>-1</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>

</div>
</div>
<a class="anchor" id="a12f2c236d4d320acec0bc6fe20e8399d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::DrawLine </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</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#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</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#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</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#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>y2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Draws a line from the first point to the second. </p>
<p>The current pen is used for drawing the line. Note that the point (<em>x2</em>, <em>y2</em>) is not part of the line and is not drawn by this function (this is consistent with the behaviour of many other toolkits). </p>

</div>
</div>
<a class="anchor" id="a34f84b8b73cf782e6d9ab0f629598b6f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::DrawLine </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classwx_point.html">wxPoint</a> &amp;&#160;</td>
          <td class="paramname"><em>pt1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classwx_point.html">wxPoint</a> &amp;&#160;</td>
          <td class="paramname"><em>pt2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>

</div>
</div>
<a class="anchor" id="abae438499fdfdc102e7be7629e8f8c46"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::DrawLines </td>
          <td>(</td>
          <td class="paramtype">int&#160;</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_point.html">wxPoint</a>&#160;</td>
          <td class="paramname"><em>points</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>xoffset</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>yoffset</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Draws lines using an array of points of size <em>n</em> adding the optional offset coordinate. </p>
<p>The current pen is used for drawing the lines.</p>
<p><b>wxPerl Note:</b> Not supported by wxPerl. </p>

</div>
</div>
<a class="anchor" id="a23cbb356e46890c99fcb5304d077f888"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::DrawLines </td>
          <td>(</td>
          <td class="paramtype">const wxPointList *&#160;</td>
          <td class="paramname"><em>points</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>xoffset</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>yoffset</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This method uses a list of wxPoints, adding the optional offset coordinate. </p>
<p>The programmer is responsible for deleting the list of points.</p>
<p><b>wxPerl Note:</b> The wxPerl version of this method accepts as its first parameter a reference to an array of <a class="el" href="classwx_point.html" title="A wxPoint is a useful data structure for graphics operations.">wxPoint</a> objects. </p>

</div>
</div>
<a class="anchor" id="a8380aab866e8f3947e0898cf08969d9f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::DrawPoint </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</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#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Draws a point using the color of the current pen. </p>
<p>Note that the other properties of the pen are not used, such as width. </p>

</div>
</div>
<a class="anchor" id="a9b75ad987adc0c01d13c34db101b3539"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::DrawPoint </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classwx_point.html">wxPoint</a> &amp;&#160;</td>
          <td class="paramname"><em>pt</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>

</div>
</div>
<a class="anchor" id="a86e50a20fa6b634b9ce590ce8a900e1c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::DrawPolygon </td>
          <td>(</td>
          <td class="paramtype">int&#160;</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_point.html">wxPoint</a>&#160;</td>
          <td class="paramname"><em>points</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>xoffset</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>yoffset</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="gdicmn_8h.html#a771e5c5703eb406b19fb50bb718eee05">wxPolygonFillMode</a>&#160;</td>
          <td class="paramname"><em>fill_style</em> = <code><a class="el" href="gdicmn_8h.html#a771e5c5703eb406b19fb50bb718eee05a8845ab62cc357dfde27baf7ebf10ffac">wxODDEVEN_RULE</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Draws a filled polygon using an array of points of size <em>n</em>, adding the optional offset coordinate. </p>
<p>The first and last points are automatically closed.</p>
<p>The last argument specifies the fill rule: <b>wxODDEVEN_RULE</b> (the default) or <b>wxWINDING_RULE</b>.</p>
<p>The current pen is used for drawing the outline, and the current brush for filling the shape. Using a transparent brush suppresses filling.</p>
<p><b>wxPerl Note:</b> Not supported by wxPerl. </p>

</div>
</div>
<a class="anchor" id="a6e5808ba5b740f0d4df5da02b05ce5ca"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::DrawPolygon </td>
          <td>(</td>
          <td class="paramtype">const wxPointList *&#160;</td>
          <td class="paramname"><em>points</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>xoffset</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>yoffset</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="gdicmn_8h.html#a771e5c5703eb406b19fb50bb718eee05">wxPolygonFillMode</a>&#160;</td>
          <td class="paramname"><em>fill_style</em> = <code><a class="el" href="gdicmn_8h.html#a771e5c5703eb406b19fb50bb718eee05a8845ab62cc357dfde27baf7ebf10ffac">wxODDEVEN_RULE</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This method draws a filled polygon using a list of wxPoints, adding the optional offset coordinate. </p>
<p>The first and last points are automatically closed.</p>
<p>The last argument specifies the fill rule: <b>wxODDEVEN_RULE</b> (the default) or <b>wxWINDING_RULE</b>.</p>
<p>The current pen is used for drawing the outline, and the current brush for filling the shape. Using a transparent brush suppresses filling.</p>
<p>The programmer is responsible for deleting the list of points.</p>
<p><b>wxPerl Note:</b> The wxPerl version of this method accepts as its first parameter a reference to an array of <a class="el" href="classwx_point.html" title="A wxPoint is a useful data structure for graphics operations.">wxPoint</a> objects. </p>

</div>
</div>
<a class="anchor" id="ae760da96008debe42e18195d8ac8df3d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::DrawPolyPolygon </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>n</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>count</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classwx_point.html">wxPoint</a>&#160;</td>
          <td class="paramname"><em>points</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>xoffset</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>yoffset</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="gdicmn_8h.html#a771e5c5703eb406b19fb50bb718eee05">wxPolygonFillMode</a>&#160;</td>
          <td class="paramname"><em>fill_style</em> = <code><a class="el" href="gdicmn_8h.html#a771e5c5703eb406b19fb50bb718eee05a8845ab62cc357dfde27baf7ebf10ffac">wxODDEVEN_RULE</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Draws two or more filled polygons using an array of <em>points</em>, adding the optional offset coordinates. </p>
<p>Notice that for the platforms providing a native implementation of this function (Windows and PostScript-based <a class="el" href="classwx_d_c.html" title="A wxDC is a &quot;device context&quot; onto which graphics and text can be drawn.">wxDC</a> currently), this is more efficient than using <a class="el" href="classwx_d_c.html#a86e50a20fa6b634b9ce590ce8a900e1c" title="Draws a filled polygon using an array of points of size n, adding the optional offset coordinate...">DrawPolygon()</a> in a loop.</p>
<p><em>n</em> specifies the number of polygons to draw, the array <em>count</em> of size <em>n</em> specifies the number of points in each of the polygons in the <em>points</em> array.</p>
<p>The last argument specifies the fill rule: <b>wxODDEVEN_RULE</b> (the default) or <b>wxWINDING_RULE</b>.</p>
<p>The current pen is used for drawing the outline, and the current brush for filling the shape. Using a transparent brush suppresses filling.</p>
<p>The polygons maybe disjoint or overlapping. Each polygon specified in a call to <a class="el" href="classwx_d_c.html#ae760da96008debe42e18195d8ac8df3d" title="Draws two or more filled polygons using an array of points, adding the optional offset coordinates...">DrawPolyPolygon()</a> must be closed. Unlike polygons created by the <a class="el" href="classwx_d_c.html#a86e50a20fa6b634b9ce590ce8a900e1c" title="Draws a filled polygon using an array of points of size n, adding the optional offset coordinate...">DrawPolygon()</a> member function, the polygons created by this method are not closed automatically. </p>

</div>
</div>
<a class="anchor" id="a918b9ae3447a2fc13f4c38c628a45c01"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::DrawRectangle </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</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#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</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#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</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#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>height</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Draws a rectangle with the given top left corner, and with the given size. </p>
<p>The current pen is used for the outline and the current brush for filling the shape. </p>

</div>
</div>
<a class="anchor" id="a5499c7359d84871343e4875902c06a69"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::DrawRectangle </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classwx_point.html">wxPoint</a> &amp;&#160;</td>
          <td class="paramname"><em>pt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classwx_size.html">wxSize</a> &amp;&#160;</td>
          <td class="paramname"><em>sz</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>

</div>
</div>
<a class="anchor" id="ae0a8c6fe2eb45f6f03339b049db6b2b8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::DrawRectangle </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classwx_rect.html">wxRect</a> &amp;&#160;</td>
          <td class="paramname"><em>rect</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>

</div>
</div>
<a class="anchor" id="aae5aff11939d5c55ab5c50987e4f2521"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::DrawRotatedText </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> &amp;&#160;</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#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</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#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>angle</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Draws the text rotated by <em>angle</em> degrees (positive angles are counterclockwise; the full angle is 360 degrees). </p>
<dl class="section note"><dt>Note</dt><dd>Under Win9x only TrueType fonts can be drawn by this function. In particular, a font different from <code>wxNORMAL_FONT</code> should be used as the latter is not a TrueType font. <code>wxSWISS_FONT</code> is an example of a font which is.</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_d_c.html#a11d35ce34fccb57b0efc7dc91168660b" title="Draws a text string at the specified point, using the current text font, and the current text foregro...">DrawText()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a791bc8502da484f1d3163e360cf91e8a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::DrawRotatedText </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> &amp;&#160;</td>
          <td class="paramname"><em>text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classwx_point.html">wxPoint</a> &amp;&#160;</td>
          <td class="paramname"><em>point</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>angle</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>

</div>
</div>
<a class="anchor" id="a94db29e2a40a16dc19ac852d05cd65b0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::DrawRoundedRectangle </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</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#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</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#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</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#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>height</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>radius</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Draws a rectangle with the given top left corner, and with the given size. </p>
<p>The corners are quarter-circles using the given radius. The current pen is used for the outline and the current brush for filling the shape.</p>
<p>If <em>radius</em> is positive, the value is assumed to be the radius of the rounded corner. If <em>radius</em> is negative, the absolute value is assumed to be the <em>proportion</em> of the smallest dimension of the rectangle. This means that the corner can be a sensible size relative to the size of the rectangle, and also avoids the strange effects X produces when the corners are too big for the rectangle. </p>

</div>
</div>
<a class="anchor" id="a9e4b8ab031042016d434606eb7744c9c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::DrawRoundedRectangle </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classwx_point.html">wxPoint</a> &amp;&#160;</td>
          <td class="paramname"><em>pt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classwx_size.html">wxSize</a> &amp;&#160;</td>
          <td class="paramname"><em>sz</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>radius</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>

</div>
</div>
<a class="anchor" id="a926fb2251b9185e58f15c41f680aaf2a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::DrawRoundedRectangle </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classwx_rect.html">wxRect</a> &amp;&#160;</td>
          <td class="paramname"><em>rect</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>radius</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>

</div>
</div>
<a class="anchor" id="ad72d38c75ac6b3f80c1f957dd94089fa"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::DrawSpline </td>
          <td>(</td>
          <td class="paramtype">int&#160;</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_point.html">wxPoint</a>&#160;</td>
          <td class="paramname"><em>points</em>[]&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Draws a spline between all given points using the current pen. </p>
<p><b>wxPerl Note:</b> Not supported by wxPerl. </p>

</div>
</div>
<a class="anchor" id="aacfb4bab651f9eb572e42cd2870c40c6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::DrawSpline </td>
          <td>(</td>
          <td class="paramtype">const wxPointList *&#160;</td>
          <td class="paramname"><em>points</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>
<p><b>wxPerl Note:</b> The wxPerl version of this method accepts as its first parameter a reference to an array of <a class="el" href="classwx_point.html" title="A wxPoint is a useful data structure for graphics operations.">wxPoint</a> objects. </p>

</div>
</div>
<a class="anchor" id="a60c358ff3cfbf2b6f6d1918b527de98a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::DrawSpline </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</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#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</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#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</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#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>y2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>x3</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>y3</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>
<p><b>wxPerl Note:</b> Not supported by wxPerl. </p>

</div>
</div>
<a class="anchor" id="a11d35ce34fccb57b0efc7dc91168660b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::DrawText </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> &amp;&#160;</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#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</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#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Draws a text string at the specified point, using the current text font, and the current text foreground and background colours. </p>
<p>The coordinates refer to the top-left corner of the rectangle bounding the string. See <a class="el" href="classwx_d_c.html#ae55cbf1bc7b7e836cb192eb48d31efab" title="Gets the dimensions of the string using the currently selected font.">GetTextExtent()</a> for how to get the dimensions of a text string, which can be used to position the text more precisely and <a class="el" href="classwx_d_c.html#ae28d7aa2e17a850f4ca15c042a870152" title="Draw optional bitmap and the text into the given rectangle and aligns it as specified by alignment pa...">DrawLabel()</a> if you need to align the string differently.</p>
<p>Starting from wxWidgets 2.9.2 <em>text</em> parameter can be a multi-line string, i.e. contain new line characters, and will be rendered correctly.</p>
<dl class="section note"><dt>Note</dt><dd>The current <a class="el" href="classwx_d_c.html#aaa63fac56c04221856bcae7e669a64af">logical function</a> is ignored by this function. </dd></dl>

</div>
</div>
<a class="anchor" id="a17f5674c449449b730c63f773534d721"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::DrawText </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> &amp;&#160;</td>
          <td class="paramname"><em>text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classwx_point.html">wxPoint</a> &amp;&#160;</td>
          <td class="paramname"><em>pt</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>

</div>
</div>
<a class="anchor" id="a95a506a0153d24dc352577161d45081c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::EndDoc </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Ends a document (only relevant when outputting to a printer). </p>

</div>
</div>
<a class="anchor" id="a3867f84557ecaf68bfeacffea74e8902"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::EndPage </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Ends a document page (only relevant when outputting to a printer). </p>

</div>
</div>
<a class="anchor" id="af510e22ffc274d3d3b29659941f2b5a9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool wxDC::FloodFill </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</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#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</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_colour.html">wxColour</a> &amp;&#160;</td>
          <td class="paramname"><em>colour</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="interface_2wx_2dc_8h.html#a7ad228eb95f51d70574644e99d07dc8c">wxFloodFillStyle</a>&#160;</td>
          <td class="paramname"><em>style</em> = <code><a class="el" href="interface_2wx_2dc_8h.html#a7ad228eb95f51d70574644e99d07dc8ca7f2a8f896e5c592b1eb96174bc9a9a8a">wxFLOOD_SURFACE</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Flood fills the device context starting from the given point, using the current brush colour, and using a style: </p>
<ul>
<li>wxFLOOD_SURFACE: The flooding occurs until a colour other than the given colour is encountered.</li>
<li>wxFLOOD_BORDER: The area to be flooded is bounded by the given colour.</li>
</ul>
<p>Currently this method is not implemented in wxOSX and does nothing there.</p>
<dl class="section return"><dt>Returns</dt><dd><span class="literal">false</span> if the operation failed.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>The present implementation for non-Windows platforms may fail to find colour borders if the pixels do not match the colour exactly. However the function will still return <span class="literal">true</span>.</dd>
<dd>
This method shouldn't be used with <a class="el" 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> under non-Windows platforms as it uses <a class="el" href="classwx_d_c.html#a3f82f6b54ba2e6f348de7f779487b234" title="Gets in colour the colour at the specified location.">GetPixel()</a> internally and this may give wrong results, notably in wxGTK. If you need to flood fill <a class="el" 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>, create a temporary <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>, flood fill it and then blit it to, or draw as a bitmap on, <a class="el" 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>. See the example of doing this in the drawing sample and <a class="el" href="classwx_buffered_paint_d_c.html" title="This is a subclass of wxBufferedDC which can be used inside of an EVT_PAINT() event handler to achiev...">wxBufferedPaintDC</a> class. </dd></dl>

</div>
</div>
<a class="anchor" id="aa3ad38fdcd0e731af94bd9c3189e72e9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool wxDC::FloodFill </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classwx_point.html">wxPoint</a> &amp;&#160;</td>
          <td class="paramname"><em>pt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classwx_colour.html">wxColour</a> &amp;&#160;</td>
          <td class="paramname"><em>col</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="interface_2wx_2dc_8h.html#a7ad228eb95f51d70574644e99d07dc8c">wxFloodFillStyle</a>&#160;</td>
          <td class="paramname"><em>style</em> = <code><a class="el" href="interface_2wx_2dc_8h.html#a7ad228eb95f51d70574644e99d07dc8ca7f2a8f896e5c592b1eb96174bc9a9a8a">wxFLOOD_SURFACE</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>

</div>
</div>
<a class="anchor" id="a62f430b4ae4b4e0d91b8fba0ddd25658"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classwx_bitmap.html">wxBitmap</a> wxDC::GetAsBitmap </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classwx_rect.html">wxRect</a> *&#160;</td>
          <td class="paramname"><em>subrect</em> = <code>NULL</code></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>If supported by the platform and the type of DC, fetch the contents of the DC, or a subset of it, as a bitmap. </p>

</div>
</div>
<a class="anchor" id="ac9f6e5ace963178d3e167975b43d465d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classwx_brush.html">wxBrush</a>&amp; wxDC::GetBackground </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the brush used for painting the background. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_d_c.html#ad0139f6542f619244b80d4db7f685f86" title="Sets the current background brush for the DC.">wxDC::SetBackground()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a424e74e4790076a314511f86b8b7f408"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int wxDC::GetBackgroundMode </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the current background mode: <code>wxSOLID</code> or <code>wxTRANSPARENT</code>. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_d_c.html#a86c405ae265e6fdb4e393c4c9ada73c0" title="mode may be one of wxSOLID and wxTRANSPARENT.">SetBackgroundMode()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="aca9a1077274d59d88b31261de91665f0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classwx_brush.html">wxBrush</a>&amp; wxDC::GetBrush </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the current brush. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_d_c.html#a13978b2624116987a59ff729c4f81a96" title="Sets the current brush for the DC.">wxDC::SetBrush()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a6faa7a475c43b2305e9ffebac5259d15"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> wxDC::GetCharHeight </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the character height of the currently set font. </p>

</div>
</div>
<a class="anchor" id="a2d854a964cbabc521ac6a84b0b1ffe20"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> wxDC::GetCharWidth </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the average character width of the currently set font. </p>

</div>
</div>
<a class="anchor" id="ad5e374115511157ceed3d4c983a4dd7f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::GetClippingBox </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> *&#160;</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#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> *&#160;</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#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> *&#160;</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#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> *&#160;</td>
          <td class="paramname"><em>height</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the rectangle surrounding the current clipping region. </p>

</div>
</div>
<a class="anchor" id="a04e455c37a61a0929fc8328c0fdbc5f4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int wxDC::GetDepth </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the depth (number of bits/pixel) of this DC. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="group__group__funcmacro__gdi.html#gaa144903f36a28751aa9b80b3b5f804ba" title="Returns the depth of the display (a value of 1 denotes a monochrome display).">wxDisplayDepth()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a8c6448e0f9b102f764964c74b46be1a9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classwx_point.html">wxPoint</a> wxDC::GetDeviceOrigin </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the current device origin. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_d_c.html#a0a1c7d7d07d1faf3f7b89698bde769f3" title="Sets the device origin (i.e. the origin in pixels after scaling has been applied).">SetDeviceOrigin()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a06000dac38b658a388a9ad1d9d029a2a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classwx_font.html">wxFont</a>&amp; wxDC::GetFont </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the current font. </p>
<p>Notice that even although each device context object has some default font after creation, this method would return a <a class="el" href="interface_2wx_2font_8h.html#aa81b6e7b8f74356bfe604485a4be1066" title="An empty wxFont.">wxNullFont</a> initially and only after calling <a class="el" href="classwx_d_c.html#afab18239d707cd403235b36a987171a8" title="Sets the current font for the DC.">SetFont()</a> a valid font is returned. </p>

</div>
</div>
<a class="anchor" id="a017ad82379a6e52d6b2ba1d212b65950"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structwx_font_metrics.html">wxFontMetrics</a> wxDC::GetFontMetrics </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the various font characteristics. </p>
<p>This method allows to retrieve some of the font characteristics not returned by <a class="el" href="classwx_d_c.html#ae55cbf1bc7b7e836cb192eb48d31efab" title="Gets the dimensions of the string using the currently selected font.">GetTextExtent()</a>, notably internal leading and average character width.</p>
<p>Currently this method returns correct results only under wxMSW, in the other ports the internal leading will always be 0 and the average character width will be computed as the width of the character 'x'.</p>
<dl class="section since"><dt>Since</dt><dd>2.9.2 </dd></dl>

</div>
</div>
<a class="anchor" id="ab469dad2a356a9e03af8c530b70f181e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* wxDC::GetHandle </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns a value that can be used as a handle to the native drawing context, if this <a class="el" href="classwx_d_c.html" title="A wxDC is a &quot;device context&quot; onto which graphics and text can be drawn.">wxDC</a> has something that could be thought of in that way. </p>
<p>(Not all of them do.)</p>
<p>For example, on Windows the return value is an HDC, on OSX it is a CGContextRef and on wxGTK it will be a GdkDrawable. If the DC is a <a class="el" href="classwx_g_c_d_c.html" title="wxGCDC is a device context that draws on a wxGraphicsContext.">wxGCDC</a> then the return value will be the value returned from <a class="el" href="classwx_graphics_context.html#a4db645a38a60204b2fe91ab891038908" title="Returns the native context (CGContextRef for Core Graphics, Graphics pointer for GDIPlus and cairo_t ...">wxGraphicsContext::GetNativeContext</a>. A value of NULL is returned if the DC does not have anything that fits the handle concept.</p>
<dl class="section since"><dt>Since</dt><dd>2.9.5 </dd></dl>

</div>
</div>
<a class="anchor" id="a781d5a5c56d1c3caeca4e3e18847fb47"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="intl_8h.html#a7e30efec05ef9b40b1750ac046400c81">wxLayoutDirection</a> wxDC::GetLayoutDirection </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the current layout direction of the device context. </p>
<p>On platforms where RTL layout is supported, the return value will either be <code>wxLayout_LeftToRight</code> or <code>wxLayout_RightToLeft</code>. If RTL layout is not supported, the return value will be <code>wxLayout_Default</code>.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_d_c.html#a16196571f402cabf506619e8bf9f1586" title="Sets the current layout direction for the device context.">SetLayoutDirection()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="aaa63fac56c04221856bcae7e669a64af"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="interface_2wx_2dc_8h.html#a07398221a1f9dfecf424c90c5c777d54">wxRasterOperationMode</a> wxDC::GetLogicalFunction </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the current logical function. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_d_c.html#aae8adce8cf260bf703b8e76784bd577d" title="Sets the current logical function for the device context.">SetLogicalFunction()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ae045e468451ef72c70b6b94d418ab2e6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::GetLogicalOrigin </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> *&#160;</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#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> *&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a2e0817f3073c1661d52351afff46c379"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classwx_point.html">wxPoint</a> wxDC::GetLogicalOrigin </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ab857836d90a4b12f2cc26488fda0e328"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::GetLogicalScale </td>
          <td>(</td>
          <td class="paramtype">double *&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double *&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a05edb97114a25ac879146b87a7c1d8f5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="interface_2wx_2dc_8h.html#a5a641b839b9ac2ff94514d0596f6e20a">wxMappingMode</a> wxDC::GetMapMode </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the current mapping mode for the device context. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_d_c.html#aa07ef94e2f3af5b64345c3f94333e86e" title="The mapping mode of the device context defines the unit of measurement used to convert logical units ...">SetMapMode()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a1983be5fdf9e88127d15fff119a0ef03"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::GetMultiLineTextExtent </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> &amp;&#160;</td>
          <td class="paramname"><em>string</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> *&#160;</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#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> *&#160;</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#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> *&#160;</td>
          <td class="paramname"><em>heightLine</em> = <code>NULL</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classwx_font.html">wxFont</a> *&#160;</td>
          <td class="paramname"><em>font</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the dimensions of the string using the currently selected font. </p>
<p><em>string</em> is the text string to measure, <em>heightLine</em>, if non <span class="literal">NULL</span>, is where to store the height of a single line.</p>
<p>The text extent is set in the given <em>w</em> and <em>h</em> pointers.</p>
<p>If the optional parameter <em>font</em> is specified and valid, then it is used for the text extent calculation, otherwise the currently selected font is used.</p>
<dl class="section note"><dt>Note</dt><dd>This function works with both single-line and multi-line strings.</dd></dl>
<p><b>wxPerl Note:</b> In wxPerl this method is implemented as GetMultiLineTextExtent(string, font = undef) returning a 3-element list (width, height, line_height)</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_font.html" title="A font is an object which determines the appearance of text.">wxFont</a>, <a class="el" href="classwx_d_c.html#afab18239d707cd403235b36a987171a8" title="Sets the current font for the DC.">SetFont()</a>, <a class="el" href="classwx_d_c.html#aa0dd5cdd1ce56ff3d1c23d233711653d" title="Fills the widths array with the widths from the beginning of text to the corresponding character of t...">GetPartialTextExtents()</a>, <a class="el" href="classwx_d_c.html#ae55cbf1bc7b7e836cb192eb48d31efab" title="Gets the dimensions of the string using the currently selected font.">GetTextExtent()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="af04e14231873e8659c4e88036f1bb8ce"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classwx_size.html">wxSize</a> wxDC::GetMultiLineTextExtent </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> &amp;&#160;</td>
          <td class="paramname"><em>string</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the dimensions of the string using the currently selected font. </p>
<p><em>string</em> is the text string to measure, <em>heightLine</em>, if non <span class="literal">NULL</span>, is where to store the height of a single line.</p>
<dl class="section return"><dt>Returns</dt><dd>The text extent as a <a class="el" href="classwx_size.html" title="A wxSize is a useful data structure for graphics operations.">wxSize</a> object.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>This function works with both single-line and multi-line strings.</dd></dl>
<p><b>wxPerl Note:</b> Not supported by wxPerl.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_font.html" title="A font is an object which determines the appearance of text.">wxFont</a>, <a class="el" href="classwx_d_c.html#afab18239d707cd403235b36a987171a8" title="Sets the current font for the DC.">SetFont()</a>, <a class="el" href="classwx_d_c.html#aa0dd5cdd1ce56ff3d1c23d233711653d" title="Fills the widths array with the widths from the beginning of text to the corresponding character of t...">GetPartialTextExtents()</a>, <a class="el" href="classwx_d_c.html#ae55cbf1bc7b7e836cb192eb48d31efab" title="Gets the dimensions of the string using the currently selected font.">GetTextExtent()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="aa0dd5cdd1ce56ff3d1c23d233711653d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool wxDC::GetPartialTextExtents </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> &amp;&#160;</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#add87f199292e36ee87efd6d7f0d4ee66">wxArrayInt</a> &amp;&#160;</td>
          <td class="paramname"><em>widths</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</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>
<p>The generic version simply builds a running total of the widths of each character using <a class="el" href="classwx_d_c.html#ae55cbf1bc7b7e836cb192eb48d31efab" title="Gets the dimensions of the string using the currently selected font.">GetTextExtent()</a>, however if the various platforms have a native API function that is faster or more accurate than the generic implementation then it should be used instead.</p>
<p><b>wxPerl Note:</b> In wxPerl this method only takes the <em>text</em> parameter and returns the widths as a list of integers.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_d_c.html#a1983be5fdf9e88127d15fff119a0ef03" title="Gets the dimensions of the string using the currently selected font.">GetMultiLineTextExtent()</a>, <a class="el" href="classwx_d_c.html#ae55cbf1bc7b7e836cb192eb48d31efab" title="Gets the dimensions of the string using the currently selected font.">GetTextExtent()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a575cce713b210ca802d9d7ba0d39d3a7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classwx_pen.html">wxPen</a>&amp; wxDC::GetPen </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the current pen. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_d_c.html#a0d229733fbc83c7e4c483c0714d090b2" title="Sets the current pen for the DC.">SetPen()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a3f82f6b54ba2e6f348de7f779487b234"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool wxDC::GetPixel </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</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#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classwx_colour.html">wxColour</a> *&#160;</td>
          <td class="paramname"><em>colour</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets in <em>colour</em> the colour at the specified location. </p>
<p>Not available for <a class="el" href="classwx_post_script_d_c.html" title="This defines the wxWidgets Encapsulated PostScript device context, which can write PostScript files o...">wxPostScriptDC</a> or <a class="el" href="classwx_metafile_d_c.html" title="This is a type of device context that allows a metafile object to be created (Windows only)...">wxMetafileDC</a>.</p>
<dl class="section note"><dt>Note</dt><dd>Setting a pixel can be done using <a class="el" href="classwx_d_c.html#a8380aab866e8f3947e0898cf08969d9f" title="Draws a point using the color of the current pen.">DrawPoint()</a>.</dd>
<dd>
This method shouldn't be used with <a class="el" 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> as accessing the DC while drawing can result in unexpected results, notably in wxGTK. </dd></dl>

</div>
</div>
<a class="anchor" id="ad21c33ad6a0a0f3d620bc39633fa8268"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classwx_size.html">wxSize</a> wxDC::GetPPI </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the resolution of the device in pixels per inch. </p>

</div>
</div>
<a class="anchor" id="ab4c22c7c7490a4aabc13dfd9e7a285a3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::GetSize </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> *&#160;</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#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> *&#160;</td>
          <td class="paramname"><em>height</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the horizontal and vertical extent of this device context in <em>device</em> units. </p>
<p>It can be used to scale graphics to fit the page.</p>
<p>For example, if <em>maxX</em> and <em>maxY</em> represent the maximum horizontal and vertical 'pixel' values used in your application, the following code will scale the graphic to fit on the printer page:</p>
<div class="fragment"><div class="line"><a class="code" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770" title="The type for screen and DC coordinates.">wxCoord</a> w, h;</div>
<div class="line">dc.GetSize(&amp;w, &amp;h);</div>
<div class="line"><span class="keywordtype">double</span> scaleX = (double)(maxX / w);</div>
<div class="line"><span class="keywordtype">double</span> scaleY = (double)(maxY / h);</div>
<div class="line">dc.SetUserScale(min(scaleX, scaleY),min(scaleX, scaleY));</div>
</div><!-- fragment --><p><b>wxPerl Note:</b> In wxPerl there are two methods instead of a single overloaded method:</p>
<ul>
<li><a class="el" href="classwx_d_c.html#ab4c22c7c7490a4aabc13dfd9e7a285a3" title="Gets the horizontal and vertical extent of this device context in device units.">GetSize()</a>: returns a Wx::Size object.</li>
<li>GetSizeWH(): returns a 2-element list (width, height). </li>
</ul>

</div>
</div>
<a class="anchor" id="a29c2c2fb580e287e31789c681445dc76"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classwx_size.html">wxSize</a> wxDC::GetSize </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>

</div>
</div>
<a class="anchor" id="a079324d560b2c88a150962101ff3a055"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::GetSizeMM </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> *&#160;</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#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> *&#160;</td>
          <td class="paramname"><em>height</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the horizontal and vertical resolution in millimetres. </p>

</div>
</div>
<a class="anchor" id="a4365cedbd78180624a1b9abf1dad730d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classwx_size.html">wxSize</a> wxDC::GetSizeMM </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>

</div>
</div>
<a class="anchor" id="a1f3d318c90a2e7a89fb116feeacd4bcf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classwx_colour.html">wxColour</a>&amp; wxDC::GetTextBackground </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the current text background colour. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_d_c.html#a3ed22bd0a0b835d4d085261bb022766b" title="Sets the current text background colour for the DC.">SetTextBackground()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ae55cbf1bc7b7e836cb192eb48d31efab"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::GetTextExtent </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> &amp;&#160;</td>
          <td class="paramname"><em>string</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> *&#160;</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#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> *&#160;</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#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> *&#160;</td>
          <td class="paramname"><em>descent</em> = <code>NULL</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> *&#160;</td>
          <td class="paramname"><em>externalLeading</em> = <code>NULL</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classwx_font.html">wxFont</a> *&#160;</td>
          <td class="paramname"><em>font</em> = <code>NULL</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the dimensions of the string using the currently selected font. </p>
<p><em>string</em> is the text string to measure, <em>descent</em> is the dimension from the baseline of the font to the bottom of the descender, and <em>externalLeading</em> is any extra vertical space added to the font by the font designer (usually is zero).</p>
<p>The text extent is returned in <em>w</em> and <em>h</em> pointers or as a <a class="el" href="classwx_size.html" title="A wxSize is a useful data structure for graphics operations.">wxSize</a> object depending on which version of this function is used.</p>
<p>If the optional parameter <em>font</em> is specified and valid, then it is used for the text extent calculation. Otherwise the currently selected font is.</p>
<dl class="section note"><dt>Note</dt><dd>This function only works with single-line strings.</dd></dl>
<p><b>wxPerl Note:</b> In wxPerl this method is implemented as GetTextExtent(string, font = undef) returning a 4-element list (width, height, descent, externalLeading)</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_font.html" title="A font is an object which determines the appearance of text.">wxFont</a>, <a class="el" href="classwx_d_c.html#afab18239d707cd403235b36a987171a8" title="Sets the current font for the DC.">SetFont()</a>, <a class="el" href="classwx_d_c.html#aa0dd5cdd1ce56ff3d1c23d233711653d" title="Fills the widths array with the widths from the beginning of text to the corresponding character of t...">GetPartialTextExtents()</a>, <a class="el" href="classwx_d_c.html#a1983be5fdf9e88127d15fff119a0ef03" title="Gets the dimensions of the string using the currently selected font.">GetMultiLineTextExtent()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ac195999acf9dd440bf92272eb4206c35"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classwx_size.html">wxSize</a> wxDC::GetTextExtent </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> &amp;&#160;</td>
          <td class="paramname"><em>string</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>
<p><b>wxPerl Note:</b> Not supported by wxPerl. </p>

</div>
</div>
<a class="anchor" id="a0f044e87752d3c5e49a7f028fb3c44de"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classwx_colour.html">wxColour</a>&amp; wxDC::GetTextForeground </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the current text foreground colour. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_d_c.html#aeac811df9a1688ce875117f3049849d6" title="Sets the current text foreground colour for the DC.">SetTextForeground()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ae763dfe2be3673044770adb67f7a212f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classwx_affine_matrix2_d.html">wxAffineMatrix2D</a> wxDC::GetTransformMatrix </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Return the transformation matrix used by this device context. </p>
<p>By default the transformation matrix is the identity matrix.</p>
<dl class="section since"><dt>Since</dt><dd>2.9.2 </dd></dl>

</div>
</div>
<a class="anchor" id="a8be86f17ac3fcf8925372825a9210120"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::GetUserScale </td>
          <td>(</td>
          <td class="paramtype">double *&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double *&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the current user scale factor. </p>
<p><b>wxPerl Note:</b> In wxPerl this method takes no arguments and return a two element array (x, y).</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_d_c.html#a190e43cf66ef402aa67f759d20f22eb0" title="Sets the user scaling factor, useful for applications which require &#39;zooming&#39;.">SetUserScale()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a323802ed579056fce98220f5d1778076"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::GradientFillConcentric </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classwx_rect.html">wxRect</a> &amp;&#160;</td>
          <td class="paramname"><em>rect</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classwx_colour.html">wxColour</a> &amp;&#160;</td>
          <td class="paramname"><em>initialColour</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classwx_colour.html">wxColour</a> &amp;&#160;</td>
          <td class="paramname"><em>destColour</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Fill the area specified by rect with a radial gradient, starting from <em>initialColour</em> at the centre of the circle and fading to <em>destColour</em> on the circle outside. </p>
<p>The circle is placed at the centre of <em>rect</em>.</p>
<dl class="section note"><dt>Note</dt><dd>Currently this function is very slow, don't use it for real-time drawing. </dd></dl>

</div>
</div>
<a class="anchor" id="a2f0cd1850aefeda55b25cf56d55ac495"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::GradientFillConcentric </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classwx_rect.html">wxRect</a> &amp;&#160;</td>
          <td class="paramname"><em>rect</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classwx_colour.html">wxColour</a> &amp;&#160;</td>
          <td class="paramname"><em>initialColour</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classwx_colour.html">wxColour</a> &amp;&#160;</td>
          <td class="paramname"><em>destColour</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classwx_point.html">wxPoint</a> &amp;&#160;</td>
          <td class="paramname"><em>circleCenter</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Fill the area specified by rect with a radial gradient, starting from <em>initialColour</em> at the centre of the circle and fading to <em>destColour</em> on the circle outside. </p>
<p><em>circleCenter</em> are the relative coordinates of centre of the circle in the specified <em>rect</em>.</p>
<dl class="section note"><dt>Note</dt><dd>Currently this function is very slow, don't use it for real-time drawing. </dd></dl>

</div>
</div>
<a class="anchor" id="a9cfbde2fcde06ffacf323f3a9dd1b020"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::GradientFillLinear </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classwx_rect.html">wxRect</a> &amp;&#160;</td>
          <td class="paramname"><em>rect</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classwx_colour.html">wxColour</a> &amp;&#160;</td>
          <td class="paramname"><em>initialColour</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classwx_colour.html">wxColour</a> &amp;&#160;</td>
          <td class="paramname"><em>destColour</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#ac0f30319732dcceda470516918ff3556">wxDirection</a>&#160;</td>
          <td class="paramname"><em>nDirection</em> = <code><a class="el" href="defs_8h.html#ac0f30319732dcceda470516918ff3556a2b2d18b748d21a493f82e589f1a05746">wxRIGHT</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Fill the area specified by <em>rect</em> with a linear gradient, starting from <em>initialColour</em> and eventually fading to <em>destColour</em>. </p>
<p>The <em>nDirection</em> specifies the direction of the colour change, default is to use <em>initialColour</em> on the left part of the rectangle and <em>destColour</em> on the right one. </p>

</div>
</div>
<a class="anchor" id="aac2d04cf636651fbbc943d4236586e3a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool wxDC::IsOk </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns <span class="literal">true</span> if the DC is ok to use. </p>

</div>
</div>
<a class="anchor" id="a3f551058c92d68efa61548d266f6a750"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> wxDC::LogicalToDeviceX </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>x</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Converts logical X coordinate to device coordinate, using the current mapping mode, user scale factor, device origin and axis orientation. </p>

</div>
</div>
<a class="anchor" id="adccbd84729882831bcbd0cb2c3e550a6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> wxDC::LogicalToDeviceXRel </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>x</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Converts logical X coordinate to relative device coordinate, using the current mapping mode and user scale factor but ignoring the axis orientation. </p>
<p>Use this for converting a width, for example. </p>

</div>
</div>
<a class="anchor" id="a9b5bd5a823388f8b941406315c5eeafb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> wxDC::LogicalToDeviceY </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>y</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Converts logical Y coordinate to device coordinate, using the current mapping mode, user scale factor, device origin and axis orientation. </p>

</div>
</div>
<a class="anchor" id="aea082fd9d45adb6783542493439b73dc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> wxDC::LogicalToDeviceYRel </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>y</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Converts logical Y coordinate to relative device coordinate, using the current mapping mode and user scale factor but ignoring the axis orientation. </p>
<p>Use this for converting a height, for example. </p>

</div>
</div>
<a class="anchor" id="a8829696c6ebabed7053f8a9479fabeef"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> wxDC::MaxX </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the maximum horizontal extent used in drawing commands so far. </p>

</div>
</div>
<a class="anchor" id="a90b1bc13bd01e442754e91935a8d0ef3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> wxDC::MaxY </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the maximum vertical extent used in drawing commands so far. </p>

</div>
</div>
<a class="anchor" id="a603de4a911be9500e5eb5ffda87750bc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> wxDC::MinX </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the minimum horizontal extent used in drawing commands so far. </p>

</div>
</div>
<a class="anchor" id="aecfe126a0ebb9818f1b3abf43675e744"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a> wxDC::MinY </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the minimum vertical extent used in drawing commands so far. </p>

</div>
</div>
<a class="anchor" id="a35ed8c0c64315ec85588142d44f83af8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::ResetBoundingBox </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Resets the bounding box: after a call to this function, the bounding box doesn't contain anything. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_d_c.html#a850699d4fdc9006421b085d2d37fa0c0" title="Adds the specified point to the bounding box which can be retrieved with MinX(), MaxX() and MinY()...">CalcBoundingBox()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a41a9a4f616da21afdcad0fe1585ca066"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::ResetTransformMatrix </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Revert the transformation matrix to identity matrix. </p>
<dl class="section since"><dt>Since</dt><dd>2.9.2 </dd></dl>

</div>
</div>
<a class="anchor" id="a1ada4defde484280fb24c4c47d24e0e8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::SetAxisOrientation </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>xLeftRight</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>yBottomUp</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the x and y axis orientation (i.e. the direction from lowest to highest values on the axis). </p>
<p>The default orientation is x axis from left to right and y axis from top down.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">xLeftRight</td><td>True to set the x axis orientation to the natural left to right orientation, <span class="literal">false</span> to invert it. </td></tr>
    <tr><td class="paramname">yBottomUp</td><td>True to set the y axis orientation to the natural bottom up orientation, <span class="literal">false</span> to invert it. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ad0139f6542f619244b80d4db7f685f86"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::SetBackground </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classwx_brush.html">wxBrush</a> &amp;&#160;</td>
          <td class="paramname"><em>brush</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the current background brush for the DC. </p>

</div>
</div>
<a class="anchor" id="a86c405ae265e6fdb4e393c4c9ada73c0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::SetBackgroundMode </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>mode</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><em>mode</em> may be one of <code>wxSOLID</code> and <code>wxTRANSPARENT</code>. </p>
<p>This setting determines whether text will be drawn with a background colour or not. </p>

</div>
</div>
<a class="anchor" id="a13978b2624116987a59ff729c4f81a96"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::SetBrush </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classwx_brush.html">wxBrush</a> &amp;&#160;</td>
          <td class="paramname"><em>brush</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the current brush for the DC. </p>
<p>If the argument is <a class="el" href="brush_8h.html#a9919a44109f2c6091c71aece17ca7013" title="An empty brush.">wxNullBrush</a> (or another invalid brush; see <a class="el" href="classwx_brush.html#aafe8cee326d90dc7145968370153ba0a" title="Returns true if the brush is initialised.">wxBrush::IsOk</a>), the current brush is selected out of the device context (leaving <a class="el" href="classwx_d_c.html" title="A wxDC is a &quot;device context&quot; onto which graphics and text can be drawn.">wxDC</a> without any valid brush), allowing the current brush to be destroyed safely.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_brush.html" title="A brush is a drawing tool for filling in areas.">wxBrush</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> (for the interpretation of colours when drawing into a monochrome bitmap) </dd></dl>

</div>
</div>
<a class="anchor" id="a21ce8b27db0da5d68b8571d0ff39114b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::SetClippingRegion </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</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#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</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#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</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#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>height</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the clipping region for this device context to the intersection of the given region described by the parameters of this method and the previously set clipping region. </p>
<p>The clipping region is an area to which drawing is restricted. Possible uses for the clipping region are for clipping text or for speeding up window redraws when only a known area of the screen is damaged.</p>
<p>Notice that you need to call <a class="el" href="classwx_d_c.html#ae0b0fc593c4559b9ac70e121bd28e3b4" title="Destroys the current clipping region so that none of the DC is clipped.">DestroyClippingRegion()</a> if you want to set the clipping region exactly to the region specified.</p>
<p>Also note that if the clipping region is empty, any previously set clipping region is destroyed, i.e. it is equivalent to calling <a class="el" href="classwx_d_c.html#ae0b0fc593c4559b9ac70e121bd28e3b4" title="Destroys the current clipping region so that none of the DC is clipped.">DestroyClippingRegion()</a>, and not to clipping out all drawing on the DC as might be expected.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_d_c.html#ae0b0fc593c4559b9ac70e121bd28e3b4" title="Destroys the current clipping region so that none of the DC is clipped.">DestroyClippingRegion()</a>, <a class="el" href="classwx_region.html" title="A wxRegion represents a simple or complex region on a device context or window.">wxRegion</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a800f7ca2a4a7588ff68d808eb06191e1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::SetClippingRegion </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classwx_point.html">wxPoint</a> &amp;&#160;</td>
          <td class="paramname"><em>pt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classwx_size.html">wxSize</a> &amp;&#160;</td>
          <td class="paramname"><em>sz</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>

</div>
</div>
<a class="anchor" id="a9a397f713db57f7999b5851a5b25dd84"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::SetClippingRegion </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classwx_rect.html">wxRect</a> &amp;&#160;</td>
          <td class="paramname"><em>rect</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. </p>

</div>
</div>
<a class="anchor" id="a382a46c105ebad94e848e74e9cc0b4b1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::SetDeviceClippingRegion </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classwx_region.html">wxRegion</a> &amp;&#160;</td>
          <td class="paramname"><em>region</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the clipping region for this device context. </p>
<p>Unlike <a class="el" href="classwx_d_c.html#a21ce8b27db0da5d68b8571d0ff39114b" title="Sets the clipping region for this device context to the intersection of the given region described by...">SetClippingRegion()</a>, this function works with physical coordinates and not with the logical ones. </p>

</div>
</div>
<a class="anchor" id="a0a1c7d7d07d1faf3f7b89698bde769f3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::SetDeviceOrigin </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</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#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the device origin (i.e. the origin in pixels after scaling has been applied). </p>
<p>This function may be useful in Windows printing operations for placing a graphic on a page. </p>

</div>
</div>
<a class="anchor" id="afab18239d707cd403235b36a987171a8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::SetFont </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classwx_font.html">wxFont</a> &amp;&#160;</td>
          <td class="paramname"><em>font</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the current font for the DC. </p>
<p>If the argument is <a class="el" href="interface_2wx_2font_8h.html#aa81b6e7b8f74356bfe604485a4be1066" title="An empty wxFont.">wxNullFont</a> (or another invalid font; see <a class="el" href="classwx_font.html#a3ea0ba08b44ea25a2c52cf18efb6856e" title="Returns true if this object is a valid font, false otherwise.">wxFont::IsOk</a>), the current font is selected out of the device context (leaving <a class="el" href="classwx_d_c.html" title="A wxDC is a &quot;device context&quot; onto which graphics and text can be drawn.">wxDC</a> without any valid font), allowing the current font to be destroyed safely.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_font.html" title="A font is an object which determines the appearance of text.">wxFont</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a16196571f402cabf506619e8bf9f1586"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::SetLayoutDirection </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="intl_8h.html#a7e30efec05ef9b40b1750ac046400c81">wxLayoutDirection</a>&#160;</td>
          <td class="paramname"><em>dir</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the current layout direction for the device context. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dir</td><td>May be either <code>wxLayout_Default</code>, <code>wxLayout_LeftToRight</code> or <code>wxLayout_RightToLeft</code>.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_d_c.html#a781d5a5c56d1c3caeca4e3e18847fb47" title="Gets the current layout direction of the device context.">GetLayoutDirection()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="aae8adce8cf260bf703b8e76784bd577d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::SetLogicalFunction </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="interface_2wx_2dc_8h.html#a07398221a1f9dfecf424c90c5c777d54">wxRasterOperationMode</a>&#160;</td>
          <td class="paramname"><em>function</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the current logical function for the device context. </p>
<p>It determines how a <em>source</em> pixel (from a pen or brush colour, or source device context if using <a class="el" href="classwx_d_c.html#a12bed94a15136b9080683f4151042a34" title="Copy from a source DC to this DC.">Blit()</a>) combines with a <em>destination</em> pixel in the current device context. Text drawing is not affected by this function.</p>
<p>See <a class="el" href="interface_2wx_2dc_8h.html#a07398221a1f9dfecf424c90c5c777d54" title="Logical raster operations which can be used with wxDC::SetLogicalFunction and some other wxDC functio...">wxRasterOperationMode</a> enumeration values for more info.</p>
<p>The default is <code>wxCOPY</code>, which simply draws with the current colour. The others combine the current colour and the background using a logical operation. <code>wxINVERT</code> is commonly used for drawing rubber bands or moving outlines, since drawing twice reverts to the original colour. </p>

</div>
</div>
<a class="anchor" id="a4ce7dda4ff2f3ece524b8d538b346b6f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::SetLogicalOrigin </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</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#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="aae1c728cdd2f43601f876b7d67067a39"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::SetLogicalScale </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="aa07ef94e2f3af5b64345c3f94333e86e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::SetMapMode </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="interface_2wx_2dc_8h.html#a5a641b839b9ac2ff94514d0596f6e20a">wxMappingMode</a>&#160;</td>
          <td class="paramname"><em>mode</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The mapping mode of the device context defines the unit of measurement used to convert <em>logical</em> units to <em>device</em> units. </p>
<p>Note that in X, text drawing isn't handled consistently with the mapping mode; a font is always specified in point size. However, setting the user scale (see <a class="el" href="classwx_d_c.html#a190e43cf66ef402aa67f759d20f22eb0" title="Sets the user scaling factor, useful for applications which require &#39;zooming&#39;.">SetUserScale()</a>) scales the text appropriately. In Windows, scalable TrueType fonts are always used; in X, results depend on availability of fonts, but usually a reasonable match is found.</p>
<p>The coordinate origin is always at the top left of the screen/printer.</p>
<p>Drawing to a Windows printer device context uses the current mapping mode, but mapping mode is currently ignored for PostScript output. </p>

</div>
</div>
<a class="anchor" id="afc58b0f4653159e713377d38c84a120f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::SetPalette </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classwx_palette.html">wxPalette</a> &amp;&#160;</td>
          <td class="paramname"><em>palette</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>If this is a window DC or memory DC, assigns the given palette to the window or bitmap associated with the DC. </p>
<p>If the argument is <a class="el" href="palette_8h.html#a2ecbe58191b89a50dd5dd0643e29f708" title="An empty palette.">wxNullPalette</a>, the current palette is selected out of the device context, and the original palette restored.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_palette.html" title="A palette is a table that maps pixel values to RGB colours.">wxPalette</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a0d229733fbc83c7e4c483c0714d090b2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::SetPen </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classwx_pen.html">wxPen</a> &amp;&#160;</td>
          <td class="paramname"><em>pen</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the current pen for the DC. </p>
<p>If the argument is <a class="el" href="pen_8h.html#a4dbfd18a818b95630453f3d755a1c95d" title="An empty pen.">wxNullPen</a> (or another invalid pen; see <a class="el" href="classwx_pen.html#ad36b523a05e5dc6f26cedcbe4e09e513" title="Returns true if the pen is initialised.">wxPen::IsOk</a>), the current pen is selected out of the device context (leaving <a class="el" href="classwx_d_c.html" title="A wxDC is a &quot;device context&quot; onto which graphics and text can be drawn.">wxDC</a> without any valid pen), allowing the current pen to be destroyed safely.</p>
<dl class="section see"><dt>See Also</dt><dd><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> for the interpretation of colours when drawing into a monochrome bitmap. </dd></dl>

</div>
</div>
<a class="anchor" id="a3ed22bd0a0b835d4d085261bb022766b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::SetTextBackground </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classwx_colour.html">wxColour</a> &amp;&#160;</td>
          <td class="paramname"><em>colour</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the current text background colour for the DC. </p>

</div>
</div>
<a class="anchor" id="aeac811df9a1688ce875117f3049849d6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::SetTextForeground </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classwx_colour.html">wxColour</a> &amp;&#160;</td>
          <td class="paramname"><em>colour</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the current text foreground colour for the DC. </p>
<dl class="section see"><dt>See Also</dt><dd><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> for the interpretation of colours when drawing into a monochrome bitmap. </dd></dl>

</div>
</div>
<a class="anchor" id="a6e3243fcb5d194ef5637f4bda11a49c3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool wxDC::SetTransformMatrix </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classwx_affine_matrix2_d.html">wxAffineMatrix2D</a> &amp;&#160;</td>
          <td class="paramname"><em>matrix</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the transformation matrix. </p>
<p>If transformation matrix is supported on the current system, the specified <em>matrix</em> will be used to transform between <a class="el" href="classwx_d_c.html" title="A wxDC is a &quot;device context&quot; onto which graphics and text can be drawn.">wxDC</a> and physical coordinates. Otherwise the function returns <span class="literal">false</span> and doesn't change the coordinate mapping.</p>
<dl class="section since"><dt>Since</dt><dd>2.9.2 </dd></dl>

</div>
</div>
<a class="anchor" id="a190e43cf66ef402aa67f759d20f22eb0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::SetUserScale </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>xScale</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>yScale</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the user scaling factor, useful for applications which require 'zooming'. </p>

</div>
</div>
<a class="anchor" id="ad6572581c9d31dc349b6a7462426856c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool wxDC::StartDoc </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classwx_string.html">wxString</a> &amp;&#160;</td>
          <td class="paramname"><em>message</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Starts a document (only relevant when outputting to a printer). </p>
<p><em>message</em> is a message to show while printing. </p>

</div>
</div>
<a class="anchor" id="a94c855ceb9f2fd5dcd1cf61396c13576"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void wxDC::StartPage </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Starts a document page (only relevant when outputting to a printer). </p>

</div>
</div>
<a class="anchor" id="a82801167a35e747218c49aa2161ae4bf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool wxDC::StretchBlit </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>xdest</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>ydest</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>dstWidth</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>dstHeight</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classwx_d_c.html">wxDC</a> *&#160;</td>
          <td class="paramname"><em>source</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>xsrc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>ysrc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>srcWidth</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>srcHeight</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="interface_2wx_2dc_8h.html#a07398221a1f9dfecf424c90c5c777d54">wxRasterOperationMode</a>&#160;</td>
          <td class="paramname"><em>logicalFunc</em> = <code><a class="el" href="interface_2wx_2dc_8h.html#a07398221a1f9dfecf424c90c5c777d54a42adf0b5dc2b539faec99078b4377164">wxCOPY</a></code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>useMask</em> = <code>false</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>xsrcMask</em> = <code><a class="el" href="defs_8h.html#ae297119c813ec5d3328ce3f43f9ac6c1">wxDefaultCoord</a></code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="defs_8h.html#a11f6efc0e8d8d680f3ec8e82aa4f1770">wxCoord</a>&#160;</td>
          <td class="paramname"><em>ysrcMask</em> = <code><a class="el" href="defs_8h.html#ae297119c813ec5d3328ce3f43f9ac6c1">wxDefaultCoord</a></code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Copy from a source DC to this DC possibly changing the scale. </p>
<p>Unlike <a class="el" href="classwx_d_c.html#a12bed94a15136b9080683f4151042a34" title="Copy from a source DC to this DC.">Blit()</a>, this method allows to specify different source and destination region sizes, meaning that it can stretch or shrink it while copying. The same can be achieved by changing the scale of the source or target DC but calling this method is simpler and can also be more efficient if the platform provides a native implementation of it.</p>
<p>The meaning of its other parameters is the same as with <a class="el" href="classwx_d_c.html#a12bed94a15136b9080683f4151042a34" title="Copy from a source DC to this DC.">Blit()</a>, in particular all source coordinates are interpreted using the source DC coordinate system, i.e. are affected by its scale, origin translation and axis direction.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">xdest</td><td>Destination device context x position. </td></tr>
    <tr><td class="paramname">ydest</td><td>Destination device context y position. </td></tr>
    <tr><td class="paramname">dstWidth</td><td>Width of destination area. </td></tr>
    <tr><td class="paramname">dstHeight</td><td>Height of destination area. </td></tr>
    <tr><td class="paramname">source</td><td>Source device context. </td></tr>
    <tr><td class="paramname">xsrc</td><td>Source device context x position. </td></tr>
    <tr><td class="paramname">ysrc</td><td>Source device context y position. </td></tr>
    <tr><td class="paramname">srcWidth</td><td>Width of source area to be copied. </td></tr>
    <tr><td class="paramname">srcHeight</td><td>Height of source area to be copied. </td></tr>
    <tr><td class="paramname">logicalFunc</td><td>Logical function to use, see <a class="el" href="classwx_d_c.html#aae8adce8cf260bf703b8e76784bd577d" title="Sets the current logical function for the device context.">SetLogicalFunction()</a>. </td></tr>
    <tr><td class="paramname">useMask</td><td>If <span class="literal">true</span>, Blit does a transparent blit using the mask that is associated with the bitmap selected into the source device context. The Windows implementation does the following if MaskBlt cannot be used: <ol>
<li>
Creates a temporary bitmap and copies the destination area into it. </li>
<li>
Copies the source area into the temporary bitmap using the specified logical function. </li>
<li>
Sets the masked area in the temporary bitmap to BLACK by ANDing the mask bitmap with the temp bitmap with the foreground colour set to WHITE and the bg colour set to BLACK. </li>
<li>
Sets the unmasked area in the destination area to BLACK by ANDing the mask bitmap with the destination area with the foreground colour set to BLACK and the background colour set to WHITE. </li>
<li>
ORs the temporary bitmap with the destination area. </li>
<li>
Deletes the temporary bitmap. </li>
</ol>
This sequence of operations ensures that the source's transparent area need not be black, and logical functions are supported. <br/>
 <b>Note:</b> on Windows, blitting with masks can be speeded up considerably by compiling wxWidgets with the wxUSE_DC_CACHEING option enabled. You can also influence whether MaskBlt or the explicit mask blitting code above is used, by using <a class="el" href="classwx_system_options.html" title="wxSystemOptions stores option/value pairs that wxWidgets itself or applications can use to alter beha...">wxSystemOptions</a> and setting the <code>no-maskblt</code> option to 1. </td></tr>
    <tr><td class="paramname">xsrcMask</td><td>Source x position on the mask. If both xsrcMask and ysrcMask are wxDefaultCoord, <em>xsrc</em> and <em>ysrc</em> will be assumed for the mask source position. Currently only implemented on Windows. </td></tr>
    <tr><td class="paramname">ysrcMask</td><td>Source y position on the mask. If both xsrcMask and ysrcMask are wxDefaultCoord, <em>xsrc</em> and <em>ysrc</em> will be assumed for the mask source position. Currently only implemented on Windows.</td></tr>
  </table>
  </dd>
</dl>
<p>There is partial support for <a class="el" href="classwx_d_c.html#a12bed94a15136b9080683f4151042a34" title="Copy from a source DC to this DC.">Blit()</a> in <a class="el" href="classwx_post_script_d_c.html" title="This defines the wxWidgets Encapsulated PostScript device context, which can write PostScript files o...">wxPostScriptDC</a>, under X.</p>
<p>See <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> for typical usage.</p>
<dl class="section since"><dt>Since</dt><dd>2.9.0</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="classwx_d_c.html#a12bed94a15136b9080683f4151042a34" title="Copy from a source DC to this DC.">Blit()</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 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 class="el" href="classwx_mask.html" title="This class encapsulates a monochrome mask bitmap, where the masked area is black and the unmasked are...">wxMask</a> </dd></dl>

</div>
</div>
</div><!-- contents -->

<address class="footer">
	<small>
		Generated on Thu Nov 27 2014 13:46:46 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>