File: classCairo_1_1Context.html

package info (click to toggle)
cairomm 1.12.2-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 6,836 kB
  • sloc: cpp: 5,924; sh: 4,228; perl: 236; makefile: 164
file content (4186 lines) | stat: -rw-r--r-- 305,602 bytes parent folder | download
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>cairomm: Cairo::Context 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" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">cairomm
   &#160;<span id="projectnumber">1.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="examples.html"><span>Examples</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="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceCairo.html">Cairo</a></li><li class="navelem"><a class="el" href="classCairo_1_1Context.html">Context</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="classCairo_1_1Context-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Cairo::Context Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><a class="el" href="classCairo_1_1Context.html" title="Context is the main class used to draw in cairomm. ">Context</a> is the main class used to draw in cairomm.  
 <a href="classCairo_1_1Context.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a14e54b45199452f9916ebcafcd4a629e"><td class="memItemLeft" align="right" valign="top">typedef cairo_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a14e54b45199452f9916ebcafcd4a629e">cobject</a></td></tr>
<tr class="memdesc:a14e54b45199452f9916ebcafcd4a629e"><td class="mdescLeft">&#160;</td><td class="mdescRight">The base cairo C type that is wrapped by <a class="el" href="classCairo_1_1Context.html" title="Context is the main class used to draw in cairomm. ">Cairo::Context</a>.  <a href="#a14e54b45199452f9916ebcafcd4a629e">More...</a><br /></td></tr>
<tr class="separator:a14e54b45199452f9916ebcafcd4a629e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><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:adb2361743a9f017e662c3c6809dfc765"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#adb2361743a9f017e662c3c6809dfc765">Context</a> (cairo_t*<a class="el" href="classCairo_1_1Context.html#a14e54b45199452f9916ebcafcd4a629e">cobject</a>, bool has_reference=false)</td></tr>
<tr class="memdesc:adb2361743a9f017e662c3c6809dfc765"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a C++ wrapper for the C instance.  <a href="#adb2361743a9f017e662c3c6809dfc765">More...</a><br /></td></tr>
<tr class="separator:adb2361743a9f017e662c3c6809dfc765"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acac6e893153cbe7748227dbfdcb97949"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#acac6e893153cbe7748227dbfdcb97949">Context</a> (const <a class="el" href="classCairo_1_1Context.html">Context</a>&amp;)=delete</td></tr>
<tr class="separator:acac6e893153cbe7748227dbfdcb97949"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aacccd66c3098f6191618939b86bf22f2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCairo_1_1Context.html">Context</a>&amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#aacccd66c3098f6191618939b86bf22f2">operator=</a> (const <a class="el" href="classCairo_1_1Context.html">Context</a>&amp;)=delete</td></tr>
<tr class="separator:aacccd66c3098f6191618939b86bf22f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a35d214d3ad4d29bd5993d683333a9791"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a35d214d3ad4d29bd5993d683333a9791">~Context</a> ()</td></tr>
<tr class="separator:a35d214d3ad4d29bd5993d683333a9791"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5249fa850f6adc1cb743e60a65a1ddb6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a5249fa850f6adc1cb743e60a65a1ddb6">save</a> ()</td></tr>
<tr class="memdesc:a5249fa850f6adc1cb743e60a65a1ddb6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Makes a copy of the current state of the <a class="el" href="classCairo_1_1Context.html" title="Context is the main class used to draw in cairomm. ">Context</a> and saves it on an internal stack of saved states.  <a href="#a5249fa850f6adc1cb743e60a65a1ddb6">More...</a><br /></td></tr>
<tr class="separator:a5249fa850f6adc1cb743e60a65a1ddb6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a45a80032b95d87eafe72dc2ab235f815"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a45a80032b95d87eafe72dc2ab235f815">restore</a> ()</td></tr>
<tr class="memdesc:a45a80032b95d87eafe72dc2ab235f815"><td class="mdescLeft">&#160;</td><td class="mdescRight">Restores cr to the state saved by a preceding call to <a class="el" href="classCairo_1_1Context.html#a5249fa850f6adc1cb743e60a65a1ddb6" title="Makes a copy of the current state of the Context and saves it on an internal stack of saved states...">save()</a> and removes that state from the stack of saved states.  <a href="#a45a80032b95d87eafe72dc2ab235f815">More...</a><br /></td></tr>
<tr class="separator:a45a80032b95d87eafe72dc2ab235f815"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a61f276527b921cbd4fd81880ac372e2a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a61f276527b921cbd4fd81880ac372e2a">set_operator</a> (<a class="el" href="namespaceCairo.html#a2d612c31d146fc32d486f9614560c8d1">Operator</a> op)</td></tr>
<tr class="memdesc:a61f276527b921cbd4fd81880ac372e2a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the compositing operator to be used for all drawing operations.  <a href="#a61f276527b921cbd4fd81880ac372e2a">More...</a><br /></td></tr>
<tr class="separator:a61f276527b921cbd4fd81880ac372e2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a534d571d5aa4b500782036202a3e2aea"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a534d571d5aa4b500782036202a3e2aea">set_source</a> (const <a class="el" href="classCairo_1_1RefPtr.html">RefPtr</a>&lt; const <a class="el" href="classCairo_1_1Pattern.html">Pattern</a> &gt;&amp; source)</td></tr>
<tr class="memdesc:a534d571d5aa4b500782036202a3e2aea"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the source pattern within the <a class="el" href="classCairo_1_1Context.html" title="Context is the main class used to draw in cairomm. ">Context</a> to source.  <a href="#a534d571d5aa4b500782036202a3e2aea">More...</a><br /></td></tr>
<tr class="separator:a534d571d5aa4b500782036202a3e2aea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aff3f3fc62bdf862646bb8cc568c30b2a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#aff3f3fc62bdf862646bb8cc568c30b2a">set_source_rgb</a> (double red, double green, double blue)</td></tr>
<tr class="memdesc:aff3f3fc62bdf862646bb8cc568c30b2a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the source pattern within the <a class="el" href="classCairo_1_1Context.html" title="Context is the main class used to draw in cairomm. ">Context</a> to an opaque color.  <a href="#aff3f3fc62bdf862646bb8cc568c30b2a">More...</a><br /></td></tr>
<tr class="separator:aff3f3fc62bdf862646bb8cc568c30b2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af9267aed8eb866701178dcada6c7e51a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#af9267aed8eb866701178dcada6c7e51a">set_source_rgba</a> (double red, double green, double blue, double alpha)</td></tr>
<tr class="memdesc:af9267aed8eb866701178dcada6c7e51a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the source pattern within the <a class="el" href="classCairo_1_1Context.html" title="Context is the main class used to draw in cairomm. ">Context</a> to a translucent color.  <a href="#af9267aed8eb866701178dcada6c7e51a">More...</a><br /></td></tr>
<tr class="separator:af9267aed8eb866701178dcada6c7e51a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad88c0ef8700410920b37833b8e6ed329"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#ad88c0ef8700410920b37833b8e6ed329">set_source</a> (const <a class="el" href="classCairo_1_1RefPtr.html">RefPtr</a>&lt; <a class="el" href="classCairo_1_1Surface.html">Surface</a> &gt;&amp; surface, double x, double y)</td></tr>
<tr class="memdesc:ad88c0ef8700410920b37833b8e6ed329"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is a convenience function for creating a pattern from a <a class="el" href="classCairo_1_1Surface.html" title="A cairo surface represents an image, either as the destination of a drawing operation or as source wh...">Surface</a> and setting it as the source.  <a href="#ad88c0ef8700410920b37833b8e6ed329">More...</a><br /></td></tr>
<tr class="separator:ad88c0ef8700410920b37833b8e6ed329"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a01481a915f4086051f1c200f0f7a33d1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a01481a915f4086051f1c200f0f7a33d1">set_tolerance</a> (double tolerance)</td></tr>
<tr class="memdesc:a01481a915f4086051f1c200f0f7a33d1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the tolerance used when converting paths into trapezoids.  <a href="#a01481a915f4086051f1c200f0f7a33d1">More...</a><br /></td></tr>
<tr class="separator:a01481a915f4086051f1c200f0f7a33d1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a79220a6785490688fdea41750d8933d6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a79220a6785490688fdea41750d8933d6">set_antialias</a> (<a class="el" href="namespaceCairo.html#a2cb381e7f63bef767a7d697fc5af13b4">Antialias</a> antialias)</td></tr>
<tr class="memdesc:a79220a6785490688fdea41750d8933d6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the antialiasing mode of the rasterizer used for drawing shapes.  <a href="#a79220a6785490688fdea41750d8933d6">More...</a><br /></td></tr>
<tr class="separator:a79220a6785490688fdea41750d8933d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad15693ae817e3229409d831c7dd96bed"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#ad15693ae817e3229409d831c7dd96bed">set_fill_rule</a> (<a class="el" href="namespaceCairo.html#a1ba15b0a2e22c87c14af044801006c85">FillRule</a> fill_rule)</td></tr>
<tr class="memdesc:ad15693ae817e3229409d831c7dd96bed"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the current fill rule within the cairo <a class="el" href="classCairo_1_1Context.html" title="Context is the main class used to draw in cairomm. ">Context</a>.  <a href="#ad15693ae817e3229409d831c7dd96bed">More...</a><br /></td></tr>
<tr class="separator:ad15693ae817e3229409d831c7dd96bed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ad2649d95e81a65aa0c581c4345375e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a9ad2649d95e81a65aa0c581c4345375e">set_line_width</a> (double width)</td></tr>
<tr class="memdesc:a9ad2649d95e81a65aa0c581c4345375e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the current line width within the cairo <a class="el" href="classCairo_1_1Context.html" title="Context is the main class used to draw in cairomm. ">Context</a>.  <a href="#a9ad2649d95e81a65aa0c581c4345375e">More...</a><br /></td></tr>
<tr class="separator:a9ad2649d95e81a65aa0c581c4345375e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a07fd8fc2c75558484e960c5ff63a61cc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a07fd8fc2c75558484e960c5ff63a61cc">set_line_cap</a> (<a class="el" href="namespaceCairo.html#abbb9aae64ef26733965e6d500ae76f1e">LineCap</a> line_cap)</td></tr>
<tr class="memdesc:a07fd8fc2c75558484e960c5ff63a61cc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the current line cap style within the cairo <a class="el" href="classCairo_1_1Context.html" title="Context is the main class used to draw in cairomm. ">Context</a>.  <a href="#a07fd8fc2c75558484e960c5ff63a61cc">More...</a><br /></td></tr>
<tr class="separator:a07fd8fc2c75558484e960c5ff63a61cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a23b5ba9363f568cacc1abf5e79a0200d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a23b5ba9363f568cacc1abf5e79a0200d">set_line_join</a> (<a class="el" href="namespaceCairo.html#adbc632404edaa736e01c12122239de73">LineJoin</a> line_join)</td></tr>
<tr class="memdesc:a23b5ba9363f568cacc1abf5e79a0200d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the current line join style within the cairo <a class="el" href="classCairo_1_1Context.html" title="Context is the main class used to draw in cairomm. ">Context</a>.  <a href="#a23b5ba9363f568cacc1abf5e79a0200d">More...</a><br /></td></tr>
<tr class="separator:a23b5ba9363f568cacc1abf5e79a0200d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa0b483d3f36facb1c9f2aa7f0a0ac13"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#aaa0b483d3f36facb1c9f2aa7f0a0ac13">set_dash</a> (<a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00964.html">std::valarray</a>&lt; double &gt;&amp; dashes, double offset)</td></tr>
<tr class="memdesc:aaa0b483d3f36facb1c9f2aa7f0a0ac13"><td class="mdescLeft">&#160;</td><td class="mdescRight">Alternate version of <a class="el" href="classCairo_1_1Context.html#aaa0b483d3f36facb1c9f2aa7f0a0ac13" title="Alternate version of set_dash(). ">set_dash()</a>.  <a href="#aaa0b483d3f36facb1c9f2aa7f0a0ac13">More...</a><br /></td></tr>
<tr class="separator:aaa0b483d3f36facb1c9f2aa7f0a0ac13"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade74abb6db86a97ff3800e431e27ba45"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#ade74abb6db86a97ff3800e431e27ba45">set_dash</a> (<a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a>&lt; double &gt;&amp; dashes, double offset)</td></tr>
<tr class="memdesc:ade74abb6db86a97ff3800e431e27ba45"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the dash pattern to be used by <a class="el" href="classCairo_1_1Context.html#a8e4acbb44f4b3fac00ee93f6251d6d17" title="A drawing operator that strokes the current Path according to the current line width, line join, line cap, and dash settings. ">stroke()</a>.  <a href="#ade74abb6db86a97ff3800e431e27ba45">More...</a><br /></td></tr>
<tr class="separator:ade74abb6db86a97ff3800e431e27ba45"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a73d1ece668f1534ed91ae97cbd6abffe"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a73d1ece668f1534ed91ae97cbd6abffe">set_dash</a> (const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00964.html">std::valarray</a>&lt; double &gt;&amp; dashes, double offset)</td></tr>
<tr class="memdesc:a73d1ece668f1534ed91ae97cbd6abffe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Alternate version of <a class="el" href="classCairo_1_1Context.html#aaa0b483d3f36facb1c9f2aa7f0a0ac13" title="Alternate version of set_dash(). ">set_dash()</a>.  <a href="#a73d1ece668f1534ed91ae97cbd6abffe">More...</a><br /></td></tr>
<tr class="separator:a73d1ece668f1534ed91ae97cbd6abffe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad5de6d8a98135971116c63c28fd736b7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#ad5de6d8a98135971116c63c28fd736b7">set_dash</a> (const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a>&lt; double &gt;&amp; dashes, double offset)</td></tr>
<tr class="memdesc:ad5de6d8a98135971116c63c28fd736b7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the dash pattern to be used by <a class="el" href="classCairo_1_1Context.html#a8e4acbb44f4b3fac00ee93f6251d6d17" title="A drawing operator that strokes the current Path according to the current line width, line join, line cap, and dash settings. ">stroke()</a>.  <a href="#ad5de6d8a98135971116c63c28fd736b7">More...</a><br /></td></tr>
<tr class="separator:ad5de6d8a98135971116c63c28fd736b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab20ad42403add42a9388b281074b77d2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#ab20ad42403add42a9388b281074b77d2">unset_dash</a> ()</td></tr>
<tr class="memdesc:ab20ad42403add42a9388b281074b77d2"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function disables a dash pattern that was set with <a class="el" href="classCairo_1_1Context.html#aaa0b483d3f36facb1c9f2aa7f0a0ac13" title="Alternate version of set_dash(). ">set_dash()</a>  <a href="#ab20ad42403add42a9388b281074b77d2">More...</a><br /></td></tr>
<tr class="separator:ab20ad42403add42a9388b281074b77d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a583445ca963769d3f31613bc55b1e8ad"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a583445ca963769d3f31613bc55b1e8ad">set_miter_limit</a> (double limit)</td></tr>
<tr class="memdesc:a583445ca963769d3f31613bc55b1e8ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the current miter limit within the cairo context.  <a href="#a583445ca963769d3f31613bc55b1e8ad">More...</a><br /></td></tr>
<tr class="separator:a583445ca963769d3f31613bc55b1e8ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3058f50f915d9c43d165dfcd1a940cdc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a3058f50f915d9c43d165dfcd1a940cdc">translate</a> (double tx, double ty)</td></tr>
<tr class="memdesc:a3058f50f915d9c43d165dfcd1a940cdc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Modifies the current transformation matrix (CTM) by translating the user-space origin by (tx, ty).  <a href="#a3058f50f915d9c43d165dfcd1a940cdc">More...</a><br /></td></tr>
<tr class="separator:a3058f50f915d9c43d165dfcd1a940cdc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a45543fb03fb740fe4c013492f348e084"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a45543fb03fb740fe4c013492f348e084">scale</a> (double sx, double sy)</td></tr>
<tr class="memdesc:a45543fb03fb740fe4c013492f348e084"><td class="mdescLeft">&#160;</td><td class="mdescRight">Modifies the current transformation matrix (CTM) by scaling the X and Y user-space axes by sx and sy respectively.  <a href="#a45543fb03fb740fe4c013492f348e084">More...</a><br /></td></tr>
<tr class="separator:a45543fb03fb740fe4c013492f348e084"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a332811cd74028c20b5832501ec46d67e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a332811cd74028c20b5832501ec46d67e">rotate</a> (double angle_radians)</td></tr>
<tr class="memdesc:a332811cd74028c20b5832501ec46d67e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Modifies the current transformation matrix (CTM) by rotating the user-space axes by angle radians.  <a href="#a332811cd74028c20b5832501ec46d67e">More...</a><br /></td></tr>
<tr class="separator:a332811cd74028c20b5832501ec46d67e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ae251ef83d7c2985f4306abc905934d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a0ae251ef83d7c2985f4306abc905934d">rotate_degrees</a> (double angle_degres)</td></tr>
<tr class="memdesc:a0ae251ef83d7c2985f4306abc905934d"><td class="mdescLeft">&#160;</td><td class="mdescRight">A convenience wrapper around <a class="el" href="classCairo_1_1Context.html#a332811cd74028c20b5832501ec46d67e" title="Modifies the current transformation matrix (CTM) by rotating the user-space axes by angle radians...">rotate()</a> that accepts angles in degrees.  <a href="#a0ae251ef83d7c2985f4306abc905934d">More...</a><br /></td></tr>
<tr class="separator:a0ae251ef83d7c2985f4306abc905934d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac520512061fa271fff3b1f922f94c9cb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#ac520512061fa271fff3b1f922f94c9cb">transform</a> (const <a class="el" href="classCairo_1_1Matrix.html">Matrix</a>&amp; matrix)</td></tr>
<tr class="memdesc:ac520512061fa271fff3b1f922f94c9cb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Modifies the current transformation matrix (CTM) by applying matrix as an additional transformation.  <a href="#ac520512061fa271fff3b1f922f94c9cb">More...</a><br /></td></tr>
<tr class="separator:ac520512061fa271fff3b1f922f94c9cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1bb46fed0df67873bef36e8d7c515c5a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a1bb46fed0df67873bef36e8d7c515c5a">transform</a> (const <a class="el" href="classcairo__matrix__t.html">cairo_matrix_t</a>&amp; matrix)</td></tr>
<tr class="separator:a1bb46fed0df67873bef36e8d7c515c5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac2eafbac5591e569d22495f7920d60d2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#ac2eafbac5591e569d22495f7920d60d2">set_matrix</a> (const <a class="el" href="classCairo_1_1Matrix.html">Matrix</a>&amp; matrix)</td></tr>
<tr class="memdesc:ac2eafbac5591e569d22495f7920d60d2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Modifies the current transformation matrix (CTM) by setting it equal to matrix.  <a href="#ac2eafbac5591e569d22495f7920d60d2">More...</a><br /></td></tr>
<tr class="separator:ac2eafbac5591e569d22495f7920d60d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6d94c400c393d7e40bf2d2bbf4e6dcba"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a6d94c400c393d7e40bf2d2bbf4e6dcba">set_matrix</a> (const <a class="el" href="classcairo__matrix__t.html">cairo_matrix_t</a>&amp; matrix)</td></tr>
<tr class="separator:a6d94c400c393d7e40bf2d2bbf4e6dcba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa3e9b13312b6ef331830b5348093e19e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#aa3e9b13312b6ef331830b5348093e19e">set_identity_matrix</a> ()</td></tr>
<tr class="memdesc:aa3e9b13312b6ef331830b5348093e19e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Resets the current transformation matrix (CTM) by setting it equal to the identity matrix.  <a href="#aa3e9b13312b6ef331830b5348093e19e">More...</a><br /></td></tr>
<tr class="separator:aa3e9b13312b6ef331830b5348093e19e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa9cc3eeb14b515b184be6a401c0993a4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#aa9cc3eeb14b515b184be6a401c0993a4">user_to_device</a> (double&amp; x, double&amp; y)</td></tr>
<tr class="memdesc:aa9cc3eeb14b515b184be6a401c0993a4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Transform a coordinate from user space to device space by multiplying the given point by the current transformation matrix (CTM).  <a href="#aa9cc3eeb14b515b184be6a401c0993a4">More...</a><br /></td></tr>
<tr class="separator:aa9cc3eeb14b515b184be6a401c0993a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab0daccfeaa8b173b26473e79271f7e88"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#ab0daccfeaa8b173b26473e79271f7e88">user_to_device_distance</a> (double&amp; dx, double&amp; dy)</td></tr>
<tr class="memdesc:ab0daccfeaa8b173b26473e79271f7e88"><td class="mdescLeft">&#160;</td><td class="mdescRight">Transform a distance vector from user space to device space.  <a href="#ab0daccfeaa8b173b26473e79271f7e88">More...</a><br /></td></tr>
<tr class="separator:ab0daccfeaa8b173b26473e79271f7e88"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c7acaaf16d4740cd7fee2298bf2b5c4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a0c7acaaf16d4740cd7fee2298bf2b5c4">device_to_user</a> (double&amp; x, double&amp; y)</td></tr>
<tr class="memdesc:a0c7acaaf16d4740cd7fee2298bf2b5c4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Transform a coordinate from device space to user space by multiplying the given point by the inverse of the current transformation matrix (CTM).  <a href="#a0c7acaaf16d4740cd7fee2298bf2b5c4">More...</a><br /></td></tr>
<tr class="separator:a0c7acaaf16d4740cd7fee2298bf2b5c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f396567b0504d1421abb5f7ed38cd97"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a2f396567b0504d1421abb5f7ed38cd97">device_to_user_distance</a> (double&amp; dx, double&amp; dy)</td></tr>
<tr class="memdesc:a2f396567b0504d1421abb5f7ed38cd97"><td class="mdescLeft">&#160;</td><td class="mdescRight">Transform a distance vector from device space to user space.  <a href="#a2f396567b0504d1421abb5f7ed38cd97">More...</a><br /></td></tr>
<tr class="separator:a2f396567b0504d1421abb5f7ed38cd97"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a30ee2fbeca1cb347548d5b9d186e38ea"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a30ee2fbeca1cb347548d5b9d186e38ea">user_to_device</a> (double&amp; x, double&amp; y) const </td></tr>
<tr class="memdesc:a30ee2fbeca1cb347548d5b9d186e38ea"><td class="mdescLeft">&#160;</td><td class="mdescRight">Transform a coordinate from user space to device space by multiplying the given point by the current transformation matrix (CTM).  <a href="#a30ee2fbeca1cb347548d5b9d186e38ea">More...</a><br /></td></tr>
<tr class="separator:a30ee2fbeca1cb347548d5b9d186e38ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a14e24c58fc7f39af6a127ac5b684a9cc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a14e24c58fc7f39af6a127ac5b684a9cc">user_to_device_distance</a> (double&amp; dx, double&amp; dy) const </td></tr>
<tr class="memdesc:a14e24c58fc7f39af6a127ac5b684a9cc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Transform a distance vector from user space to device space.  <a href="#a14e24c58fc7f39af6a127ac5b684a9cc">More...</a><br /></td></tr>
<tr class="separator:a14e24c58fc7f39af6a127ac5b684a9cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a41f54b367cae7c9efd35749cad69a260"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a41f54b367cae7c9efd35749cad69a260">device_to_user</a> (double&amp; x, double&amp; y) const </td></tr>
<tr class="memdesc:a41f54b367cae7c9efd35749cad69a260"><td class="mdescLeft">&#160;</td><td class="mdescRight">Transform a coordinate from device space to user space by multiplying the given point by the inverse of the current transformation matrix (CTM).  <a href="#a41f54b367cae7c9efd35749cad69a260">More...</a><br /></td></tr>
<tr class="separator:a41f54b367cae7c9efd35749cad69a260"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a522345149deb1b5545e0d9a4ba99b3be"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a522345149deb1b5545e0d9a4ba99b3be">device_to_user_distance</a> (double&amp; dx, double&amp; dy) const </td></tr>
<tr class="memdesc:a522345149deb1b5545e0d9a4ba99b3be"><td class="mdescLeft">&#160;</td><td class="mdescRight">Transform a distance vector from device space to user space.  <a href="#a522345149deb1b5545e0d9a4ba99b3be">More...</a><br /></td></tr>
<tr class="separator:a522345149deb1b5545e0d9a4ba99b3be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a527efe9a3a5bf48f768e223d5f4fecca"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a527efe9a3a5bf48f768e223d5f4fecca">begin_new_path</a> ()</td></tr>
<tr class="memdesc:a527efe9a3a5bf48f768e223d5f4fecca"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears the current path.  <a href="#a527efe9a3a5bf48f768e223d5f4fecca">More...</a><br /></td></tr>
<tr class="separator:a527efe9a3a5bf48f768e223d5f4fecca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8cb4b961893563c585ed05a67126b0df"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a8cb4b961893563c585ed05a67126b0df">begin_new_sub_path</a> ()</td></tr>
<tr class="memdesc:a8cb4b961893563c585ed05a67126b0df"><td class="mdescLeft">&#160;</td><td class="mdescRight">Begin a new subpath.  <a href="#a8cb4b961893563c585ed05a67126b0df">More...</a><br /></td></tr>
<tr class="separator:a8cb4b961893563c585ed05a67126b0df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4086700b5f780fd3fb94bea941895022"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a4086700b5f780fd3fb94bea941895022">move_to</a> (double x, double y)</td></tr>
<tr class="memdesc:a4086700b5f780fd3fb94bea941895022"><td class="mdescLeft">&#160;</td><td class="mdescRight">If the current subpath is not empty, begin a new subpath.  <a href="#a4086700b5f780fd3fb94bea941895022">More...</a><br /></td></tr>
<tr class="separator:a4086700b5f780fd3fb94bea941895022"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae305a9f8a79cc0e0693393a940ee1de8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#ae305a9f8a79cc0e0693393a940ee1de8">line_to</a> (double x, double y)</td></tr>
<tr class="memdesc:ae305a9f8a79cc0e0693393a940ee1de8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a line to the path from the current point to position (x, y) in user-space coordinates.  <a href="#ae305a9f8a79cc0e0693393a940ee1de8">More...</a><br /></td></tr>
<tr class="separator:ae305a9f8a79cc0e0693393a940ee1de8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9bdb6a5e2ea0e4bc9441bdc5704805f7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a9bdb6a5e2ea0e4bc9441bdc5704805f7">curve_to</a> (double x1, double y1, double x2, double y2, double x3, double y3)</td></tr>
<tr class="memdesc:a9bdb6a5e2ea0e4bc9441bdc5704805f7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a cubic Bezier spline to the path from the current point to position (x3, y3) in user-space coordinates, using (x1, y1) and (x2, y2) as the control points.  <a href="#a9bdb6a5e2ea0e4bc9441bdc5704805f7">More...</a><br /></td></tr>
<tr class="separator:a9bdb6a5e2ea0e4bc9441bdc5704805f7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa96080beea581244f0a3838fb7c9ee6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#aaa96080beea581244f0a3838fb7c9ee6">arc</a> (double xc, double yc, double radius, double angle1, double angle2)</td></tr>
<tr class="memdesc:aaa96080beea581244f0a3838fb7c9ee6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a circular arc of the given radius to the current path.  <a href="#aaa96080beea581244f0a3838fb7c9ee6">More...</a><br /></td></tr>
<tr class="separator:aaa96080beea581244f0a3838fb7c9ee6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1a9e7517cd5afd49d729b8a87539a305"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a1a9e7517cd5afd49d729b8a87539a305">arc_negative</a> (double xc, double yc, double radius, double angle1, double angle2)</td></tr>
<tr class="memdesc:a1a9e7517cd5afd49d729b8a87539a305"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a circular arc of the given <em>radius</em> to the current path.  <a href="#a1a9e7517cd5afd49d729b8a87539a305">More...</a><br /></td></tr>
<tr class="separator:a1a9e7517cd5afd49d729b8a87539a305"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c739ac7e8e43d395f24dff0a0a83c0d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a3c739ac7e8e43d395f24dff0a0a83c0d">rel_move_to</a> (double dx, double dy)</td></tr>
<tr class="memdesc:a3c739ac7e8e43d395f24dff0a0a83c0d"><td class="mdescLeft">&#160;</td><td class="mdescRight">If the current subpath is not empty, begin a new subpath.  <a href="#a3c739ac7e8e43d395f24dff0a0a83c0d">More...</a><br /></td></tr>
<tr class="separator:a3c739ac7e8e43d395f24dff0a0a83c0d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a35f2d0f7e9afcb59eef83af3d2831f2b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a35f2d0f7e9afcb59eef83af3d2831f2b">rel_line_to</a> (double dx, double dy)</td></tr>
<tr class="memdesc:a35f2d0f7e9afcb59eef83af3d2831f2b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Relative-coordinate version of <a class="el" href="classCairo_1_1Context.html#ae305a9f8a79cc0e0693393a940ee1de8" title="Adds a line to the path from the current point to position (x, y) in user-space coordinates. ">line_to()</a>.  <a href="#a35f2d0f7e9afcb59eef83af3d2831f2b">More...</a><br /></td></tr>
<tr class="separator:a35f2d0f7e9afcb59eef83af3d2831f2b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad7660dac997d5db2f7ce1539c20345e2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#ad7660dac997d5db2f7ce1539c20345e2">rel_curve_to</a> (double dx1, double dy1, double dx2, double dy2, double dx3, double dy3)</td></tr>
<tr class="memdesc:ad7660dac997d5db2f7ce1539c20345e2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Relative-coordinate version of <a class="el" href="classCairo_1_1Context.html#a9bdb6a5e2ea0e4bc9441bdc5704805f7" title="Adds a cubic Bezier spline to the path from the current point to position (x3, y3) in user-space coor...">curve_to()</a>.  <a href="#ad7660dac997d5db2f7ce1539c20345e2">More...</a><br /></td></tr>
<tr class="separator:ad7660dac997d5db2f7ce1539c20345e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a85ee124b89c43dc29ff0d964bd005c11"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a85ee124b89c43dc29ff0d964bd005c11">rectangle</a> (double x, double y, double width, double height)</td></tr>
<tr class="memdesc:a85ee124b89c43dc29ff0d964bd005c11"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a closed-subpath rectangle of the given size to the current path at position (x, y) in user-space coordinates.  <a href="#a85ee124b89c43dc29ff0d964bd005c11">More...</a><br /></td></tr>
<tr class="separator:a85ee124b89c43dc29ff0d964bd005c11"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a32211b0684b1d264c17402b5289fcba0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a32211b0684b1d264c17402b5289fcba0">close_path</a> ()</td></tr>
<tr class="memdesc:a32211b0684b1d264c17402b5289fcba0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a line segment to the path from the current point to the beginning of the current subpath, (the most recent point passed to <a class="el" href="classCairo_1_1Context.html#a4086700b5f780fd3fb94bea941895022" title="If the current subpath is not empty, begin a new subpath. ">move_to()</a>), and closes this subpath.  <a href="#a32211b0684b1d264c17402b5289fcba0">More...</a><br /></td></tr>
<tr class="separator:a32211b0684b1d264c17402b5289fcba0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad919eae3bc3b9827a3c1ceff2d86833e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#ad919eae3bc3b9827a3c1ceff2d86833e">paint</a> ()</td></tr>
<tr class="memdesc:ad919eae3bc3b9827a3c1ceff2d86833e"><td class="mdescLeft">&#160;</td><td class="mdescRight">A drawing operator that paints the current source everywhere within the current clip region.  <a href="#ad919eae3bc3b9827a3c1ceff2d86833e">More...</a><br /></td></tr>
<tr class="separator:ad919eae3bc3b9827a3c1ceff2d86833e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a34208a6c6868cdcd65866cb8a2349525"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a34208a6c6868cdcd65866cb8a2349525">paint_with_alpha</a> (double alpha)</td></tr>
<tr class="memdesc:a34208a6c6868cdcd65866cb8a2349525"><td class="mdescLeft">&#160;</td><td class="mdescRight">A drawing operator that paints the current source everywhere within the current clip region using a mask of constant alpha value alpha.  <a href="#a34208a6c6868cdcd65866cb8a2349525">More...</a><br /></td></tr>
<tr class="separator:a34208a6c6868cdcd65866cb8a2349525"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ad3ea59afb6bb4fa04d000f5e9c3cf2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a2ad3ea59afb6bb4fa04d000f5e9c3cf2">mask</a> (const <a class="el" href="classCairo_1_1RefPtr.html">RefPtr</a>&lt; const <a class="el" href="classCairo_1_1Pattern.html">Pattern</a> &gt;&amp; pattern)</td></tr>
<tr class="memdesc:a2ad3ea59afb6bb4fa04d000f5e9c3cf2"><td class="mdescLeft">&#160;</td><td class="mdescRight">A drawing operator that paints the current source using the alpha channel of pattern as a mask.  <a href="#a2ad3ea59afb6bb4fa04d000f5e9c3cf2">More...</a><br /></td></tr>
<tr class="separator:a2ad3ea59afb6bb4fa04d000f5e9c3cf2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2f76e3b13027efc4c8745de5e04e00ec"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a2f76e3b13027efc4c8745de5e04e00ec">mask</a> (const <a class="el" href="classCairo_1_1RefPtr.html">RefPtr</a>&lt; const <a class="el" href="classCairo_1_1Surface.html">Surface</a> &gt;&amp; surface, double surface_x, double surface_y)</td></tr>
<tr class="memdesc:a2f76e3b13027efc4c8745de5e04e00ec"><td class="mdescLeft">&#160;</td><td class="mdescRight">A drawing operator that paints the current source using the alpha channel of surface as a mask.  <a href="#a2f76e3b13027efc4c8745de5e04e00ec">More...</a><br /></td></tr>
<tr class="separator:a2f76e3b13027efc4c8745de5e04e00ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8e4acbb44f4b3fac00ee93f6251d6d17"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a8e4acbb44f4b3fac00ee93f6251d6d17">stroke</a> ()</td></tr>
<tr class="memdesc:a8e4acbb44f4b3fac00ee93f6251d6d17"><td class="mdescLeft">&#160;</td><td class="mdescRight">A drawing operator that strokes the current <a class="el" href="classCairo_1_1Path.html" title="A data structure for holding a path. ">Path</a> according to the current line width, line join, line cap, and dash settings.  <a href="#a8e4acbb44f4b3fac00ee93f6251d6d17">More...</a><br /></td></tr>
<tr class="separator:a8e4acbb44f4b3fac00ee93f6251d6d17"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab10d89295e122b04ff1bbda425ae069c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#ab10d89295e122b04ff1bbda425ae069c">stroke_preserve</a> ()</td></tr>
<tr class="memdesc:ab10d89295e122b04ff1bbda425ae069c"><td class="mdescLeft">&#160;</td><td class="mdescRight">A drawing operator that strokes the current <a class="el" href="classCairo_1_1Path.html" title="A data structure for holding a path. ">Path</a> according to the current line width, line join, line cap, and dash settings.  <a href="#ab10d89295e122b04ff1bbda425ae069c">More...</a><br /></td></tr>
<tr class="separator:ab10d89295e122b04ff1bbda425ae069c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a484790884dd138108b07c0ebbbe21d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a0a484790884dd138108b07c0ebbbe21d">fill</a> ()</td></tr>
<tr class="memdesc:a0a484790884dd138108b07c0ebbbe21d"><td class="mdescLeft">&#160;</td><td class="mdescRight">A drawing operator that fills the current path according to the current fill rule, (each sub-path is implicitly closed before being filled).  <a href="#a0a484790884dd138108b07c0ebbbe21d">More...</a><br /></td></tr>
<tr class="separator:a0a484790884dd138108b07c0ebbbe21d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ef3f887f91527a485ce1300972ac8e3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a0ef3f887f91527a485ce1300972ac8e3">fill_preserve</a> ()</td></tr>
<tr class="memdesc:a0ef3f887f91527a485ce1300972ac8e3"><td class="mdescLeft">&#160;</td><td class="mdescRight">A drawing operator that fills the current path according to the current fill rule, (each sub-path is implicitly closed before being filled).  <a href="#a0ef3f887f91527a485ce1300972ac8e3">More...</a><br /></td></tr>
<tr class="separator:a0ef3f887f91527a485ce1300972ac8e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ccbeacb2a7f2d787b3daf31a69383fd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a7ccbeacb2a7f2d787b3daf31a69383fd">copy_page</a> ()</td></tr>
<tr class="memdesc:a7ccbeacb2a7f2d787b3daf31a69383fd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Emits the current page for backends that support multiple pages, but doesn't clear it, so, the contents of the current page will be retained for the next page too.  <a href="#a7ccbeacb2a7f2d787b3daf31a69383fd">More...</a><br /></td></tr>
<tr class="separator:a7ccbeacb2a7f2d787b3daf31a69383fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a525cac95b4d4c2abea12b82c433adba9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a525cac95b4d4c2abea12b82c433adba9">show_page</a> ()</td></tr>
<tr class="memdesc:a525cac95b4d4c2abea12b82c433adba9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Emits and clears the current page for backends that support multiple pages.  <a href="#a525cac95b4d4c2abea12b82c433adba9">More...</a><br /></td></tr>
<tr class="separator:a525cac95b4d4c2abea12b82c433adba9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a15e153f40f02aaccd0aed27f7720bf6a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a15e153f40f02aaccd0aed27f7720bf6a">in_stroke</a> (double x, double y) const </td></tr>
<tr class="memdesc:a15e153f40f02aaccd0aed27f7720bf6a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tests whether the given point is inside the area that would be affected by a <a class="el" href="classCairo_1_1Context.html#a8e4acbb44f4b3fac00ee93f6251d6d17" title="A drawing operator that strokes the current Path according to the current line width, line join, line cap, and dash settings. ">stroke()</a> operation given the current path and stroking parameters.  <a href="#a15e153f40f02aaccd0aed27f7720bf6a">More...</a><br /></td></tr>
<tr class="separator:a15e153f40f02aaccd0aed27f7720bf6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d50e91f8ed135cee8741fef805df070"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a3d50e91f8ed135cee8741fef805df070">in_fill</a> (double x, double y) const </td></tr>
<tr class="memdesc:a3d50e91f8ed135cee8741fef805df070"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tests whether the given point is inside the area that would be affected by a <a class="el" href="classCairo_1_1Context.html#a0a484790884dd138108b07c0ebbbe21d" title="A drawing operator that fills the current path according to the current fill rule, (each sub-path is implicitly closed before being filled). ">fill()</a> operation given the current path and filling parameters.  <a href="#a3d50e91f8ed135cee8741fef805df070">More...</a><br /></td></tr>
<tr class="separator:a3d50e91f8ed135cee8741fef805df070"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a99dafb17beaaf5e115a731f35a828684"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a99dafb17beaaf5e115a731f35a828684">in_clip</a> (double x, double y) const </td></tr>
<tr class="memdesc:a99dafb17beaaf5e115a731f35a828684"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tests whether the given point is inside the area that would be visible through the current clip, i.e.  <a href="#a99dafb17beaaf5e115a731f35a828684">More...</a><br /></td></tr>
<tr class="separator:a99dafb17beaaf5e115a731f35a828684"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afbcad49bf4f75eca485fa4d728255ae0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#afbcad49bf4f75eca485fa4d728255ae0">get_stroke_extents</a> (double&amp; x1, double&amp; y1, double&amp; x2, double&amp; y2) const </td></tr>
<tr class="memdesc:afbcad49bf4f75eca485fa4d728255ae0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes a bounding box in user coordinates covering the area that would be affected, (the "inked" area), by a <a class="el" href="classCairo_1_1Context.html#a8e4acbb44f4b3fac00ee93f6251d6d17" title="A drawing operator that strokes the current Path according to the current line width, line join, line cap, and dash settings. ">stroke()</a> operation given the current path and stroke parameters.  <a href="#afbcad49bf4f75eca485fa4d728255ae0">More...</a><br /></td></tr>
<tr class="separator:afbcad49bf4f75eca485fa4d728255ae0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a80bceb0e11be82c365b4606efe3a8d30"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a80bceb0e11be82c365b4606efe3a8d30">get_fill_extents</a> (double&amp; x1, double&amp; y1, double&amp; x2, double&amp; y2) const </td></tr>
<tr class="memdesc:a80bceb0e11be82c365b4606efe3a8d30"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes a bounding box in user coordinates covering the area that would be affected, (the "inked" area), by a <a class="el" href="classCairo_1_1Context.html#a0a484790884dd138108b07c0ebbbe21d" title="A drawing operator that fills the current path according to the current fill rule, (each sub-path is implicitly closed before being filled). ">fill()</a> operation given the current path and fill parameters.  <a href="#a80bceb0e11be82c365b4606efe3a8d30">More...</a><br /></td></tr>
<tr class="separator:a80bceb0e11be82c365b4606efe3a8d30"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a82d001967dc8ba3e45f4d7a06c4b9ff2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a82d001967dc8ba3e45f4d7a06c4b9ff2">reset_clip</a> ()</td></tr>
<tr class="memdesc:a82d001967dc8ba3e45f4d7a06c4b9ff2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reset the current clip region to its original, unrestricted state.  <a href="#a82d001967dc8ba3e45f4d7a06c4b9ff2">More...</a><br /></td></tr>
<tr class="separator:a82d001967dc8ba3e45f4d7a06c4b9ff2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a423077b911738772807cc8bc24c25488"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a423077b911738772807cc8bc24c25488">clip</a> ()</td></tr>
<tr class="memdesc:a423077b911738772807cc8bc24c25488"><td class="mdescLeft">&#160;</td><td class="mdescRight">Establishes a new clip region by intersecting the current clip region with the current <a class="el" href="classCairo_1_1Path.html" title="A data structure for holding a path. ">Path</a> as it would be filled by <a class="el" href="classCairo_1_1Context.html#a0a484790884dd138108b07c0ebbbe21d" title="A drawing operator that fills the current path according to the current fill rule, (each sub-path is implicitly closed before being filled). ">fill()</a> and according to the current fill rule.  <a href="#a423077b911738772807cc8bc24c25488">More...</a><br /></td></tr>
<tr class="separator:a423077b911738772807cc8bc24c25488"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2987c4ecac0438ee808c34d3c35c7f2e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a2987c4ecac0438ee808c34d3c35c7f2e">clip_preserve</a> ()</td></tr>
<tr class="memdesc:a2987c4ecac0438ee808c34d3c35c7f2e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Establishes a new clip region by intersecting the current clip region with the current path as it would be filled by <a class="el" href="classCairo_1_1Context.html#a0a484790884dd138108b07c0ebbbe21d" title="A drawing operator that fills the current path according to the current fill rule, (each sub-path is implicitly closed before being filled). ">fill()</a> and according to the current fill rule.  <a href="#a2987c4ecac0438ee808c34d3c35c7f2e">More...</a><br /></td></tr>
<tr class="separator:a2987c4ecac0438ee808c34d3c35c7f2e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7211a6110201b959ee46c47aa173b12a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a7211a6110201b959ee46c47aa173b12a">get_clip_extents</a> (double&amp; x1, double&amp; y1, double&amp; x2, double&amp; y2) const </td></tr>
<tr class="memdesc:a7211a6110201b959ee46c47aa173b12a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes a bounding box in user coordinates covering the area inside the current clip.  <a href="#a7211a6110201b959ee46c47aa173b12a">More...</a><br /></td></tr>
<tr class="separator:a7211a6110201b959ee46c47aa173b12a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7dc19917311f812e667d71102b0d986b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a7dc19917311f812e667d71102b0d986b">copy_clip_rectangle_list</a> (<a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a>&lt; <a class="el" href="namespaceCairo.html#a5a956a3226f8c0cece695c49f453e124">Rectangle</a> &gt;&amp; rectangles) const </td></tr>
<tr class="memdesc:a7dc19917311f812e667d71102b0d986b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the current clip region as a list of rectangles in user coordinates.  <a href="#a7dc19917311f812e667d71102b0d986b">More...</a><br /></td></tr>
<tr class="separator:a7dc19917311f812e667d71102b0d986b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acb1da5f3949195f76424e11be923fbfd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#acb1da5f3949195f76424e11be923fbfd">select_font_face</a> (const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>&amp; family, <a class="el" href="namespaceCairo.html#a0a2c19fefac301a702a6b7fdb368bf55">FontSlant</a> slant, <a class="el" href="namespaceCairo.html#ad8514818fb9292a5864b57f4b8a1e546">FontWeight</a> weight)</td></tr>
<tr class="memdesc:acb1da5f3949195f76424e11be923fbfd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Selects a family and style of font from a simplified description as a family name, slant and weight.  <a href="#acb1da5f3949195f76424e11be923fbfd">More...</a><br /></td></tr>
<tr class="separator:acb1da5f3949195f76424e11be923fbfd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac8a04a09c2e871a470fd030edb45b024"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#ac8a04a09c2e871a470fd030edb45b024">set_font_size</a> (double <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01656.html#ga445a43f417432dd1b9aed90ef239c700">size</a>)</td></tr>
<tr class="memdesc:ac8a04a09c2e871a470fd030edb45b024"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the current font matrix to a scale by a factor of <em>size</em>, replacing any font matrix previously set with <a class="el" href="classCairo_1_1Context.html#ac8a04a09c2e871a470fd030edb45b024" title="Sets the current font matrix to a scale by a factor of size, replacing any font matrix previously set...">set_font_size()</a> or <a class="el" href="classCairo_1_1Context.html#a7981bd1109ec5538fb505b36ec377757" title="Sets the current font matrix to . ">set_font_matrix()</a>.  <a href="#ac8a04a09c2e871a470fd030edb45b024">More...</a><br /></td></tr>
<tr class="separator:ac8a04a09c2e871a470fd030edb45b024"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7981bd1109ec5538fb505b36ec377757"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a7981bd1109ec5538fb505b36ec377757">set_font_matrix</a> (const <a class="el" href="classCairo_1_1Matrix.html">Matrix</a>&amp; matrix)</td></tr>
<tr class="memdesc:a7981bd1109ec5538fb505b36ec377757"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the current font matrix to .  <a href="#a7981bd1109ec5538fb505b36ec377757">More...</a><br /></td></tr>
<tr class="separator:a7981bd1109ec5538fb505b36ec377757"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aada6eda8880143f16721d6311206b25f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#aada6eda8880143f16721d6311206b25f">get_font_matrix</a> (<a class="el" href="classCairo_1_1Matrix.html">Matrix</a>&amp; matrix) const </td></tr>
<tr class="memdesc:aada6eda8880143f16721d6311206b25f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the current font matrix.  <a href="#aada6eda8880143f16721d6311206b25f">More...</a><br /></td></tr>
<tr class="separator:aada6eda8880143f16721d6311206b25f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2d7f465d946804a8fe9877d7f7f4bbcb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a2d7f465d946804a8fe9877d7f7f4bbcb">set_font_options</a> (const <a class="el" href="classCairo_1_1FontOptions.html">FontOptions</a>&amp; options)</td></tr>
<tr class="memdesc:a2d7f465d946804a8fe9877d7f7f4bbcb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets a set of custom font rendering options.  <a href="#a2d7f465d946804a8fe9877d7f7f4bbcb">More...</a><br /></td></tr>
<tr class="separator:a2d7f465d946804a8fe9877d7f7f4bbcb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8d44b4f4e45a4fb2a794f3486f895640"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a8d44b4f4e45a4fb2a794f3486f895640">set_font_matrix</a> (const <a class="el" href="classcairo__matrix__t.html">cairo_matrix_t</a>&amp; matrix)</td></tr>
<tr class="separator:a8d44b4f4e45a4fb2a794f3486f895640"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a34be6fb9a99354259d3944b1b31c634b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a34be6fb9a99354259d3944b1b31c634b">get_font_matrix</a> (<a class="el" href="classcairo__matrix__t.html">cairo_matrix_t</a>&amp; matrix) const </td></tr>
<tr class="separator:a34be6fb9a99354259d3944b1b31c634b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab69217658ea7fa4e859aa305e3bc3ebc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#ab69217658ea7fa4e859aa305e3bc3ebc">get_font_options</a> (<a class="el" href="classCairo_1_1FontOptions.html">FontOptions</a>&amp; options) const </td></tr>
<tr class="memdesc:ab69217658ea7fa4e859aa305e3bc3ebc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Retrieves font rendering options set via <a class="el" href="classCairo_1_1Context.html#a2d7f465d946804a8fe9877d7f7f4bbcb" title="Sets a set of custom font rendering options. ">set_font_options()</a>.  <a href="#ab69217658ea7fa4e859aa305e3bc3ebc">More...</a><br /></td></tr>
<tr class="separator:ab69217658ea7fa4e859aa305e3bc3ebc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa8c0b24d9338d392c18435babeb4263"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#aaa8c0b24d9338d392c18435babeb4263">set_scaled_font</a> (const <a class="el" href="classCairo_1_1RefPtr.html">RefPtr</a>&lt; const <a class="el" href="classCairo_1_1ScaledFont.html">ScaledFont</a> &gt;&amp; scaled_font)</td></tr>
<tr class="memdesc:aaa8c0b24d9338d392c18435babeb4263"><td class="mdescLeft">&#160;</td><td class="mdescRight">Replaces the current font face, font matrix, and font options in the context with those of the <em>scaled_font</em>.  <a href="#aaa8c0b24d9338d392c18435babeb4263">More...</a><br /></td></tr>
<tr class="separator:aaa8c0b24d9338d392c18435babeb4263"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a511ca42d6c21a4cfc9ce4c4b1116ddad"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCairo_1_1RefPtr.html">RefPtr</a>&lt; <a class="el" href="classCairo_1_1ScaledFont.html">ScaledFont</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a511ca42d6c21a4cfc9ce4c4b1116ddad">get_scaled_font</a> ()</td></tr>
<tr class="memdesc:a511ca42d6c21a4cfc9ce4c4b1116ddad"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the current scaled font.  <a href="#a511ca42d6c21a4cfc9ce4c4b1116ddad">More...</a><br /></td></tr>
<tr class="separator:a511ca42d6c21a4cfc9ce4c4b1116ddad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a584596d6f12dbea30519b908cacce038"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a584596d6f12dbea30519b908cacce038">show_text</a> (const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>&amp; utf8)</td></tr>
<tr class="memdesc:a584596d6f12dbea30519b908cacce038"><td class="mdescLeft">&#160;</td><td class="mdescRight">A drawing operator that generates the shape from a string of UTF-8 characters, rendered according to the current font_face, font_size (font_matrix), and font_options.  <a href="#a584596d6f12dbea30519b908cacce038">More...</a><br /></td></tr>
<tr class="separator:a584596d6f12dbea30519b908cacce038"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af51f2c2ff72e8af66abeea3d15d25553"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#af51f2c2ff72e8af66abeea3d15d25553">show_glyphs</a> (const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a>&lt; <a class="el" href="namespaceCairo.html#a2483f165322e844c095c7be95849fdc2">Glyph</a> &gt;&amp; glyphs)</td></tr>
<tr class="memdesc:af51f2c2ff72e8af66abeea3d15d25553"><td class="mdescLeft">&#160;</td><td class="mdescRight">A drawing operator that generates the shape from an array of glyphs, rendered according to the current font face, font size (font matrix), and font options.  <a href="#af51f2c2ff72e8af66abeea3d15d25553">More...</a><br /></td></tr>
<tr class="separator:af51f2c2ff72e8af66abeea3d15d25553"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a45723fd605cc2343ab46cf603d330002"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a45723fd605cc2343ab46cf603d330002">show_text_glyphs</a> (const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>&amp; utf8, const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a>&lt; <a class="el" href="namespaceCairo.html#a2483f165322e844c095c7be95849fdc2">Glyph</a> &gt;&amp; glyphs, const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a>&lt; <a class="el" href="namespaceCairo.html#a3c23510889078c8a75d66add004ab288">TextCluster</a> &gt;&amp; clusters, <a class="el" href="namespaceCairo.html#a61b770cf36c555a4098b5428e030542a">TextClusterFlags</a> cluster_flags)</td></tr>
<tr class="memdesc:a45723fd605cc2343ab46cf603d330002"><td class="mdescLeft">&#160;</td><td class="mdescRight">This operation has rendering effects similar to <a class="el" href="classCairo_1_1Context.html#af51f2c2ff72e8af66abeea3d15d25553" title="A drawing operator that generates the shape from an array of glyphs, rendered according to the curren...">show_glyphs()</a> but, if the target surface supports it, uses the provided text and cluster mapping to embed the text for the glyphs shown in the output.  <a href="#a45723fd605cc2343ab46cf603d330002">More...</a><br /></td></tr>
<tr class="separator:a45723fd605cc2343ab46cf603d330002"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acbe72f83295624f8905a350c589e7209"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#acbe72f83295624f8905a350c589e7209">get_font_extents</a> (<a class="el" href="namespaceCairo.html#aa7da46c699a67bfbdd5400af7e6b7b39">FontExtents</a>&amp; extents) const </td></tr>
<tr class="memdesc:acbe72f83295624f8905a350c589e7209"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the font extents for the currently selected font.  <a href="#acbe72f83295624f8905a350c589e7209">More...</a><br /></td></tr>
<tr class="separator:acbe72f83295624f8905a350c589e7209"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b344db51097aba30e36452e1364faef"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a9b344db51097aba30e36452e1364faef">set_font_face</a> (const <a class="el" href="classCairo_1_1RefPtr.html">RefPtr</a>&lt; const <a class="el" href="classCairo_1_1FontFace.html">FontFace</a> &gt;&amp; font_face)</td></tr>
<tr class="memdesc:a9b344db51097aba30e36452e1364faef"><td class="mdescLeft">&#160;</td><td class="mdescRight">Replaces the current font face in the context with <em>font_face</em> <em>font_face</em>.  <a href="#a9b344db51097aba30e36452e1364faef">More...</a><br /></td></tr>
<tr class="separator:a9b344db51097aba30e36452e1364faef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a837ff58a69e3e74f6a6ef9da8454af2b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a837ff58a69e3e74f6a6ef9da8454af2b">get_text_extents</a> (const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>&amp; utf8, <a class="el" href="namespaceCairo.html#af6d8a4744616383984c99f8f052c7a5d">TextExtents</a>&amp; extents) const </td></tr>
<tr class="memdesc:a837ff58a69e3e74f6a6ef9da8454af2b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the extents for a string of text.  <a href="#a837ff58a69e3e74f6a6ef9da8454af2b">More...</a><br /></td></tr>
<tr class="separator:a837ff58a69e3e74f6a6ef9da8454af2b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa37e5c6559f2573cfc55bb6fa5f6ef6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#afa37e5c6559f2573cfc55bb6fa5f6ef6">get_glyph_extents</a> (const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a>&lt; <a class="el" href="namespaceCairo.html#a2483f165322e844c095c7be95849fdc2">Glyph</a> &gt;&amp; glyphs, <a class="el" href="namespaceCairo.html#af6d8a4744616383984c99f8f052c7a5d">TextExtents</a>&amp; extents) const </td></tr>
<tr class="memdesc:afa37e5c6559f2573cfc55bb6fa5f6ef6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the extents for an array of glyphs.  <a href="#afa37e5c6559f2573cfc55bb6fa5f6ef6">More...</a><br /></td></tr>
<tr class="separator:afa37e5c6559f2573cfc55bb6fa5f6ef6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5613b4202f82f6a53f1aeac6c58e5521"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a5613b4202f82f6a53f1aeac6c58e5521">text_path</a> (const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a>&amp; utf8)</td></tr>
<tr class="memdesc:a5613b4202f82f6a53f1aeac6c58e5521"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds closed paths for text to the current path.  <a href="#a5613b4202f82f6a53f1aeac6c58e5521">More...</a><br /></td></tr>
<tr class="separator:a5613b4202f82f6a53f1aeac6c58e5521"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad3372fc30d9a26c8d26c440a21464ce5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#ad3372fc30d9a26c8d26c440a21464ce5">glyph_path</a> (const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a>&lt; <a class="el" href="namespaceCairo.html#a2483f165322e844c095c7be95849fdc2">Glyph</a> &gt;&amp; glyphs)</td></tr>
<tr class="memdesc:ad3372fc30d9a26c8d26c440a21464ce5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds closed paths for the glyphs to the current path.  <a href="#ad3372fc30d9a26c8d26c440a21464ce5">More...</a><br /></td></tr>
<tr class="separator:ad3372fc30d9a26c8d26c440a21464ce5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa5683fc9da28916cb237b4868a9c5d97"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceCairo.html#a2d612c31d146fc32d486f9614560c8d1">Operator</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#aa5683fc9da28916cb237b4868a9c5d97">get_operator</a> () const </td></tr>
<tr class="memdesc:aa5683fc9da28916cb237b4868a9c5d97"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the current compositing operator for a cairo <a class="el" href="classCairo_1_1Context.html" title="Context is the main class used to draw in cairomm. ">Context</a>.  <a href="#aa5683fc9da28916cb237b4868a9c5d97">More...</a><br /></td></tr>
<tr class="separator:aa5683fc9da28916cb237b4868a9c5d97"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a216632e43aa061890c0a637ea41f7960"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a216632e43aa061890c0a637ea41f7960">get_tolerance</a> () const </td></tr>
<tr class="memdesc:a216632e43aa061890c0a637ea41f7960"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the current tolerance value, as set by <a class="el" href="classCairo_1_1Context.html#a01481a915f4086051f1c200f0f7a33d1" title="Sets the tolerance used when converting paths into trapezoids. ">set_tolerance()</a>  <a href="#a216632e43aa061890c0a637ea41f7960">More...</a><br /></td></tr>
<tr class="separator:a216632e43aa061890c0a637ea41f7960"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3269ed87a45ce150d1b7bd00c1c18a80"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceCairo.html#a2cb381e7f63bef767a7d697fc5af13b4">Antialias</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a3269ed87a45ce150d1b7bd00c1c18a80">get_antialias</a> () const </td></tr>
<tr class="memdesc:a3269ed87a45ce150d1b7bd00c1c18a80"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the current shape antialiasing mode, as set by <a class="el" href="classCairo_1_1Context.html#a79220a6785490688fdea41750d8933d6" title="Set the antialiasing mode of the rasterizer used for drawing shapes. ">set_antialias()</a>  <a href="#a3269ed87a45ce150d1b7bd00c1c18a80">More...</a><br /></td></tr>
<tr class="separator:a3269ed87a45ce150d1b7bd00c1c18a80"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a69b25af8a2bac826a330e1bfeb2f1a1f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a69b25af8a2bac826a330e1bfeb2f1a1f">get_current_point</a> (double&amp; x, double&amp; y) const </td></tr>
<tr class="memdesc:a69b25af8a2bac826a330e1bfeb2f1a1f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the current point of the current path, which is conceptually the final point reached by the path so far.  <a href="#a69b25af8a2bac826a330e1bfeb2f1a1f">More...</a><br /></td></tr>
<tr class="separator:a69b25af8a2bac826a330e1bfeb2f1a1f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1db62850e9879589bacd463e54406b50"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a1db62850e9879589bacd463e54406b50">has_current_point</a> () const </td></tr>
<tr class="memdesc:a1db62850e9879589bacd463e54406b50"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if there is a current point defined.  <a href="#a1db62850e9879589bacd463e54406b50">More...</a><br /></td></tr>
<tr class="separator:a1db62850e9879589bacd463e54406b50"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a21a26ea9c08bb3c9c4180635f58fa7f8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceCairo.html#a1ba15b0a2e22c87c14af044801006c85">FillRule</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a21a26ea9c08bb3c9c4180635f58fa7f8">get_fill_rule</a> () const </td></tr>
<tr class="memdesc:a21a26ea9c08bb3c9c4180635f58fa7f8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the current fill rule, as set by <a class="el" href="classCairo_1_1Context.html#ad15693ae817e3229409d831c7dd96bed" title="Set the current fill rule within the cairo Context. ">set_fill_rule()</a>.  <a href="#a21a26ea9c08bb3c9c4180635f58fa7f8">More...</a><br /></td></tr>
<tr class="separator:a21a26ea9c08bb3c9c4180635f58fa7f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2aacb5cd843266b708ae47bc9a4f7014"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a2aacb5cd843266b708ae47bc9a4f7014">get_line_width</a> () const </td></tr>
<tr class="memdesc:a2aacb5cd843266b708ae47bc9a4f7014"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the current line width, as set by <a class="el" href="classCairo_1_1Context.html#a9ad2649d95e81a65aa0c581c4345375e" title="Sets the current line width within the cairo Context. ">set_line_width()</a>.  <a href="#a2aacb5cd843266b708ae47bc9a4f7014">More...</a><br /></td></tr>
<tr class="separator:a2aacb5cd843266b708ae47bc9a4f7014"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf84f561587f41a6cdaffe8024ebf96c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceCairo.html#abbb9aae64ef26733965e6d500ae76f1e">LineCap</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#aaf84f561587f41a6cdaffe8024ebf96c">get_line_cap</a> () const </td></tr>
<tr class="memdesc:aaf84f561587f41a6cdaffe8024ebf96c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the current line cap style, as set by <a class="el" href="classCairo_1_1Context.html#a07fd8fc2c75558484e960c5ff63a61cc" title="Sets the current line cap style within the cairo Context. ">set_line_cap()</a>  <a href="#aaf84f561587f41a6cdaffe8024ebf96c">More...</a><br /></td></tr>
<tr class="separator:aaf84f561587f41a6cdaffe8024ebf96c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a543677421cced4e1eca10f70dd36220f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceCairo.html#adbc632404edaa736e01c12122239de73">LineJoin</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a543677421cced4e1eca10f70dd36220f">get_line_join</a> () const </td></tr>
<tr class="memdesc:a543677421cced4e1eca10f70dd36220f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the current line join style, as set by <a class="el" href="classCairo_1_1Context.html#a23b5ba9363f568cacc1abf5e79a0200d" title="Sets the current line join style within the cairo Context. ">set_line_join()</a>  <a href="#a543677421cced4e1eca10f70dd36220f">More...</a><br /></td></tr>
<tr class="separator:a543677421cced4e1eca10f70dd36220f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a55c7e2c0533e35635c31c34ec498a4a2"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a55c7e2c0533e35635c31c34ec498a4a2">get_miter_limit</a> () const </td></tr>
<tr class="memdesc:a55c7e2c0533e35635c31c34ec498a4a2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the current miter limit, as set by <a class="el" href="classCairo_1_1Context.html#a583445ca963769d3f31613bc55b1e8ad" title="Sets the current miter limit within the cairo context. ">set_miter_limit()</a>  <a href="#a55c7e2c0533e35635c31c34ec498a4a2">More...</a><br /></td></tr>
<tr class="separator:a55c7e2c0533e35635c31c34ec498a4a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa43d0034e155d3c0244e0b4fdaf6af9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#aaa43d0034e155d3c0244e0b4fdaf6af9">get_dash</a> (<a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a>&lt; double &gt;&amp; dashes, double&amp; offset) const </td></tr>
<tr class="memdesc:aaa43d0034e155d3c0244e0b4fdaf6af9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the current dash array and offset.  <a href="#aaa43d0034e155d3c0244e0b4fdaf6af9">More...</a><br /></td></tr>
<tr class="separator:aaa43d0034e155d3c0244e0b4fdaf6af9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a03b21f4a3a44e28086c3a25075fdcea1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a03b21f4a3a44e28086c3a25075fdcea1">get_matrix</a> (<a class="el" href="classCairo_1_1Matrix.html">Matrix</a>&amp; matrix)</td></tr>
<tr class="memdesc:a03b21f4a3a44e28086c3a25075fdcea1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Stores the current transformation matrix (CTM) into matrix.  <a href="#a03b21f4a3a44e28086c3a25075fdcea1">More...</a><br /></td></tr>
<tr class="separator:a03b21f4a3a44e28086c3a25075fdcea1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aea651404be2fa942033c636e2665cd7e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#aea651404be2fa942033c636e2665cd7e">get_matrix</a> (<a class="el" href="classcairo__matrix__t.html">cairo_matrix_t</a>&amp; matrix)</td></tr>
<tr class="separator:aea651404be2fa942033c636e2665cd7e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a99cadcdd63e366bc793306e8d3cfee37"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCairo_1_1Matrix.html">Matrix</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a99cadcdd63e366bc793306e8d3cfee37">get_matrix</a> () const </td></tr>
<tr class="memdesc:a99cadcdd63e366bc793306e8d3cfee37"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the current transformation matrix (CTM)  <a href="#a99cadcdd63e366bc793306e8d3cfee37">More...</a><br /></td></tr>
<tr class="separator:a99cadcdd63e366bc793306e8d3cfee37"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48743c731a58fb25524593dc90b567b3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCairo_1_1Path.html">Path</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a48743c731a58fb25524593dc90b567b3">copy_path</a> () const </td></tr>
<tr class="memdesc:a48743c731a58fb25524593dc90b567b3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a copy of the current path and returns it to the user.  <a href="#a48743c731a58fb25524593dc90b567b3">More...</a><br /></td></tr>
<tr class="separator:a48743c731a58fb25524593dc90b567b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a28d0fa55e1d478ec05975b3c9f545c53"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a28d0fa55e1d478ec05975b3c9f545c53">get_path_extents</a> (double&amp; x1, double&amp; y1, double&amp; x2, double&amp; y2) const </td></tr>
<tr class="memdesc:a28d0fa55e1d478ec05975b3c9f545c53"><td class="mdescLeft">&#160;</td><td class="mdescRight">Computes a bounding box in user-space coordinates covering the points on the current path.  <a href="#a28d0fa55e1d478ec05975b3c9f545c53">More...</a><br /></td></tr>
<tr class="separator:a28d0fa55e1d478ec05975b3c9f545c53"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5213dad7e0b0054d631053abe0df1c7d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCairo_1_1Path.html">Path</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a5213dad7e0b0054d631053abe0df1c7d">copy_path_flat</a> () const </td></tr>
<tr class="memdesc:a5213dad7e0b0054d631053abe0df1c7d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets a flattened copy of the current path and returns it to the user.  <a href="#a5213dad7e0b0054d631053abe0df1c7d">More...</a><br /></td></tr>
<tr class="separator:a5213dad7e0b0054d631053abe0df1c7d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee34ef17540ad11f33176e8897d73203"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#aee34ef17540ad11f33176e8897d73203">append_path</a> (const <a class="el" href="classCairo_1_1Path.html">Path</a>&amp; path)</td></tr>
<tr class="memdesc:aee34ef17540ad11f33176e8897d73203"><td class="mdescLeft">&#160;</td><td class="mdescRight">Append the path onto the current path.  <a href="#aee34ef17540ad11f33176e8897d73203">More...</a><br /></td></tr>
<tr class="separator:aee34ef17540ad11f33176e8897d73203"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0a5a1ee48ff742d87480a689dca51c6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#aa0a5a1ee48ff742d87480a689dca51c6">push_group</a> ()</td></tr>
<tr class="memdesc:aa0a5a1ee48ff742d87480a689dca51c6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Temporarily redirects drawing to an intermediate surface known as a group.  <a href="#aa0a5a1ee48ff742d87480a689dca51c6">More...</a><br /></td></tr>
<tr class="separator:aa0a5a1ee48ff742d87480a689dca51c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad08812ecb59891f92e79a3d4dbca2d97"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#ad08812ecb59891f92e79a3d4dbca2d97">push_group_with_content</a> (<a class="el" href="namespaceCairo.html#a1f0f5d82599dfeabbeb2396dbfd767d0">Content</a> content)</td></tr>
<tr class="memdesc:ad08812ecb59891f92e79a3d4dbca2d97"><td class="mdescLeft">&#160;</td><td class="mdescRight">Temporarily redirects drawing to an intermediate surface known as a group.  <a href="#ad08812ecb59891f92e79a3d4dbca2d97">More...</a><br /></td></tr>
<tr class="separator:ad08812ecb59891f92e79a3d4dbca2d97"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aece6278f4d71ce652557c80788415711"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCairo_1_1RefPtr.html">RefPtr</a>&lt; <a class="el" href="classCairo_1_1Pattern.html">Pattern</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#aece6278f4d71ce652557c80788415711">pop_group</a> ()</td></tr>
<tr class="memdesc:aece6278f4d71ce652557c80788415711"><td class="mdescLeft">&#160;</td><td class="mdescRight">Terminates the redirection begun by a call to <a class="el" href="classCairo_1_1Context.html#aa0a5a1ee48ff742d87480a689dca51c6" title="Temporarily redirects drawing to an intermediate surface known as a group. ">push_group()</a> or <a class="el" href="classCairo_1_1Context.html#ad08812ecb59891f92e79a3d4dbca2d97" title="Temporarily redirects drawing to an intermediate surface known as a group. ">push_group_with_content()</a> and returns a new pattern containing the results of all drawing operations performed to the group.  <a href="#aece6278f4d71ce652557c80788415711">More...</a><br /></td></tr>
<tr class="separator:aece6278f4d71ce652557c80788415711"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd11fa1d3a582e0975ebb0155b9d4467"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#abd11fa1d3a582e0975ebb0155b9d4467">pop_group_to_source</a> ()</td></tr>
<tr class="memdesc:abd11fa1d3a582e0975ebb0155b9d4467"><td class="mdescLeft">&#160;</td><td class="mdescRight">Terminates the redirection begun by a call to <a class="el" href="classCairo_1_1Context.html#aa0a5a1ee48ff742d87480a689dca51c6" title="Temporarily redirects drawing to an intermediate surface known as a group. ">push_group()</a> or <a class="el" href="classCairo_1_1Context.html#ad08812ecb59891f92e79a3d4dbca2d97" title="Temporarily redirects drawing to an intermediate surface known as a group. ">push_group_with_content()</a> and installs the resulting pattern as the source pattern in the given cairo <a class="el" href="classCairo_1_1Context.html" title="Context is the main class used to draw in cairomm. ">Context</a>.  <a href="#abd11fa1d3a582e0975ebb0155b9d4467">More...</a><br /></td></tr>
<tr class="separator:abd11fa1d3a582e0975ebb0155b9d4467"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad75b7d22f76958a6651e9f02172525f8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCairo_1_1RefPtr.html">RefPtr</a>&lt; <a class="el" href="classCairo_1_1Surface.html">Surface</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#ad75b7d22f76958a6651e9f02172525f8">get_group_target</a> ()</td></tr>
<tr class="memdesc:ad75b7d22f76958a6651e9f02172525f8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the target surface for the current group as started by the most recent call to <a class="el" href="classCairo_1_1Context.html#aa0a5a1ee48ff742d87480a689dca51c6" title="Temporarily redirects drawing to an intermediate surface known as a group. ">push_group()</a> or <a class="el" href="classCairo_1_1Context.html#ad08812ecb59891f92e79a3d4dbca2d97" title="Temporarily redirects drawing to an intermediate surface known as a group. ">push_group_with_content()</a>.  <a href="#ad75b7d22f76958a6651e9f02172525f8">More...</a><br /></td></tr>
<tr class="separator:ad75b7d22f76958a6651e9f02172525f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6908784c77134e45b09bd1ff4bcb34c9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCairo_1_1RefPtr.html">RefPtr</a>&lt; const <a class="el" href="classCairo_1_1Surface.html">Surface</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a6908784c77134e45b09bd1ff4bcb34c9">get_group_target</a> () const </td></tr>
<tr class="memdesc:a6908784c77134e45b09bd1ff4bcb34c9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Same as the non-const version but returns a reference to a const <a class="el" href="classCairo_1_1Surface.html" title="A cairo surface represents an image, either as the destination of a drawing operation or as source wh...">Surface</a>.  <a href="#a6908784c77134e45b09bd1ff4bcb34c9">More...</a><br /></td></tr>
<tr class="separator:a6908784c77134e45b09bd1ff4bcb34c9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a614bcb4e9570c5b5c54b3bfc304c194a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCairo_1_1Context.html#a14e54b45199452f9916ebcafcd4a629e">cobject</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a614bcb4e9570c5b5c54b3bfc304c194a">cobj</a> ()</td></tr>
<tr class="memdesc:a614bcb4e9570c5b5c54b3bfc304c194a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets a pointer to the base C type that is wrapped by the <a class="el" href="classCairo_1_1Context.html" title="Context is the main class used to draw in cairomm. ">Context</a>.  <a href="#a614bcb4e9570c5b5c54b3bfc304c194a">More...</a><br /></td></tr>
<tr class="separator:a614bcb4e9570c5b5c54b3bfc304c194a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae99b48b6e596f42a7ccb90ab4ae94074"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classCairo_1_1Context.html#a14e54b45199452f9916ebcafcd4a629e">cobject</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#ae99b48b6e596f42a7ccb90ab4ae94074">cobj</a> () const </td></tr>
<tr class="memdesc:ae99b48b6e596f42a7ccb90ab4ae94074"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets a pointer to the base C type that is wrapped by the <a class="el" href="classCairo_1_1Context.html" title="Context is the main class used to draw in cairomm. ">Context</a>.  <a href="#ae99b48b6e596f42a7ccb90ab4ae94074">More...</a><br /></td></tr>
<tr class="separator:ae99b48b6e596f42a7ccb90ab4ae94074"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr class="memitem:aa3606d313d54bc1b26938a8dfadc1e94"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCairo_1_1RefPtr.html">RefPtr</a>&lt; <a class="el" href="classCairo_1_1FontFace.html">FontFace</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#aa3606d313d54bc1b26938a8dfadc1e94">get_font_face</a> ()</td></tr>
<tr class="memdesc:aa3606d313d54bc1b26938a8dfadc1e94"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the current font face.  <a href="#aa3606d313d54bc1b26938a8dfadc1e94">More...</a><br /></td></tr>
<tr class="separator:aa3606d313d54bc1b26938a8dfadc1e94"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a02c602da267ff6c0b29d638f4a59a158"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCairo_1_1RefPtr.html">RefPtr</a>&lt; const <a class="el" href="classCairo_1_1FontFace.html">FontFace</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a02c602da267ff6c0b29d638f4a59a158">get_font_face</a> () const </td></tr>
<tr class="separator:a02c602da267ff6c0b29d638f4a59a158"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr class="memitem:a0b6eeda4d80f3d591a770cbbbf8a0c87"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCairo_1_1RefPtr.html">RefPtr</a>&lt; <a class="el" href="classCairo_1_1Pattern.html">Pattern</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a0b6eeda4d80f3d591a770cbbbf8a0c87">get_source</a> ()</td></tr>
<tr class="memdesc:a0b6eeda4d80f3d591a770cbbbf8a0c87"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the current source pattern for the <a class="el" href="classCairo_1_1Context.html" title="Context is the main class used to draw in cairomm. ">Context</a>.  <a href="#a0b6eeda4d80f3d591a770cbbbf8a0c87">More...</a><br /></td></tr>
<tr class="separator:a0b6eeda4d80f3d591a770cbbbf8a0c87"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa17cc0c92671d0d4c2d48bc3a79858d0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCairo_1_1RefPtr.html">RefPtr</a>&lt; const <a class="el" href="classCairo_1_1Pattern.html">Pattern</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#aa17cc0c92671d0d4c2d48bc3a79858d0">get_source</a> () const </td></tr>
<tr class="separator:aa17cc0c92671d0d4c2d48bc3a79858d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr class="memitem:aea76bccc09bdab482f96469a4e7f94f6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCairo_1_1RefPtr.html">RefPtr</a>&lt; <a class="el" href="classCairo_1_1Surface.html">Surface</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#aea76bccc09bdab482f96469a4e7f94f6">get_target</a> ()</td></tr>
<tr class="memdesc:aea76bccc09bdab482f96469a4e7f94f6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the target surface associated with this <a class="el" href="classCairo_1_1Context.html" title="Context is the main class used to draw in cairomm. ">Context</a>.  <a href="#aea76bccc09bdab482f96469a4e7f94f6">More...</a><br /></td></tr>
<tr class="separator:aea76bccc09bdab482f96469a4e7f94f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a39f36fa1f1460ca8a7f0504f01cb4d90"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCairo_1_1RefPtr.html">RefPtr</a>&lt; const <a class="el" href="classCairo_1_1Surface.html">Surface</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a39f36fa1f1460ca8a7f0504f01cb4d90">get_target</a> () const </td></tr>
<tr class="separator:a39f36fa1f1460ca8a7f0504f01cb4d90"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a9a27f6ec57d788fd3ecbc310aeb24d99"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classCairo_1_1RefPtr.html">RefPtr</a>&lt; <a class="el" href="classCairo_1_1Context.html">Context</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a9a27f6ec57d788fd3ecbc310aeb24d99">create</a> (const <a class="el" href="classCairo_1_1RefPtr.html">RefPtr</a>&lt; <a class="el" href="classCairo_1_1Surface.html">Surface</a> &gt;&amp; target)</td></tr>
<tr class="separator:a9a27f6ec57d788fd3ecbc310aeb24d99"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:ac3c5491dbf6e57a26369e987361f6cd8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#ac3c5491dbf6e57a26369e987361f6cd8">Context</a> (const <a class="el" href="classCairo_1_1RefPtr.html">RefPtr</a>&lt; <a class="el" href="classCairo_1_1Surface.html">Surface</a> &gt;&amp; target)</td></tr>
<tr class="separator:ac3c5491dbf6e57a26369e987361f6cd8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a620db06ff96d42e8e1db12ada0435fcc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCairo_1_1Context.html#a14e54b45199452f9916ebcafcd4a629e">cobject</a>*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCairo_1_1Context.html#a620db06ff96d42e8e1db12ada0435fcc">m_cobject</a></td></tr>
<tr class="separator:a620db06ff96d42e8e1db12ada0435fcc"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p><a class="el" href="classCairo_1_1Context.html" title="Context is the main class used to draw in cairomm. ">Context</a> is the main class used to draw in cairomm. </p>
<p>It contains the current state of the rendering device, including coordinates of yet to be drawn shapes.</p>
<p>In the simplest case, create a <a class="el" href="classCairo_1_1Context.html" title="Context is the main class used to draw in cairomm. ">Context</a> with its target <a class="el" href="classCairo_1_1Surface.html" title="A cairo surface represents an image, either as the destination of a drawing operation or as source wh...">Surface</a>, set its drawing options (line width, color, etc), create shapes with methods like <a class="el" href="classCairo_1_1Context.html#a4086700b5f780fd3fb94bea941895022" title="If the current subpath is not empty, begin a new subpath. ">move_to()</a> and <a class="el" href="classCairo_1_1Context.html#ae305a9f8a79cc0e0693393a940ee1de8" title="Adds a line to the path from the current point to position (x, y) in user-space coordinates. ">line_to()</a>, and then draw the shapes to the <a class="el" href="classCairo_1_1Surface.html" title="A cairo surface represents an image, either as the destination of a drawing operation or as source wh...">Surface</a> using methods such as <a class="el" href="classCairo_1_1Context.html#a8e4acbb44f4b3fac00ee93f6251d6d17" title="A drawing operator that strokes the current Path according to the current line width, line join, line cap, and dash settings. ">stroke()</a> or <a class="el" href="classCairo_1_1Context.html#a0a484790884dd138108b07c0ebbbe21d" title="A drawing operator that fills the current path according to the current fill rule, (each sub-path is implicitly closed before being filled). ">fill()</a>.</p>
<p><a class="el" href="classCairo_1_1Context.html" title="Context is the main class used to draw in cairomm. ">Context</a> is a reference-counted object that should be used via <a class="el" href="classCairo_1_1RefPtr.html" title="RefPtr<> is a reference-counting shared smartpointer. ">Cairo::RefPtr</a>. </p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a class="anchor" id="a14e54b45199452f9916ebcafcd4a629e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef cairo_t <a class="el" href="classCairo_1_1Context.html#a14e54b45199452f9916ebcafcd4a629e">Cairo::Context::cobject</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The base cairo C type that is wrapped by <a class="el" href="classCairo_1_1Context.html" title="Context is the main class used to draw in cairomm. ">Cairo::Context</a>. </p>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ac3c5491dbf6e57a26369e987361f6cd8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Cairo::Context::Context </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCairo_1_1RefPtr.html">RefPtr</a>&lt; <a class="el" href="classCairo_1_1Surface.html">Surface</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>target</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="adb2361743a9f017e662c3c6809dfc765"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Cairo::Context::Context </td>
          <td>(</td>
          <td class="paramtype">cairo_t *&#160;</td>
          <td class="paramname"><em>cobject</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>has_reference</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Create a C++ wrapper for the C instance. </p>
<p>This C++ instance should then be given to a <a class="el" href="classCairo_1_1RefPtr.html" title="RefPtr<> is a reference-counting shared smartpointer. ">RefPtr</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">cobject</td><td>The C instance. </td></tr>
    <tr><td class="paramname">has_reference</td><td>Whether we already have a reference. Otherwise, the constructor will take an extra reference. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="acac6e893153cbe7748227dbfdcb97949"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Cairo::Context::Context </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCairo_1_1Context.html">Context</a>&amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a35d214d3ad4d29bd5993d683333a9791"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual Cairo::Context::~Context </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="aee34ef17540ad11f33176e8897d73203"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::append_path </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCairo_1_1Path.html">Path</a>&amp;&#160;</td>
          <td class="paramname"><em>path</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Append the path onto the current path. </p>
<p>The path may be either the return value from one of <a class="el" href="classCairo_1_1Context.html#a48743c731a58fb25524593dc90b567b3" title="Creates a copy of the current path and returns it to the user. ">copy_path()</a> or <a class="el" href="classCairo_1_1Context.html#a5213dad7e0b0054d631053abe0df1c7d" title="Gets a flattened copy of the current path and returns it to the user. ">copy_path_flat()</a> or it may be constructed manually.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">path</td><td>path to be appended </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aaa96080beea581244f0a3838fb7c9ee6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::arc </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>xc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>yc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>radius</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>angle1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>angle2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Adds a circular arc of the given radius to the current path. </p>
<p>The arc is centered at (<em>xc</em>, <em>yc</em>), begins at <em>angle1</em> and proceeds in the direction of increasing angles to end at <em>angle2</em>. If <em>angle2</em> is less than <em>angle1</em> it will be progressively increased by 2*M_PI until it is greater than <em>angle1</em>.</p>
<p>If there is a current point, an initial line segment will be added to the path to connect the current point to the beginning of the arc. If this initial line is undesired, it can be avoided by calling <a class="el" href="classCairo_1_1Context.html#a8cb4b961893563c585ed05a67126b0df" title="Begin a new subpath. ">begin_new_sub_path()</a> before calling <a class="el" href="classCairo_1_1Context.html#aaa96080beea581244f0a3838fb7c9ee6" title="Adds a circular arc of the given radius to the current path. ">arc()</a>.</p>
<p>Angles are measured in radians. An angle of 0 is in the direction of the positive X axis (in user-space). An angle of M_PI/2.0 radians (90 degrees) is in the direction of the positive Y axis (in user-space). Angles increase in the direction from the positive X axis toward the positive Y axis. So with the default transformation matrix, angles increase in a clockwise direction.</p>
<p>( To convert from degrees to radians, use degrees * (M_PI / 180.0). )</p>
<p>This function gives the arc in the direction of increasing angles; see <a class="el" href="classCairo_1_1Context.html#a1a9e7517cd5afd49d729b8a87539a305" title="Adds a circular arc of the given radius to the current path. ">arc_negative()</a> to get the arc in the direction of decreasing angles.</p>
<p>The arc is circular in user-space. To achieve an elliptical arc, you can scale the current transformation matrix by different amounts in the X and Y directions. For example, to draw an ellipse in the box given by x, y, width, height:</p>
<div class="fragment"><div class="line">context-&gt;save();</div>
<div class="line">context-&gt;translate(x, y);</div>
<div class="line">context-&gt;scale(width / 2.0, height / 2.0);</div>
<div class="line">context-&gt;arc(0.0, 0.0, 1.0, 0.0, 2 * M_PI);</div>
<div class="line">context-&gt;restore();</div>
</div><!-- fragment --><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">xc</td><td>X position of the center of the arc </td></tr>
    <tr><td class="paramname">yc</td><td>Y position of the center of the arc </td></tr>
    <tr><td class="paramname">radius</td><td>the radius of the arc </td></tr>
    <tr><td class="paramname">angle1</td><td>the start angle, in radians </td></tr>
    <tr><td class="paramname">angle2</td><td>the end angle, in radians </td></tr>
  </table>
  </dd>
</dl>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="user-font_8cc-example.html#a14">user-font.cc</a>.</dd>
</dl>
</div>
</div>
<a class="anchor" id="a1a9e7517cd5afd49d729b8a87539a305"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::arc_negative </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>xc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>yc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>radius</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>angle1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>angle2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Adds a circular arc of the given <em>radius</em> to the current path. </p>
<p>The arc is centered at (<em>xc</em>, <em>yc</em>), begins at <em>angle1</em> and proceeds in the direction of decreasing angles to end at <em>angle2</em>. If <em>angle2</em> is greater than <em>angle1</em> it will be progressively decreased by 2*M_PI until it is greater than <em>angle1</em>.</p>
<p>See <a class="el" href="classCairo_1_1Context.html#aaa96080beea581244f0a3838fb7c9ee6" title="Adds a circular arc of the given radius to the current path. ">arc()</a> for more details. This function differs only in the direction of the arc between the two angles.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">xc</td><td>X position of the center of the arc </td></tr>
    <tr><td class="paramname">yc</td><td>Y position of the center of the arc </td></tr>
    <tr><td class="paramname">radius</td><td>the radius of the arc </td></tr>
    <tr><td class="paramname">angle1</td><td>the start angle, in radians </td></tr>
    <tr><td class="paramname">angle2</td><td>the end angle, in radians </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a527efe9a3a5bf48f768e223d5f4fecca"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::begin_new_path </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clears the current path. </p>
<p>After this call there will be no current point. </p>

</div>
</div>
<a class="anchor" id="a8cb4b961893563c585ed05a67126b0df"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::begin_new_sub_path </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Begin a new subpath. </p>
<p>Note that the existing path is not affected. After this call there will be no current point.</p>
<p>In many cases, this call is not needed since new subpaths are frequently started with <a class="el" href="classCairo_1_1Context.html#a4086700b5f780fd3fb94bea941895022" title="If the current subpath is not empty, begin a new subpath. ">move_to()</a>.</p>
<p>A call to <a class="el" href="classCairo_1_1Context.html#a8cb4b961893563c585ed05a67126b0df" title="Begin a new subpath. ">begin_new_sub_path()</a> is particularly useful when beginning a new subpath with one of the <a class="el" href="classCairo_1_1Context.html#aaa96080beea581244f0a3838fb7c9ee6" title="Adds a circular arc of the given radius to the current path. ">arc()</a> calls. This makes things easier as it is no longer necessary to manually compute the arc's initial coordinates for a call to <a class="el" href="classCairo_1_1Context.html#a4086700b5f780fd3fb94bea941895022" title="If the current subpath is not empty, begin a new subpath. ">move_to()</a>.</p>
<dl class="section since"><dt>Since</dt><dd>1.2 </dd></dl>

</div>
</div>
<a class="anchor" id="a423077b911738772807cc8bc24c25488"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::clip </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Establishes a new clip region by intersecting the current clip region with the current <a class="el" href="classCairo_1_1Path.html" title="A data structure for holding a path. ">Path</a> as it would be filled by <a class="el" href="classCairo_1_1Context.html#a0a484790884dd138108b07c0ebbbe21d" title="A drawing operator that fills the current path according to the current fill rule, (each sub-path is implicitly closed before being filled). ">fill()</a> and according to the current fill rule. </p>
<p>After <a class="el" href="classCairo_1_1Context.html#a423077b911738772807cc8bc24c25488" title="Establishes a new clip region by intersecting the current clip region with the current Path as it wou...">clip()</a>, the current path will be cleared from the cairo <a class="el" href="classCairo_1_1Context.html" title="Context is the main class used to draw in cairomm. ">Context</a>.</p>
<p>The current clip region affects all drawing operations by effectively masking out any changes to the surface that are outside the current clip region.</p>
<p>Calling <a class="el" href="classCairo_1_1Context.html#a423077b911738772807cc8bc24c25488" title="Establishes a new clip region by intersecting the current clip region with the current Path as it wou...">clip()</a> can only make the clip region smaller, never larger. But the current clip is part of the graphics state, so a temporary restriction of the clip region can be achieved by calling <a class="el" href="classCairo_1_1Context.html#a423077b911738772807cc8bc24c25488" title="Establishes a new clip region by intersecting the current clip region with the current Path as it wou...">clip()</a> within a <a class="el" href="classCairo_1_1Context.html#a5249fa850f6adc1cb743e60a65a1ddb6" title="Makes a copy of the current state of the Context and saves it on an internal stack of saved states...">save()</a>/restore() pair. The only other means of increasing the size of the clip region is <a class="el" href="classCairo_1_1Context.html#a82d001967dc8ba3e45f4d7a06c4b9ff2" title="Reset the current clip region to its original, unrestricted state. ">reset_clip()</a>.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classCairo_1_1Context.html#ad15693ae817e3229409d831c7dd96bed" title="Set the current fill rule within the cairo Context. ">set_fill_rule()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a2987c4ecac0438ee808c34d3c35c7f2e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::clip_preserve </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Establishes a new clip region by intersecting the current clip region with the current path as it would be filled by <a class="el" href="classCairo_1_1Context.html#a0a484790884dd138108b07c0ebbbe21d" title="A drawing operator that fills the current path according to the current fill rule, (each sub-path is implicitly closed before being filled). ">fill()</a> and according to the current fill rule. </p>
<p>Unlike <a class="el" href="classCairo_1_1Context.html#a423077b911738772807cc8bc24c25488" title="Establishes a new clip region by intersecting the current clip region with the current Path as it wou...">clip()</a>, clip_preserve preserves the path within the cairo <a class="el" href="classCairo_1_1Context.html" title="Context is the main class used to draw in cairomm. ">Context</a>.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classCairo_1_1Context.html#a423077b911738772807cc8bc24c25488" title="Establishes a new clip region by intersecting the current clip region with the current Path as it wou...">clip()</a> </dd>
<dd>
<a class="el" href="classCairo_1_1Context.html#ad15693ae817e3229409d831c7dd96bed" title="Set the current fill rule within the cairo Context. ">set_fill_rule()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a32211b0684b1d264c17402b5289fcba0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::close_path </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Adds a line segment to the path from the current point to the beginning of the current subpath, (the most recent point passed to <a class="el" href="classCairo_1_1Context.html#a4086700b5f780fd3fb94bea941895022" title="If the current subpath is not empty, begin a new subpath. ">move_to()</a>), and closes this subpath. </p>
<p>After this call the current point will be at the joined endpoint of the sub-path.</p>
<p>The behavior of <a class="el" href="classCairo_1_1Context.html#a32211b0684b1d264c17402b5289fcba0" title="Adds a line segment to the path from the current point to the beginning of the current subpath...">close_path()</a> is distinct from simply calling <a class="el" href="classCairo_1_1Context.html#ae305a9f8a79cc0e0693393a940ee1de8" title="Adds a line to the path from the current point to position (x, y) in user-space coordinates. ">line_to()</a> with the equivalent coordinate in the case of stroking. When a closed subpath is stroked, there are no caps on the ends of the subpath. Instead, there is a line join connecting the final and initial segments of the subpath.</p>
<p>If there is no current point before the call to <a class="el" href="classCairo_1_1Context.html#a32211b0684b1d264c17402b5289fcba0" title="Adds a line segment to the path from the current point to the beginning of the current subpath...">close_path()</a>, this function will have no effect. </p>

</div>
</div>
<a class="anchor" id="a614bcb4e9570c5b5c54b3bfc304c194a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCairo_1_1Context.html#a14e54b45199452f9916ebcafcd4a629e">cobject</a>* Cairo::Context::cobj </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Gets a pointer to the base C type that is wrapped by the <a class="el" href="classCairo_1_1Context.html" title="Context is the main class used to draw in cairomm. ">Context</a>. </p>

</div>
</div>
<a class="anchor" id="ae99b48b6e596f42a7ccb90ab4ae94074"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classCairo_1_1Context.html#a14e54b45199452f9916ebcafcd4a629e">cobject</a>* Cairo::Context::cobj </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Gets a pointer to the base C type that is wrapped by the <a class="el" href="classCairo_1_1Context.html" title="Context is the main class used to draw in cairomm. ">Context</a>. </p>

</div>
</div>
<a class="anchor" id="a7dc19917311f812e667d71102b0d986b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::copy_clip_rectangle_list </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a>&lt; <a class="el" href="namespaceCairo.html#a5a956a3226f8c0cece695c49f453e124">Rectangle</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>rectangles</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the current clip region as a list of rectangles in user coordinates. </p>
<p>This function will throw an exception if the clip region cannot be represented as a list of user-space rectangles.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">rectangles</td><td>a vector to store the rectangles into</td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"></td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a7ccbeacb2a7f2d787b3daf31a69383fd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::copy_page </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Emits the current page for backends that support multiple pages, but doesn't clear it, so, the contents of the current page will be retained for the next page too. </p>
<p>Use <a class="el" href="classCairo_1_1Context.html#a525cac95b4d4c2abea12b82c433adba9" title="Emits and clears the current page for backends that support multiple pages. ">show_page()</a> if you want to get an empty page after the emission.</p>
<p>This is a convenience function that simply calls <a class="el" href="classCairo_1_1Surface.html#aae22bcaa9becbf3ca703a380f70c2c0a" title="Emits the current page for backends that support multiple pages, but doesn&#39;t clear it...">Surface::copy_page()</a> on <em>cr's</em> target. </p>

</div>
</div>
<a class="anchor" id="a48743c731a58fb25524593dc90b567b3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCairo_1_1Path.html">Path</a>* Cairo::Context::copy_path </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Creates a copy of the current path and returns it to the user. </p>
<dl class="section note"><dt>Note</dt><dd>The caller owns the <a class="el" href="classCairo_1_1Path.html" title="A data structure for holding a path. ">Path</a> object returned from this function. The <a class="el" href="classCairo_1_1Path.html" title="A data structure for holding a path. ">Path</a> object must be freed when you are finished with it. </dd></dl>

</div>
</div>
<a class="anchor" id="a5213dad7e0b0054d631053abe0df1c7d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCairo_1_1Path.html">Path</a>* Cairo::Context::copy_path_flat </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets a flattened copy of the current path and returns it to the user. </p>
<p>This function is like <a class="el" href="classCairo_1_1Context.html#a48743c731a58fb25524593dc90b567b3" title="Creates a copy of the current path and returns it to the user. ">copy_path()</a> except that any curves in the path will be approximated with piecewise-linear approximations, (accurate to within the current tolerance value). That is, the result is guaranteed to not have any elements of type CAIRO_PATH_CURVE_TO which will instead be replaced by a series of CAIRO_PATH_LINE_TO elements.</p>
<dl class="section note"><dt>Note</dt><dd>The caller owns the <a class="el" href="classCairo_1_1Path.html" title="A data structure for holding a path. ">Path</a> object returned from this function. The <a class="el" href="classCairo_1_1Path.html" title="A data structure for holding a path. ">Path</a> object must be freed when you are finished with it. </dd></dl>

</div>
</div>
<a class="anchor" id="a9a27f6ec57d788fd3ecbc310aeb24d99"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classCairo_1_1RefPtr.html">RefPtr</a>&lt;<a class="el" href="classCairo_1_1Context.html">Context</a>&gt; Cairo::Context::create </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCairo_1_1RefPtr.html">RefPtr</a>&lt; <a class="el" href="classCairo_1_1Surface.html">Surface</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>target</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="image-surface_8cc-example.html#a2">image-surface.cc</a>, <a class="el" href="pdf-surface_8cc-example.html#a2">pdf-surface.cc</a>, <a class="el" href="ps-surface_8cc-example.html#a2">ps-surface.cc</a>, <a class="el" href="svg-surface_8cc-example.html#a2">svg-surface.cc</a>, <a class="el" href="toy-text_8cc-example.html#a2">toy-text.cc</a>, and <a class="el" href="user-font_8cc-example.html#a11">user-font.cc</a>.</dd>
</dl>
</div>
</div>
<a class="anchor" id="a9bdb6a5e2ea0e4bc9441bdc5704805f7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::curve_to </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>y2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>x3</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#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>Adds a cubic Bezier spline to the path from the current point to position (x3, y3) in user-space coordinates, using (x1, y1) and (x2, y2) as the control points. </p>
<p>After this call the current point will be (x3, y3).</p>
<p>If there is no current point before the call to <a class="el" href="classCairo_1_1Context.html#a9bdb6a5e2ea0e4bc9441bdc5704805f7" title="Adds a cubic Bezier spline to the path from the current point to position (x3, y3) in user-space coor...">curve_to()</a> this function will behave as if preceded by a call to move_to(x1, y1).</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">x1</td><td>the X coordinate of the first control point </td></tr>
    <tr><td class="paramname">y1</td><td>the Y coordinate of the first control point </td></tr>
    <tr><td class="paramname">x2</td><td>the X coordinate of the second control point </td></tr>
    <tr><td class="paramname">y2</td><td>the Y coordinate of the second control point </td></tr>
    <tr><td class="paramname">x3</td><td>the X coordinate of the end of the curve </td></tr>
    <tr><td class="paramname">y3</td><td>the Y coordinate of the end of the curve </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a0c7acaaf16d4740cd7fee2298bf2b5c4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::device_to_user </td>
          <td>(</td>
          <td class="paramtype">double &amp;&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;&#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>Transform a coordinate from device space to user space by multiplying the given point by the inverse of the current transformation matrix (CTM). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>X value of coordinate (in/out parameter) </td></tr>
    <tr><td class="paramname">y</td><td>Y value of coordinate (in/out parameter)</td></tr>
  </table>
  </dd>
</dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000005">Deprecated:</a></b></dt><dd>Use the const version. </dd></dl>

</div>
</div>
<a class="anchor" id="a41f54b367cae7c9efd35749cad69a260"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::device_to_user </td>
          <td>(</td>
          <td class="paramtype">double &amp;&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;&#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>Transform a coordinate from device space to user space by multiplying the given point by the inverse of the current transformation matrix (CTM). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>X value of coordinate (in/out parameter) </td></tr>
    <tr><td class="paramname">y</td><td>Y value of coordinate (in/out parameter) </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a2f396567b0504d1421abb5f7ed38cd97"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::device_to_user_distance </td>
          <td>(</td>
          <td class="paramtype">double &amp;&#160;</td>
          <td class="paramname"><em>dx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;&#160;</td>
          <td class="paramname"><em>dy</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Transform a distance vector from device space to user space. </p>
<p>This function is similar to <a class="el" href="classCairo_1_1Context.html#a0c7acaaf16d4740cd7fee2298bf2b5c4" title="Transform a coordinate from device space to user space by multiplying the given point by the inverse ...">device_to_user()</a> except that the translation components of the inverse CTM will be ignored when transforming (dx,dy).</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dx</td><td>X component of a distance vector (in/out parameter) </td></tr>
    <tr><td class="paramname">dy</td><td>Y component of a distance vector (in/out parameter)</td></tr>
  </table>
  </dd>
</dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000006">Deprecated:</a></b></dt><dd>Use the const version. </dd></dl>

</div>
</div>
<a class="anchor" id="a522345149deb1b5545e0d9a4ba99b3be"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::device_to_user_distance </td>
          <td>(</td>
          <td class="paramtype">double &amp;&#160;</td>
          <td class="paramname"><em>dx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;&#160;</td>
          <td class="paramname"><em>dy</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Transform a distance vector from device space to user space. </p>
<p>This function is similar to <a class="el" href="classCairo_1_1Context.html#a0c7acaaf16d4740cd7fee2298bf2b5c4" title="Transform a coordinate from device space to user space by multiplying the given point by the inverse ...">device_to_user()</a> except that the translation components of the inverse CTM will be ignored when transforming (dx,dy).</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dx</td><td>X component of a distance vector (in/out parameter) </td></tr>
    <tr><td class="paramname">dy</td><td>Y component of a distance vector (in/out parameter) </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a0a484790884dd138108b07c0ebbbe21d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::fill </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>A drawing operator that fills the current path according to the current fill rule, (each sub-path is implicitly closed before being filled). </p>
<p>After <a class="el" href="classCairo_1_1Context.html#a0a484790884dd138108b07c0ebbbe21d" title="A drawing operator that fills the current path according to the current fill rule, (each sub-path is implicitly closed before being filled). ">fill()</a>, the current path will be cleared from the cairo context.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classCairo_1_1Context.html#ad15693ae817e3229409d831c7dd96bed" title="Set the current fill rule within the cairo Context. ">set_fill_rule()</a> </dd>
<dd>
<a class="el" href="classCairo_1_1Context.html#a0ef3f887f91527a485ce1300972ac8e3" title="A drawing operator that fills the current path according to the current fill rule, (each sub-path is implicitly closed before being filled). ">fill_preserve()</a> </dd></dl>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="user-font_8cc-example.html#a16">user-font.cc</a>.</dd>
</dl>
</div>
</div>
<a class="anchor" id="a0ef3f887f91527a485ce1300972ac8e3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::fill_preserve </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>A drawing operator that fills the current path according to the current fill rule, (each sub-path is implicitly closed before being filled). </p>
<p>Unlike <a class="el" href="classCairo_1_1Context.html#a0a484790884dd138108b07c0ebbbe21d" title="A drawing operator that fills the current path according to the current fill rule, (each sub-path is implicitly closed before being filled). ">fill()</a>, <a class="el" href="classCairo_1_1Context.html#a0ef3f887f91527a485ce1300972ac8e3" title="A drawing operator that fills the current path according to the current fill rule, (each sub-path is implicitly closed before being filled). ">fill_preserve()</a> preserves the path within the cairo <a class="el" href="classCairo_1_1Context.html" title="Context is the main class used to draw in cairomm. ">Context</a>.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classCairo_1_1Context.html#ad15693ae817e3229409d831c7dd96bed" title="Set the current fill rule within the cairo Context. ">set_fill_rule()</a> </dd>
<dd>
<a class="el" href="classCairo_1_1Context.html#a0a484790884dd138108b07c0ebbbe21d" title="A drawing operator that fills the current path according to the current fill rule, (each sub-path is implicitly closed before being filled). ">fill()</a>. </dd></dl>

</div>
</div>
<a class="anchor" id="a3269ed87a45ce150d1b7bd00c1c18a80"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceCairo.html#a2cb381e7f63bef767a7d697fc5af13b4">Antialias</a> Cairo::Context::get_antialias </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the current shape antialiasing mode, as set by <a class="el" href="classCairo_1_1Context.html#a79220a6785490688fdea41750d8933d6" title="Set the antialiasing mode of the rasterizer used for drawing shapes. ">set_antialias()</a> </p>

</div>
</div>
<a class="anchor" id="a7211a6110201b959ee46c47aa173b12a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::get_clip_extents </td>
          <td>(</td>
          <td class="paramtype">double &amp;&#160;</td>
          <td class="paramname"><em>x1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;&#160;</td>
          <td class="paramname"><em>y1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;&#160;</td>
          <td class="paramname"><em>x2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;&#160;</td>
          <td class="paramname"><em>y2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Computes a bounding box in user coordinates covering the area inside the current clip. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">x1</td><td>left of the resulting extents </td></tr>
    <tr><td class="paramname">y1</td><td>top of the resulting extents </td></tr>
    <tr><td class="paramname">x2</td><td>right of the resulting extents </td></tr>
    <tr><td class="paramname">y2</td><td>bottom of the resulting extents</td></tr>
  </table>
  </dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>1.4 </dd></dl>

</div>
</div>
<a class="anchor" id="a69b25af8a2bac826a330e1bfeb2f1a1f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::get_current_point </td>
          <td>(</td>
          <td class="paramtype">double &amp;&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;&#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 point of the current path, which is conceptually the final point reached by the path so far. </p>
<p>The current point is returned in the user-space coordinate system. If there is no defined current point then x and y will both be set to 0.0. It is possible to check this in advance with <a class="el" href="classCairo_1_1Context.html#a1db62850e9879589bacd463e54406b50" title="Checks if there is a current point defined. ">has_current_point()</a>.</p>
<p>Most path construction functions alter the current point. See the following for details on how they affect the current point: clear_path(), <a class="el" href="classCairo_1_1Context.html#a4086700b5f780fd3fb94bea941895022" title="If the current subpath is not empty, begin a new subpath. ">move_to()</a>, <a class="el" href="classCairo_1_1Context.html#ae305a9f8a79cc0e0693393a940ee1de8" title="Adds a line to the path from the current point to position (x, y) in user-space coordinates. ">line_to()</a>, <a class="el" href="classCairo_1_1Context.html#a9bdb6a5e2ea0e4bc9441bdc5704805f7" title="Adds a cubic Bezier spline to the path from the current point to position (x3, y3) in user-space coor...">curve_to()</a>, <a class="el" href="classCairo_1_1Context.html#aaa96080beea581244f0a3838fb7c9ee6" title="Adds a circular arc of the given radius to the current path. ">arc()</a>, <a class="el" href="classCairo_1_1Context.html#a3c739ac7e8e43d395f24dff0a0a83c0d" title="If the current subpath is not empty, begin a new subpath. ">rel_move_to()</a>, <a class="el" href="classCairo_1_1Context.html#a35f2d0f7e9afcb59eef83af3d2831f2b" title="Relative-coordinate version of line_to(). ">rel_line_to()</a>, <a class="el" href="classCairo_1_1Context.html#ad7660dac997d5db2f7ce1539c20345e2" title="Relative-coordinate version of curve_to(). ">rel_curve_to()</a>, <a class="el" href="classCairo_1_1Context.html#aaa96080beea581244f0a3838fb7c9ee6" title="Adds a circular arc of the given radius to the current path. ">arc()</a>, and <a class="el" href="classCairo_1_1Context.html#a5613b4202f82f6a53f1aeac6c58e5521" title="Adds closed paths for text to the current path. ">text_path()</a></p>
<p>Some functions use and alter the current point but do not otherwise change current path: <a class="el" href="classCairo_1_1Context.html#a584596d6f12dbea30519b908cacce038" title="A drawing operator that generates the shape from a string of UTF-8 characters, rendered according to ...">show_text()</a>.</p>
<p>Some functions unset the current path and as a result, current point: <a class="el" href="classCairo_1_1Context.html#a0a484790884dd138108b07c0ebbbe21d" title="A drawing operator that fills the current path according to the current fill rule, (each sub-path is implicitly closed before being filled). ">fill()</a>, <a class="el" href="classCairo_1_1Context.html#a8e4acbb44f4b3fac00ee93f6251d6d17" title="A drawing operator that strokes the current Path according to the current line width, line join, line cap, and dash settings. ">stroke()</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>return value for X coordinate of the current point </td></tr>
    <tr><td class="paramname">y</td><td>return value for Y coordinate of the current point</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classCairo_1_1Context.html#a1db62850e9879589bacd463e54406b50" title="Checks if there is a current point defined. ">has_current_point()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="aaa43d0034e155d3c0244e0b4fdaf6af9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::get_dash </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a>&lt; double &gt; &amp;&#160;</td>
          <td class="paramname"><em>dashes</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;&#160;</td>
          <td class="paramname"><em>offset</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the current dash array and offset. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dashes</td><td>return value for the dash array. </td></tr>
    <tr><td class="paramname">offset</td><td>return value for the current dash offset.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>1.4 </dd></dl>

</div>
</div>
<a class="anchor" id="a80bceb0e11be82c365b4606efe3a8d30"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::get_fill_extents </td>
          <td>(</td>
          <td class="paramtype">double &amp;&#160;</td>
          <td class="paramname"><em>x1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;&#160;</td>
          <td class="paramname"><em>y1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;&#160;</td>
          <td class="paramname"><em>x2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;&#160;</td>
          <td class="paramname"><em>y2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Computes a bounding box in user coordinates covering the area that would be affected, (the "inked" area), by a <a class="el" href="classCairo_1_1Context.html#a0a484790884dd138108b07c0ebbbe21d" title="A drawing operator that fills the current path according to the current fill rule, (each sub-path is implicitly closed before being filled). ">fill()</a> operation given the current path and fill parameters. </p>
<p>If the current path is empty, returns an empty rectangle ((0,0), (0,0)). <a class="el" href="classCairo_1_1Surface.html" title="A cairo surface represents an image, either as the destination of a drawing operation or as source wh...">Surface</a> dimensions and clipping are not taken into account.</p>
<p>Contrast with path_extents(), which is similar, but returns non-zero extents for some paths with no inked area, (such as a simple line segment).</p>
<p>Note that fill_extents() must necessarily do more work to compute the precise inked areas in light of the fill rule, so path_extents() may be more desirable for sake of performance if the non-inked path extents are desired.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">x1</td><td>left of the resulting extents </td></tr>
    <tr><td class="paramname">y1</td><td>top of the resulting extents </td></tr>
    <tr><td class="paramname">x2</td><td>right of the resulting extents </td></tr>
    <tr><td class="paramname">y2</td><td>bottom of the resulting extents</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classCairo_1_1Context.html#a0a484790884dd138108b07c0ebbbe21d" title="A drawing operator that fills the current path according to the current fill rule, (each sub-path is implicitly closed before being filled). ">fill()</a> </dd>
<dd>
<a class="el" href="classCairo_1_1Context.html#ad15693ae817e3229409d831c7dd96bed" title="Set the current fill rule within the cairo Context. ">set_fill_rule()</a> </dd>
<dd>
full_preserve() </dd></dl>

</div>
</div>
<a class="anchor" id="a21a26ea9c08bb3c9c4180635f58fa7f8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceCairo.html#a1ba15b0a2e22c87c14af044801006c85">FillRule</a> Cairo::Context::get_fill_rule </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the current fill rule, as set by <a class="el" href="classCairo_1_1Context.html#ad15693ae817e3229409d831c7dd96bed" title="Set the current fill rule within the cairo Context. ">set_fill_rule()</a>. </p>

</div>
</div>
<a class="anchor" id="acbe72f83295624f8905a350c589e7209"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::get_font_extents </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceCairo.html#aa7da46c699a67bfbdd5400af7e6b7b39">FontExtents</a>&amp;&#160;</td>
          <td class="paramname"><em>extents</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the font extents for the currently selected font. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">extents</td><td>a <a class="el" href="namespaceCairo.html#aa7da46c699a67bfbdd5400af7e6b7b39" title="See the cairo_font_extents_t reference in the cairo manual for more information. ">Cairo::FontExtents</a> object </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aa3606d313d54bc1b26938a8dfadc1e94"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCairo_1_1RefPtr.html">RefPtr</a>&lt;<a class="el" href="classCairo_1_1FontFace.html">FontFace</a>&gt; Cairo::Context::get_font_face </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the current font face. </p>

</div>
</div>
<a class="anchor" id="a02c602da267ff6c0b29d638f4a59a158"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCairo_1_1RefPtr.html">RefPtr</a>&lt;const <a class="el" href="classCairo_1_1FontFace.html">FontFace</a>&gt; Cairo::Context::get_font_face </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="aada6eda8880143f16721d6311206b25f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::get_font_matrix </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCairo_1_1Matrix.html">Matrix</a>&amp;&#160;</td>
          <td class="paramname"><em>matrix</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the current font matrix. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">matrix</td><td>a <a class="el" href="classCairo_1_1Matrix.html" title="A Transformation matrix. ">Cairo::Matrix</a> to store the results into (in/out parameter) </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classCairo_1_1Context.html#a7981bd1109ec5538fb505b36ec377757" title="Sets the current font matrix to . ">set_font_matrix()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a34be6fb9a99354259d3944b1b31c634b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::get_font_matrix </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classcairo__matrix__t.html">cairo_matrix_t</a>&amp;&#160;</td>
          <td class="paramname"><em>matrix</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ab69217658ea7fa4e859aa305e3bc3ebc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::get_font_options </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCairo_1_1FontOptions.html">FontOptions</a>&amp;&#160;</td>
          <td class="paramname"><em>options</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Retrieves font rendering options set via <a class="el" href="classCairo_1_1Context.html#a2d7f465d946804a8fe9877d7f7f4bbcb" title="Sets a set of custom font rendering options. ">set_font_options()</a>. </p>
<p>Note that the returned options do not include any options derived from the underlying surface; they are literally the options passed to <a class="el" href="classCairo_1_1Context.html#a2d7f465d946804a8fe9877d7f7f4bbcb" title="Sets a set of custom font rendering options. ">set_font_options()</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">options</td><td>a <a class="el" href="classCairo_1_1FontOptions.html" title="The font options specify how fonts should be rendered. ">FontOptions</a> object into which to store the retrieved options. All existing values are overwritten </td></tr>
  </table>
  </dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>1.8 </dd></dl>

</div>
</div>
<a class="anchor" id="afa37e5c6559f2573cfc55bb6fa5f6ef6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::get_glyph_extents </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a>&lt; <a class="el" href="namespaceCairo.html#a2483f165322e844c095c7be95849fdc2">Glyph</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>glyphs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceCairo.html#af6d8a4744616383984c99f8f052c7a5d">TextExtents</a>&amp;&#160;</td>
          <td class="paramname"><em>extents</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the extents for an array of glyphs. </p>
<p>The extents describe a user-space rectangle that encloses the "inked" portion of the glyphs, (as they would be drawn by <a class="el" href="classCairo_1_1Context.html#af51f2c2ff72e8af66abeea3d15d25553" title="A drawing operator that generates the shape from an array of glyphs, rendered according to the curren...">show_glyphs()</a>). Additionally, the x_advance and y_advance values indicate the amount by which the current point would be advanced by <a class="el" href="classCairo_1_1Context.html#af51f2c2ff72e8af66abeea3d15d25553" title="A drawing operator that generates the shape from an array of glyphs, rendered according to the curren...">show_glyphs()</a>.</p>
<p>Note that whitespace glyphs do not contribute to the size of the rectangle (extents.width and extents.height).</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">glyphs</td><td>a vector of glyphs </td></tr>
    <tr><td class="paramname">extents</td><td>a TextExtents object </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ad75b7d22f76958a6651e9f02172525f8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCairo_1_1RefPtr.html">RefPtr</a>&lt;<a class="el" href="classCairo_1_1Surface.html">Surface</a>&gt; Cairo::Context::get_group_target </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the target surface for the current group as started by the most recent call to <a class="el" href="classCairo_1_1Context.html#aa0a5a1ee48ff742d87480a689dca51c6" title="Temporarily redirects drawing to an intermediate surface known as a group. ">push_group()</a> or <a class="el" href="classCairo_1_1Context.html#ad08812ecb59891f92e79a3d4dbca2d97" title="Temporarily redirects drawing to an intermediate surface known as a group. ">push_group_with_content()</a>. </p>
<p>This function will return NULL if called "outside" of any group rendering blocks, (that is, after the last balancing call to <a class="el" href="classCairo_1_1Context.html#aece6278f4d71ce652557c80788415711" title="Terminates the redirection begun by a call to push_group() or push_group_with_content() and returns a...">pop_group()</a> or <a class="el" href="classCairo_1_1Context.html#abd11fa1d3a582e0975ebb0155b9d4467" title="Terminates the redirection begun by a call to push_group() or push_group_with_content() and installs ...">pop_group_to_source()</a>).</p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"></td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a6908784c77134e45b09bd1ff4bcb34c9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCairo_1_1RefPtr.html">RefPtr</a>&lt;const <a class="el" href="classCairo_1_1Surface.html">Surface</a>&gt; Cairo::Context::get_group_target </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Same as the non-const version but returns a reference to a const <a class="el" href="classCairo_1_1Surface.html" title="A cairo surface represents an image, either as the destination of a drawing operation or as source wh...">Surface</a>. </p>
<dl class="section since"><dt>Since</dt><dd>1.2 </dd></dl>

</div>
</div>
<a class="anchor" id="aaf84f561587f41a6cdaffe8024ebf96c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceCairo.html#abbb9aae64ef26733965e6d500ae76f1e">LineCap</a> Cairo::Context::get_line_cap </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the current line cap style, as set by <a class="el" href="classCairo_1_1Context.html#a07fd8fc2c75558484e960c5ff63a61cc" title="Sets the current line cap style within the cairo Context. ">set_line_cap()</a> </p>

</div>
</div>
<a class="anchor" id="a543677421cced4e1eca10f70dd36220f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceCairo.html#adbc632404edaa736e01c12122239de73">LineJoin</a> Cairo::Context::get_line_join </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the current line join style, as set by <a class="el" href="classCairo_1_1Context.html#a23b5ba9363f568cacc1abf5e79a0200d" title="Sets the current line join style within the cairo Context. ">set_line_join()</a> </p>

</div>
</div>
<a class="anchor" id="a2aacb5cd843266b708ae47bc9a4f7014"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Cairo::Context::get_line_width </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the current line width, as set by <a class="el" href="classCairo_1_1Context.html#a9ad2649d95e81a65aa0c581c4345375e" title="Sets the current line width within the cairo Context. ">set_line_width()</a>. </p>
<p>Note that the value is unchanged even if the CTM has changed between the calls to <a class="el" href="classCairo_1_1Context.html#a9ad2649d95e81a65aa0c581c4345375e" title="Sets the current line width within the cairo Context. ">set_line_width()</a> and <a class="el" href="classCairo_1_1Context.html#a2aacb5cd843266b708ae47bc9a4f7014" title="Gets the current line width, as set by set_line_width(). ">get_line_width()</a>. </p>

</div>
</div>
<a class="anchor" id="a03b21f4a3a44e28086c3a25075fdcea1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::get_matrix </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCairo_1_1Matrix.html">Matrix</a>&amp;&#160;</td>
          <td class="paramname"><em>matrix</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Stores the current transformation matrix (CTM) into matrix. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">matrix</td><td>return value for the matrix </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aea651404be2fa942033c636e2665cd7e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::get_matrix </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classcairo__matrix__t.html">cairo_matrix_t</a>&amp;&#160;</td>
          <td class="paramname"><em>matrix</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a99cadcdd63e366bc793306e8d3cfee37"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCairo_1_1Matrix.html">Matrix</a> Cairo::Context::get_matrix </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the current transformation matrix (CTM) </p>
<dl class="section since"><dt>Since</dt><dd>1.8 </dd></dl>

</div>
</div>
<a class="anchor" id="a55c7e2c0533e35635c31c34ec498a4a2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Cairo::Context::get_miter_limit </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the current miter limit, as set by <a class="el" href="classCairo_1_1Context.html#a583445ca963769d3f31613bc55b1e8ad" title="Sets the current miter limit within the cairo context. ">set_miter_limit()</a> </p>

</div>
</div>
<a class="anchor" id="aa5683fc9da28916cb237b4868a9c5d97"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="namespaceCairo.html#a2d612c31d146fc32d486f9614560c8d1">Operator</a> Cairo::Context::get_operator </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the current compositing operator for a cairo <a class="el" href="classCairo_1_1Context.html" title="Context is the main class used to draw in cairomm. ">Context</a>. </p>

</div>
</div>
<a class="anchor" id="a28d0fa55e1d478ec05975b3c9f545c53"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::get_path_extents </td>
          <td>(</td>
          <td class="paramtype">double &amp;&#160;</td>
          <td class="paramname"><em>x1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;&#160;</td>
          <td class="paramname"><em>y1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;&#160;</td>
          <td class="paramname"><em>x2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;&#160;</td>
          <td class="paramname"><em>y2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Computes a bounding box in user-space coordinates covering the points on the current path. </p>
<p>If the current path is empty, returns an empty rectangle ((0,0), (0,0)). Stroke parameters, fill rule, surface dimensions and clipping are not taken into account.</p>
<p>Contrast with fill_extents() and stroke_extents() which return the extents of only the area that would be "inked" by the corresponding drawing operations.</p>
<p>The result of path_extents() is defined as equivalent to the limit of stroke_extents() with LINE_CAP_ROUND as the line width approaches 0.0, (but never reaching the empty-rectangle returned by stroke_extents() for a line width of 0.0).</p>
<p>Specifically, this means that zero-area sub-paths such as <a class="el" href="classCairo_1_1Context.html#a4086700b5f780fd3fb94bea941895022" title="If the current subpath is not empty, begin a new subpath. ">move_to()</a>;<a class="el" href="classCairo_1_1Context.html#ae305a9f8a79cc0e0693393a940ee1de8" title="Adds a line to the path from the current point to position (x, y) in user-space coordinates. ">line_to()</a> segments, (even degenerate cases where the coordinates to both calls are identical), will be considered as contributing to the extents. However, a lone <a class="el" href="classCairo_1_1Context.html#a4086700b5f780fd3fb94bea941895022" title="If the current subpath is not empty, begin a new subpath. ">move_to()</a> will not contribute to the results of path_extents().</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">x1</td><td>left of the resulting extents </td></tr>
    <tr><td class="paramname">y1</td><td>top of the resulting extents </td></tr>
    <tr><td class="paramname">x2</td><td>right of the resulting extents </td></tr>
    <tr><td class="paramname">y2</td><td>bottom of the resulting extents</td></tr>
  </table>
  </dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>1.6 </dd></dl>

</div>
</div>
<a class="anchor" id="a511ca42d6c21a4cfc9ce4c4b1116ddad"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCairo_1_1RefPtr.html">RefPtr</a>&lt;<a class="el" href="classCairo_1_1ScaledFont.html">ScaledFont</a>&gt; Cairo::Context::get_scaled_font </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the current scaled font. </p>
<dl class="section since"><dt>Since</dt><dd>1.8 </dd></dl>

</div>
</div>
<a class="anchor" id="a0b6eeda4d80f3d591a770cbbbf8a0c87"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCairo_1_1RefPtr.html">RefPtr</a>&lt;<a class="el" href="classCairo_1_1Pattern.html">Pattern</a>&gt; Cairo::Context::get_source </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the current source pattern for the <a class="el" href="classCairo_1_1Context.html" title="Context is the main class used to draw in cairomm. ">Context</a>. </p>

</div>
</div>
<a class="anchor" id="aa17cc0c92671d0d4c2d48bc3a79858d0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCairo_1_1RefPtr.html">RefPtr</a>&lt;const <a class="el" href="classCairo_1_1Pattern.html">Pattern</a>&gt; Cairo::Context::get_source </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="afbcad49bf4f75eca485fa4d728255ae0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::get_stroke_extents </td>
          <td>(</td>
          <td class="paramtype">double &amp;&#160;</td>
          <td class="paramname"><em>x1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;&#160;</td>
          <td class="paramname"><em>y1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;&#160;</td>
          <td class="paramname"><em>x2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;&#160;</td>
          <td class="paramname"><em>y2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Computes a bounding box in user coordinates covering the area that would be affected, (the "inked" area), by a <a class="el" href="classCairo_1_1Context.html#a8e4acbb44f4b3fac00ee93f6251d6d17" title="A drawing operator that strokes the current Path according to the current line width, line join, line cap, and dash settings. ">stroke()</a> operation given the current path and stroke parameters. </p>
<p>If the current path is empty, returns an empty rectangle ((0,0), (0,0)). <a class="el" href="classCairo_1_1Surface.html" title="A cairo surface represents an image, either as the destination of a drawing operation or as source wh...">Surface</a> dimensions and clipping are not taken into account.</p>
<p>Note that if the line width is set to exactly zero, then stroke_extents() will return an empty rectangle. Contrast with path_extents() which can be used to compute the non-empty bounds as the line width approaches zero.</p>
<p>Note that stroke_extents() must necessarily do more work to compute the precise inked areas in light of the stroke parameters, so path_extents() may be more desirable for sake of performance if non-inked path extents are desired.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">x1</td><td>left of the resulting extents </td></tr>
    <tr><td class="paramname">y1</td><td>top of the resulting extents </td></tr>
    <tr><td class="paramname">x2</td><td>right of the resulting extents </td></tr>
    <tr><td class="paramname">y2</td><td>bottom of the resulting extents</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classCairo_1_1Context.html#a8e4acbb44f4b3fac00ee93f6251d6d17" title="A drawing operator that strokes the current Path according to the current line width, line join, line cap, and dash settings. ">stroke()</a> </dd>
<dd>
<a class="el" href="classCairo_1_1Context.html#a9ad2649d95e81a65aa0c581c4345375e" title="Sets the current line width within the cairo Context. ">set_line_width()</a> </dd>
<dd>
<a class="el" href="classCairo_1_1Context.html#a23b5ba9363f568cacc1abf5e79a0200d" title="Sets the current line join style within the cairo Context. ">set_line_join()</a> </dd>
<dd>
<a class="el" href="classCairo_1_1Context.html#a07fd8fc2c75558484e960c5ff63a61cc" title="Sets the current line cap style within the cairo Context. ">set_line_cap()</a> </dd>
<dd>
<a class="el" href="classCairo_1_1Context.html#aaa0b483d3f36facb1c9f2aa7f0a0ac13" title="Alternate version of set_dash(). ">set_dash()</a> </dd>
<dd>
<a class="el" href="classCairo_1_1Context.html#ab10d89295e122b04ff1bbda425ae069c" title="A drawing operator that strokes the current Path according to the current line width, line join, line cap, and dash settings. ">stroke_preserve()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="aea76bccc09bdab482f96469a4e7f94f6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCairo_1_1RefPtr.html">RefPtr</a>&lt;<a class="el" href="classCairo_1_1Surface.html">Surface</a>&gt; Cairo::Context::get_target </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the target surface associated with this <a class="el" href="classCairo_1_1Context.html" title="Context is the main class used to draw in cairomm. ">Context</a>. </p>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"></td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a39f36fa1f1460ca8a7f0504f01cb4d90"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCairo_1_1RefPtr.html">RefPtr</a>&lt;const <a class="el" href="classCairo_1_1Surface.html">Surface</a>&gt; Cairo::Context::get_target </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a837ff58a69e3e74f6a6ef9da8454af2b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::get_text_extents </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> &amp;&#160;</td>
          <td class="paramname"><em>utf8</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceCairo.html#af6d8a4744616383984c99f8f052c7a5d">TextExtents</a>&amp;&#160;</td>
          <td class="paramname"><em>extents</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the extents for a string of text. </p>
<p>The extents describe a user-space rectangle that encloses the "inked" portion of the text, (as it would be drawn by <a class="el" href="classCairo_1_1Context.html#a584596d6f12dbea30519b908cacce038" title="A drawing operator that generates the shape from a string of UTF-8 characters, rendered according to ...">show_text()</a>). Additionally, the x_advance and y_advance values indicate the amount by which the current point would be advanced by <a class="el" href="classCairo_1_1Context.html#a584596d6f12dbea30519b908cacce038" title="A drawing operator that generates the shape from a string of UTF-8 characters, rendered according to ...">show_text()</a>.</p>
<p>Note that whitespace characters do not directly contribute to the size of the rectangle (extents.width and extents.height). They do contribute indirectly by changing the position of non-whitespace characters. In particular, trailing whitespace characters are likely to not affect the size of the rectangle, though they will affect the x_advance and y_advance values.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">utf8</td><td>a string of text encoded in UTF-8 </td></tr>
    <tr><td class="paramname">extents</td><td>a TextExtents object </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a216632e43aa061890c0a637ea41f7960"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Cairo::Context::get_tolerance </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the current tolerance value, as set by <a class="el" href="classCairo_1_1Context.html#a01481a915f4086051f1c200f0f7a33d1" title="Sets the tolerance used when converting paths into trapezoids. ">set_tolerance()</a> </p>

</div>
</div>
<a class="anchor" id="ad3372fc30d9a26c8d26c440a21464ce5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::glyph_path </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a>&lt; <a class="el" href="namespaceCairo.html#a2483f165322e844c095c7be95849fdc2">Glyph</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>glyphs</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Adds closed paths for the glyphs to the current path. </p>
<p>The generated path if filled, achieves an effect similar to that of <a class="el" href="classCairo_1_1Context.html#af51f2c2ff72e8af66abeea3d15d25553" title="A drawing operator that generates the shape from an array of glyphs, rendered according to the curren...">show_glyphs()</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">glyphs</td><td>a vector of glyphs </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a1db62850e9879589bacd463e54406b50"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Cairo::Context::has_current_point </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Checks if there is a current point defined. </p>
<p>See <a class="el" href="classCairo_1_1Context.html#a69b25af8a2bac826a330e1bfeb2f1a1f" title="Gets the current point of the current path, which is conceptually the final point reached by the path...">get_current_point()</a> for details on the current point.</p>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if a current point is defined.</dd></dl>
<dl class="section since"><dt>Since</dt><dd>1.6 </dd></dl>

</div>
</div>
<a class="anchor" id="a99dafb17beaaf5e115a731f35a828684"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Cairo::Context::in_clip </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>Tests whether the given point is inside the area that would be visible through the current clip, i.e. </p>
<p>the area that would be filled by a <a class="el" href="classCairo_1_1Context.html#ad919eae3bc3b9827a3c1ceff2d86833e" title="A drawing operator that paints the current source everywhere within the current clip region...">paint()</a> operation.</p>
<p>Return value: A non-zero value if the point is inside, or zero if outside.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>X coordinate of the point to test </td></tr>
    <tr><td class="paramname">y</td><td>Y coordinate of the point to test</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classCairo_1_1Context.html#a423077b911738772807cc8bc24c25488" title="Establishes a new clip region by intersecting the current clip region with the current Path as it wou...">clip()</a> </dd>
<dd>
<a class="el" href="classCairo_1_1Context.html#a2987c4ecac0438ee808c34d3c35c7f2e" title="Establishes a new clip region by intersecting the current clip region with the current path as it wou...">clip_preserve()</a></dd></dl>
<dl class="section since"><dt>Since</dt><dd>1.10 </dd></dl>

</div>
</div>
<a class="anchor" id="a3d50e91f8ed135cee8741fef805df070"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Cairo::Context::in_fill </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>Tests whether the given point is inside the area that would be affected by a <a class="el" href="classCairo_1_1Context.html#a0a484790884dd138108b07c0ebbbe21d" title="A drawing operator that fills the current path according to the current fill rule, (each sub-path is implicitly closed before being filled). ">fill()</a> operation given the current path and filling parameters. </p>
<p><a class="el" href="classCairo_1_1Surface.html" title="A cairo surface represents an image, either as the destination of a drawing operation or as source wh...">Surface</a> dimensions and clipping are not taken into account.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>X coordinate of the point to test </td></tr>
    <tr><td class="paramname">y</td><td>Y coordinate of the point to test </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A non-zero value if the point is inside, or zero if outside.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classCairo_1_1Context.html#a0a484790884dd138108b07c0ebbbe21d" title="A drawing operator that fills the current path according to the current fill rule, (each sub-path is implicitly closed before being filled). ">fill()</a> </dd>
<dd>
<a class="el" href="classCairo_1_1Context.html#ad15693ae817e3229409d831c7dd96bed" title="Set the current fill rule within the cairo Context. ">set_fill_rule()</a> </dd>
<dd>
<a class="el" href="classCairo_1_1Context.html#a0ef3f887f91527a485ce1300972ac8e3" title="A drawing operator that fills the current path according to the current fill rule, (each sub-path is implicitly closed before being filled). ">fill_preserve()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a15e153f40f02aaccd0aed27f7720bf6a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Cairo::Context::in_stroke </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>Tests whether the given point is inside the area that would be affected by a <a class="el" href="classCairo_1_1Context.html#a8e4acbb44f4b3fac00ee93f6251d6d17" title="A drawing operator that strokes the current Path according to the current line width, line join, line cap, and dash settings. ">stroke()</a> operation given the current path and stroking parameters. </p>
<p><a class="el" href="classCairo_1_1Surface.html" title="A cairo surface represents an image, either as the destination of a drawing operation or as source wh...">Surface</a> dimensions and clipping are not taken into account.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>X coordinate of the point to test </td></tr>
    <tr><td class="paramname">y</td><td>Y coordinate of the point to test </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A non-zero value if the point is inside, or zero if outside.</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classCairo_1_1Context.html#a8e4acbb44f4b3fac00ee93f6251d6d17" title="A drawing operator that strokes the current Path according to the current line width, line join, line cap, and dash settings. ">stroke()</a> </dd>
<dd>
<a class="el" href="classCairo_1_1Context.html#a9ad2649d95e81a65aa0c581c4345375e" title="Sets the current line width within the cairo Context. ">set_line_width()</a> </dd>
<dd>
<a class="el" href="classCairo_1_1Context.html#a23b5ba9363f568cacc1abf5e79a0200d" title="Sets the current line join style within the cairo Context. ">set_line_join()</a> </dd>
<dd>
<a class="el" href="classCairo_1_1Context.html#a07fd8fc2c75558484e960c5ff63a61cc" title="Sets the current line cap style within the cairo Context. ">set_line_cap()</a> </dd>
<dd>
<a class="el" href="classCairo_1_1Context.html#aaa0b483d3f36facb1c9f2aa7f0a0ac13" title="Alternate version of set_dash(). ">set_dash()</a> </dd>
<dd>
<a class="el" href="classCairo_1_1Context.html#ab10d89295e122b04ff1bbda425ae069c" title="A drawing operator that strokes the current Path according to the current line width, line join, line cap, and dash settings. ">stroke_preserve()</a>. </dd></dl>

</div>
</div>
<a class="anchor" id="ae305a9f8a79cc0e0693393a940ee1de8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::line_to </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">

<p>Adds a line to the path from the current point to position (x, y) in user-space coordinates. </p>
<p>After this call the current point will be (x, y).</p>
<p>If there is no current point before the call to <a class="el" href="classCairo_1_1Context.html#ae305a9f8a79cc0e0693393a940ee1de8" title="Adds a line to the path from the current point to position (x, y) in user-space coordinates. ">line_to()</a> this function will behave as move_to(x, y).</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>the X coordinate of the end of the new line </td></tr>
    <tr><td class="paramname">y</td><td>the Y coordinate of the end of the new line </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a2ad3ea59afb6bb4fa04d000f5e9c3cf2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::mask </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCairo_1_1RefPtr.html">RefPtr</a>&lt; const <a class="el" href="classCairo_1_1Pattern.html">Pattern</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>pattern</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>A drawing operator that paints the current source using the alpha channel of pattern as a mask. </p>
<p>(Opaque areas of mask are painted with the source, transparent areas are not painted.)</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">pattern</td><td>a <a class="el" href="classCairo_1_1Pattern.html" title="Cairo::Pattern is the paint with which cairo draws. ">Pattern</a> </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a2f76e3b13027efc4c8745de5e04e00ec"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::mask </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCairo_1_1RefPtr.html">RefPtr</a>&lt; const <a class="el" href="classCairo_1_1Surface.html">Surface</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>surface</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>surface_x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>surface_y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>A drawing operator that paints the current source using the alpha channel of surface as a mask. </p>
<p>(Opaque areas of surface are painted with the source, transparent areas are not painted.)</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">surface</td><td>a <a class="el" href="classCairo_1_1Surface.html" title="A cairo surface represents an image, either as the destination of a drawing operation or as source wh...">Surface</a> </td></tr>
    <tr><td class="paramname">surface_x</td><td>X coordinate at which to place the origin of surface </td></tr>
    <tr><td class="paramname">surface_y</td><td>Y coordinate at which to place the origin of surface </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a4086700b5f780fd3fb94bea941895022"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::move_to </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">

<p>If the current subpath is not empty, begin a new subpath. </p>
<p>After this call the current point will be (x, y).</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>the X coordinate of the new position </td></tr>
    <tr><td class="paramname">y</td><td>the Y coordinate of the new position </td></tr>
  </table>
  </dd>
</dl>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="user-font_8cc-example.html#a17">user-font.cc</a>.</dd>
</dl>
</div>
</div>
<a class="anchor" id="aacccd66c3098f6191618939b86bf22f2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCairo_1_1Context.html">Context</a>&amp; Cairo::Context::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCairo_1_1Context.html">Context</a>&amp;&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">delete</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="ad919eae3bc3b9827a3c1ceff2d86833e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::paint </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>A drawing operator that paints the current source everywhere within the current clip region. </p>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="user-font_8cc-example.html#a13">user-font.cc</a>.</dd>
</dl>
</div>
</div>
<a class="anchor" id="a34208a6c6868cdcd65866cb8a2349525"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::paint_with_alpha </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>alpha</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>A drawing operator that paints the current source everywhere within the current clip region using a mask of constant alpha value alpha. </p>
<p>The effect is similar to <a class="el" href="classCairo_1_1Context.html#ad919eae3bc3b9827a3c1ceff2d86833e" title="A drawing operator that paints the current source everywhere within the current clip region...">paint()</a>, but the drawing is faded out using the alpha value.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">alpha</td><td>an alpha value, between 0 (transparent) and 1 (opaque) </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aece6278f4d71ce652557c80788415711"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCairo_1_1RefPtr.html">RefPtr</a>&lt;<a class="el" href="classCairo_1_1Pattern.html">Pattern</a>&gt; Cairo::Context::pop_group </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Terminates the redirection begun by a call to <a class="el" href="classCairo_1_1Context.html#aa0a5a1ee48ff742d87480a689dca51c6" title="Temporarily redirects drawing to an intermediate surface known as a group. ">push_group()</a> or <a class="el" href="classCairo_1_1Context.html#ad08812ecb59891f92e79a3d4dbca2d97" title="Temporarily redirects drawing to an intermediate surface known as a group. ">push_group_with_content()</a> and returns a new pattern containing the results of all drawing operations performed to the group. </p>
<p>The <a class="el" href="classCairo_1_1Context.html#aece6278f4d71ce652557c80788415711" title="Terminates the redirection begun by a call to push_group() or push_group_with_content() and returns a...">pop_group()</a> function calls <a class="el" href="classCairo_1_1Context.html#a45a80032b95d87eafe72dc2ab235f815" title="Restores cr to the state saved by a preceding call to save() and removes that state from the stack of...">restore()</a>, (balancing a call to <a class="el" href="classCairo_1_1Context.html#a5249fa850f6adc1cb743e60a65a1ddb6" title="Makes a copy of the current state of the Context and saves it on an internal stack of saved states...">save()</a> by the push_group function), so that any changes to the graphics state will not be visible outside the group.</p>
<dl class="section return"><dt>Returns</dt><dd>a (surface) pattern containing the results of all drawing operations performed to the group.</dd></dl>
<dl class="section since"><dt>Since</dt><dd>1.2 </dd></dl>

</div>
</div>
<a class="anchor" id="abd11fa1d3a582e0975ebb0155b9d4467"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::pop_group_to_source </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Terminates the redirection begun by a call to <a class="el" href="classCairo_1_1Context.html#aa0a5a1ee48ff742d87480a689dca51c6" title="Temporarily redirects drawing to an intermediate surface known as a group. ">push_group()</a> or <a class="el" href="classCairo_1_1Context.html#ad08812ecb59891f92e79a3d4dbca2d97" title="Temporarily redirects drawing to an intermediate surface known as a group. ">push_group_with_content()</a> and installs the resulting pattern as the source pattern in the given cairo <a class="el" href="classCairo_1_1Context.html" title="Context is the main class used to draw in cairomm. ">Context</a>. </p>
<p>The behavior of this function is equivalent to the sequence of operations:</p>
<div class="fragment"><div class="line">RefPtr&lt;Pattern&gt; group = cr-&gt;<a class="code" href="classCairo_1_1Context.html#aece6278f4d71ce652557c80788415711">pop_group</a>();</div>
<div class="line">cr-&gt;<a class="code" href="classCairo_1_1Context.html#a534d571d5aa4b500782036202a3e2aea">set_source</a>(group);</div>
</div><!-- fragment --><p>but is more convenient as their is no need for a variable to store the short-lived pointer to the pattern.</p>
<p>The <a class="el" href="classCairo_1_1Context.html#aece6278f4d71ce652557c80788415711" title="Terminates the redirection begun by a call to push_group() or push_group_with_content() and returns a...">pop_group()</a> function calls <a class="el" href="classCairo_1_1Context.html#a45a80032b95d87eafe72dc2ab235f815" title="Restores cr to the state saved by a preceding call to save() and removes that state from the stack of...">restore()</a>, (balancing a call to <a class="el" href="classCairo_1_1Context.html#a5249fa850f6adc1cb743e60a65a1ddb6" title="Makes a copy of the current state of the Context and saves it on an internal stack of saved states...">save()</a> by the push_group function), so that any changes to the graphics state will not be visible outside the group.</p>
<dl class="section since"><dt>Since</dt><dd>1.2 </dd></dl>

</div>
</div>
<a class="anchor" id="aa0a5a1ee48ff742d87480a689dca51c6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::push_group </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Temporarily redirects drawing to an intermediate surface known as a group. </p>
<p>The redirection lasts until the group is completed by a call to <a class="el" href="classCairo_1_1Context.html#aece6278f4d71ce652557c80788415711" title="Terminates the redirection begun by a call to push_group() or push_group_with_content() and returns a...">pop_group()</a> or <a class="el" href="classCairo_1_1Context.html#abd11fa1d3a582e0975ebb0155b9d4467" title="Terminates the redirection begun by a call to push_group() or push_group_with_content() and installs ...">pop_group_to_source()</a>. These calls provide the result of any drawing to the group as a pattern, (either as an explicit object, or set as the source pattern).</p>
<p>This group functionality can be convenient for performing intermediate compositing. One common use of a group is to render objects as opaque within the group, (so that they occlude each other), and then blend the result with translucence onto the destination.</p>
<p>Groups can be nested arbitrarily deep by making balanced calls to <a class="el" href="classCairo_1_1Context.html#aa0a5a1ee48ff742d87480a689dca51c6" title="Temporarily redirects drawing to an intermediate surface known as a group. ">push_group()</a>/pop_group(). Each call pushes/pops the new target group onto/from a stack.</p>
<p>The <a class="el" href="classCairo_1_1Context.html#aa0a5a1ee48ff742d87480a689dca51c6" title="Temporarily redirects drawing to an intermediate surface known as a group. ">push_group()</a> function calls <a class="el" href="classCairo_1_1Context.html#a5249fa850f6adc1cb743e60a65a1ddb6" title="Makes a copy of the current state of the Context and saves it on an internal stack of saved states...">save()</a> so that any changes to the graphics state will not be visible outside the group, (the pop_group functions call <a class="el" href="classCairo_1_1Context.html#a45a80032b95d87eafe72dc2ab235f815" title="Restores cr to the state saved by a preceding call to save() and removes that state from the stack of...">restore()</a>).</p>
<p>By default the intermediate group will have a content type of CONTENT_COLOR_ALPHA. Other content types can be chosen for the group by using <a class="el" href="classCairo_1_1Context.html#ad08812ecb59891f92e79a3d4dbca2d97" title="Temporarily redirects drawing to an intermediate surface known as a group. ">push_group_with_content()</a> instead.</p>
<p>As an example, here is how one might fill and stroke a path with translucence, but without any portion of the fill being visible under the stroke:</p>
<div class="fragment"><div class="line">cr-&gt;<a class="code" href="classCairo_1_1Context.html#aa0a5a1ee48ff742d87480a689dca51c6">push_group</a>();</div>
<div class="line">cr-&gt;<a class="code" href="classCairo_1_1Context.html#a534d571d5aa4b500782036202a3e2aea">set_source</a>(fill_pattern);</div>
<div class="line">cr-&gt;<a class="code" href="classCairo_1_1Context.html#a0ef3f887f91527a485ce1300972ac8e3">fill_preserve</a>();</div>
<div class="line">cr-&gt;<a class="code" href="classCairo_1_1Context.html#a534d571d5aa4b500782036202a3e2aea">set_source</a>(stroke_pattern);</div>
<div class="line">cr-&gt;<a class="code" href="classCairo_1_1Context.html#a8e4acbb44f4b3fac00ee93f6251d6d17">stroke</a>();</div>
<div class="line">cr-&gt;<a class="code" href="classCairo_1_1Context.html#abd11fa1d3a582e0975ebb0155b9d4467">pop_group_to_source</a>();</div>
<div class="line">cr-&gt;<a class="code" href="classCairo_1_1Context.html#a34208a6c6868cdcd65866cb8a2349525">paint_with_alpha</a>(alpha);</div>
</div><!-- fragment --><dl class="section since"><dt>Since</dt><dd>1.2 </dd></dl>

</div>
</div>
<a class="anchor" id="ad08812ecb59891f92e79a3d4dbca2d97"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::push_group_with_content </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceCairo.html#a1f0f5d82599dfeabbeb2396dbfd767d0">Content</a>&#160;</td>
          <td class="paramname"><em>content</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Temporarily redirects drawing to an intermediate surface known as a group. </p>
<p>The redirection lasts until the group is completed by a call to <a class="el" href="classCairo_1_1Context.html#aece6278f4d71ce652557c80788415711" title="Terminates the redirection begun by a call to push_group() or push_group_with_content() and returns a...">pop_group()</a> or <a class="el" href="classCairo_1_1Context.html#abd11fa1d3a582e0975ebb0155b9d4467" title="Terminates the redirection begun by a call to push_group() or push_group_with_content() and installs ...">pop_group_to_source()</a>. These calls provide the result of any drawing to the group as a pattern, (either as an explicit object, or set as the source pattern).</p>
<p>The group will have a content type of . The ability to control this content type is the only distinction between this function and <a class="el" href="classCairo_1_1Context.html#aa0a5a1ee48ff742d87480a689dca51c6" title="Temporarily redirects drawing to an intermediate surface known as a group. ">push_group()</a> which you should see for a more detailed description of group rendering.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">content</td><td>indicates the type of group that will be created</td></tr>
  </table>
  </dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>1.2 </dd></dl>

</div>
</div>
<a class="anchor" id="a85ee124b89c43dc29ff0d964bd005c11"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::rectangle </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>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#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>Adds a closed-subpath rectangle of the given size to the current path at position (x, y) in user-space coordinates. </p>
<p>This function is logically equivalent to:</p>
<div class="fragment"><div class="line">context-&gt;move_to(x, y);</div>
<div class="line">context-&gt;rel_line_to(width, 0);</div>
<div class="line">context-&gt;rel_line_to(0, height);</div>
<div class="line">context-&gt;rel_line_to(-width, 0);</div>
<div class="line">context-&gt;close_path();</div>
</div><!-- fragment --><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>the X coordinate of the top left corner of the rectangle </td></tr>
    <tr><td class="paramname">y</td><td>the Y coordinate to the top left corner of the rectangle </td></tr>
    <tr><td class="paramname">width</td><td>the width of the rectangle </td></tr>
    <tr><td class="paramname">height</td><td>the height of the rectangle </td></tr>
  </table>
  </dd>
</dl>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="user-font_8cc-example.html#a7">user-font.cc</a>.</dd>
</dl>
</div>
</div>
<a class="anchor" id="ad7660dac997d5db2f7ce1539c20345e2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::rel_curve_to </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>dx1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>dy1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>dx2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>dy2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>dx3</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>dy3</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Relative-coordinate version of <a class="el" href="classCairo_1_1Context.html#a9bdb6a5e2ea0e4bc9441bdc5704805f7" title="Adds a cubic Bezier spline to the path from the current point to position (x3, y3) in user-space coor...">curve_to()</a>. </p>
<p>All offsets are relative to the current point. Adds a cubic Bezier spline to the path from the current point to a point offset from the current point by (dx3, dy3), using points offset by (dx1, dy1) and (dx2, dy2) as the control points. After this call the current point will be offset by (dx3, dy3).</p>
<p>Given a current point of (x, y), </p><div class="fragment"><div class="line"><a class="code" href="classCairo_1_1Context.html#ad7660dac997d5db2f7ce1539c20345e2">rel_curve_to</a>(dx1, dy1, dx2, dy2, dx3, dy3)</div>
</div><!-- fragment --><p> is logically equivalent to </p><div class="fragment"><div class="line"><a class="code" href="classCairo_1_1Context.html#a9bdb6a5e2ea0e4bc9441bdc5704805f7">curve_to</a>(x + dx1, y + dy1, x + dx2, y + dy2, x + dx3, y + dy3).</div>
</div><!-- fragment --><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dx1</td><td>the X offset to the first control point </td></tr>
    <tr><td class="paramname">dy1</td><td>the Y offset to the first control point </td></tr>
    <tr><td class="paramname">dx2</td><td>the X offset to the second control point </td></tr>
    <tr><td class="paramname">dy2</td><td>the Y offset to the second control point </td></tr>
    <tr><td class="paramname">dx3</td><td>the X offset to the end of the curve </td></tr>
    <tr><td class="paramname">dy3</td><td>the Y offset to the end of the curve</td></tr>
  </table>
  </dd>
</dl>
<p>It is an error to call this function with no current point. Doing so will cause this to shutdown with a status of CAIRO_STATUS_NO_CURRENT_POINT. Cairomm will then throw an exception. </p>

</div>
</div>
<a class="anchor" id="a35f2d0f7e9afcb59eef83af3d2831f2b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::rel_line_to </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>dx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>dy</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Relative-coordinate version of <a class="el" href="classCairo_1_1Context.html#ae305a9f8a79cc0e0693393a940ee1de8" title="Adds a line to the path from the current point to position (x, y) in user-space coordinates. ">line_to()</a>. </p>
<p>Adds a line to the path from the current point to a point that is offset from the current point by (dx, dy) in user space. After this call the current point will be offset by (dx, dy).</p>
<p>Given a current point of (x, y), </p><div class="fragment"><div class="line"><a class="code" href="classCairo_1_1Context.html#a35f2d0f7e9afcb59eef83af3d2831f2b">rel_line_to</a>(dx, dy)</div>
</div><!-- fragment --><p> is logically equivalent to </p><div class="fragment"><div class="line"><a class="code" href="classCairo_1_1Context.html#ae305a9f8a79cc0e0693393a940ee1de8">line_to</a>(x + dx, y + dy).</div>
</div><!-- fragment --><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dx</td><td>the X offset to the end of the new line </td></tr>
    <tr><td class="paramname">dy</td><td>the Y offset to the end of the new line</td></tr>
  </table>
  </dd>
</dl>
<p>It is an error to call this function with no current point. Doing so will cause this to shutdown with a status of CAIRO_STATUS_NO_CURRENT_POINT. Cairomm will then throw an exception. </p>

</div>
</div>
<a class="anchor" id="a3c739ac7e8e43d395f24dff0a0a83c0d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::rel_move_to </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>dx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>dy</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>If the current subpath is not empty, begin a new subpath. </p>
<p>After this call the current point will offset by (x, y).</p>
<p>Given a current point of (x, y), </p><div class="fragment"><div class="line"><a class="code" href="classCairo_1_1Context.html#a3c739ac7e8e43d395f24dff0a0a83c0d">rel_move_to</a>(dx, dy)</div>
</div><!-- fragment --><p> is logically equivalent to </p><div class="fragment"><div class="line"><a class="code" href="classCairo_1_1Context.html#a4086700b5f780fd3fb94bea941895022">move_to</a>(x + dx, y + dy)</div>
</div><!-- fragment --><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dx</td><td>the X offset </td></tr>
    <tr><td class="paramname">dy</td><td>the Y offset</td></tr>
  </table>
  </dd>
</dl>
<p>It is an error to call this function with no current point. Doing so will cause this to shutdown with a status of CAIRO_STATUS_NO_CURRENT_POINT. Cairomm will then throw an exception. </p>

</div>
</div>
<a class="anchor" id="a82d001967dc8ba3e45f4d7a06c4b9ff2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::reset_clip </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Reset the current clip region to its original, unrestricted state. </p>
<p>That is, set the clip region to an infinitely large shape containing the target surface. Equivalently, if infinity is too hard to grasp, one can imagine the clip region being reset to the exact bounds of the target surface.</p>
<p>Note that code meant to be reusable should not call <a class="el" href="classCairo_1_1Context.html#a82d001967dc8ba3e45f4d7a06c4b9ff2" title="Reset the current clip region to its original, unrestricted state. ">reset_clip()</a> as it will cause results unexpected by higher-level code which calls <a class="el" href="classCairo_1_1Context.html#a423077b911738772807cc8bc24c25488" title="Establishes a new clip region by intersecting the current clip region with the current Path as it wou...">clip()</a>. Consider using <a class="el" href="classCairo_1_1Context.html#a5249fa850f6adc1cb743e60a65a1ddb6" title="Makes a copy of the current state of the Context and saves it on an internal stack of saved states...">save()</a> and <a class="el" href="classCairo_1_1Context.html#a45a80032b95d87eafe72dc2ab235f815" title="Restores cr to the state saved by a preceding call to save() and removes that state from the stack of...">restore()</a> around <a class="el" href="classCairo_1_1Context.html#a423077b911738772807cc8bc24c25488" title="Establishes a new clip region by intersecting the current clip region with the current Path as it wou...">clip()</a> as a more robust means of temporarily restricting the clip region. </p>

</div>
</div>
<a class="anchor" id="a45a80032b95d87eafe72dc2ab235f815"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::restore </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Restores cr to the state saved by a preceding call to <a class="el" href="classCairo_1_1Context.html#a5249fa850f6adc1cb743e60a65a1ddb6" title="Makes a copy of the current state of the Context and saves it on an internal stack of saved states...">save()</a> and removes that state from the stack of saved states. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classCairo_1_1Context.html#a5249fa850f6adc1cb743e60a65a1ddb6" title="Makes a copy of the current state of the Context and saves it on an internal stack of saved states...">save()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a332811cd74028c20b5832501ec46d67e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::rotate </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>angle_radians</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Modifies the current transformation matrix (CTM) by rotating the user-space axes by angle radians. </p>
<p>The rotation of the axes takes places after any existing transformation of user space. The rotation direction for positive angles is from the positive X axis toward the positive Y axis.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">angle</td><td>angle (in radians) by which the user-space axes will be rotated </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a0ae251ef83d7c2985f4306abc905934d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::rotate_degrees </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>angle_degres</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>A convenience wrapper around <a class="el" href="classCairo_1_1Context.html#a332811cd74028c20b5832501ec46d67e" title="Modifies the current transformation matrix (CTM) by rotating the user-space axes by angle radians...">rotate()</a> that accepts angles in degrees. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">angle_degrees</td><td>angle (in degrees) by which the user-space axes should be rotated </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a5249fa850f6adc1cb743e60a65a1ddb6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::save </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Makes a copy of the current state of the <a class="el" href="classCairo_1_1Context.html" title="Context is the main class used to draw in cairomm. ">Context</a> and saves it on an internal stack of saved states. </p>
<p>When <a class="el" href="classCairo_1_1Context.html#a45a80032b95d87eafe72dc2ab235f815" title="Restores cr to the state saved by a preceding call to save() and removes that state from the stack of...">restore()</a> is called, it will be restored to the saved state. Multiple calls to <a class="el" href="classCairo_1_1Context.html#a5249fa850f6adc1cb743e60a65a1ddb6" title="Makes a copy of the current state of the Context and saves it on an internal stack of saved states...">save()</a> and <a class="el" href="classCairo_1_1Context.html#a45a80032b95d87eafe72dc2ab235f815" title="Restores cr to the state saved by a preceding call to save() and removes that state from the stack of...">restore()</a> can be nested; each call to <a class="el" href="classCairo_1_1Context.html#a45a80032b95d87eafe72dc2ab235f815" title="Restores cr to the state saved by a preceding call to save() and removes that state from the stack of...">restore()</a> restores the state from the matching paired <a class="el" href="classCairo_1_1Context.html#a5249fa850f6adc1cb743e60a65a1ddb6" title="Makes a copy of the current state of the Context and saves it on an internal stack of saved states...">save()</a>.</p>
<p>It isn't necessary to clear all saved states before a cairo_t is freed. Any saved states will be freed when the <a class="el" href="classCairo_1_1Context.html" title="Context is the main class used to draw in cairomm. ">Context</a> is destroyed.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classCairo_1_1Context.html#a45a80032b95d87eafe72dc2ab235f815" title="Restores cr to the state saved by a preceding call to save() and removes that state from the stack of...">restore()</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a45543fb03fb740fe4c013492f348e084"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::scale </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>sx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>sy</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Modifies the current transformation matrix (CTM) by scaling the X and Y user-space axes by sx and sy respectively. </p>
<p>The scaling of the axes takes place after any existing transformation of user space.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">sx</td><td>scale factor for the X dimension </td></tr>
    <tr><td class="paramname">sy</td><td>scale factor for the Y dimension </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="acb1da5f3949195f76424e11be923fbfd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::select_font_face </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> &amp;&#160;</td>
          <td class="paramname"><em>family</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceCairo.html#a0a2c19fefac301a702a6b7fdb368bf55">FontSlant</a>&#160;</td>
          <td class="paramname"><em>slant</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceCairo.html#ad8514818fb9292a5864b57f4b8a1e546">FontWeight</a>&#160;</td>
          <td class="paramname"><em>weight</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Selects a family and style of font from a simplified description as a family name, slant and weight. </p>
<p><a class="el" href="namespaceCairo.html">Cairo</a> provides no operation to list available family names on the system (this is a "toy", remember), but the standard CSS2 generic family names, ("serif", "sans-serif", "cursive", "fantasy", "monospace"), are likely to work as expected.</p>
<p>Note: The <a class="el" href="classCairo_1_1Context.html#acb1da5f3949195f76424e11be923fbfd" title="Selects a family and style of font from a simplified description as a family name, slant and weight. ">select_font_face()</a> function call is part of what the cairo designers call the "toy" text API. It is convenient for short demos and simple programs, but it is not expected to be adequate for serious text-using applications.</p>
<p>If <em>family</em> starts with the string "@cairo:", or if no native font backends are compiled in, cairo will use an internal font family. The internal font family recognizes many modifiers in the  string, most notably, it recognizes the string "monospace". That is, the family name "@cairo:monospace" will use the monospace version of the internal font family.</p>
<p>For "real" font selection, see the font-backend-specific Cairo::FontFace::create functions for the font backend you are using. (For example, if you are using the freetype-based cairo-ft font backend, see <a class="el" href="classCairo_1_1FtFontFace.html#af0c442d25f8615efb7655a6ae9279d3e" title="Creates a new font face for the FreeType font backend from a pre-opened FreeType face. ">Cairo::FtFontFace::create()</a>.) The resulting font face could then be used with <a class="el" href="classCairo_1_1ScaledFont.html#adddf87ea689711ddbbee3028ed30e02b" title="Creates a ScaledFont object from a font face and matrices that describe the size of the font and the ...">Cairo::ScaledFont::create()</a> and <a class="el" href="classCairo_1_1Context.html#aaa8c0b24d9338d392c18435babeb4263" title="Replaces the current font face, font matrix, and font options in the context with those of the scaled...">set_scaled_font()</a>.</p>
<p>Similarly, when using the "real" font support, you can call directly into the underlying font system, (such as fontconfig or freetype), for operations such as listing available fonts, etc.</p>
<p>It is expected that most applications will need to use a more comprehensive font handling and text layout library, (for example, pango), in conjunction with cairo.</p>
<p>If text is drawn without a call to <a class="el" href="classCairo_1_1Context.html#acb1da5f3949195f76424e11be923fbfd" title="Selects a family and style of font from a simplified description as a family name, slant and weight. ">select_font_face()</a>, (nor <a class="el" href="classCairo_1_1Context.html#a9b344db51097aba30e36452e1364faef" title="Replaces the current font face in the context with font_face font_face. ">set_font_face()</a> nor <a class="el" href="classCairo_1_1Context.html#aaa8c0b24d9338d392c18435babeb4263" title="Replaces the current font face, font matrix, and font options in the context with those of the scaled...">set_scaled_font()</a>), the default family is platform-specific, but is essentially "sans-serif". Default slant is <a class="el" href="namespaceCairo.html#a0a2c19fefac301a702a6b7fdb368bf55a428cfea8fca5951033f3d433855cb97d" title="Upright font style. ">Cairo::FONT_SLANT_NORMAL</a>, and default weight is <a class="el" href="namespaceCairo.html#ad8514818fb9292a5864b57f4b8a1e546accd31c17af7e0acce29f5d9df1b74e70" title="Normal font weight. ">Cairo::FONT_WEIGHT_NORMAL</a>.</p>
<p>This function is equivalent to a call to <a class="el" href="classCairo_1_1ToyFontFace.html#a07c0ca7fd0dc54c31bfa1d8a813aff59" title="Creates a font face from a triplet of family, slant, and weight. ">Cairo::ToyFontFace::create()</a> followed by <a class="el" href="classCairo_1_1Context.html#a9b344db51097aba30e36452e1364faef" title="Replaces the current font face in the context with font_face font_face. ">set_font_face()</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">family</td><td>a font family name, encoded in UTF-8 </td></tr>
    <tr><td class="paramname">slant</td><td>the slant for the font </td></tr>
    <tr><td class="paramname">weight</td><td>the weight for the font </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a79220a6785490688fdea41750d8933d6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::set_antialias </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceCairo.html#a2cb381e7f63bef767a7d697fc5af13b4">Antialias</a>&#160;</td>
          <td class="paramname"><em>antialias</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the antialiasing mode of the rasterizer used for drawing shapes. </p>
<p>This value is a hint, and a particular backend may or may not support a particular value. At the current time, no backend supports <a class="el" href="namespaceCairo.html#a2cb381e7f63bef767a7d697fc5af13b4a3ee3d2f0eea97db29139eac7950269aa" title="Perform antialiasing by taing advantage of the order of subpixel elements on devices such as LCD pane...">Cairo::ANTIALIAS_SUBPIXEL</a> when drawing shapes.</p>
<p>Note that this option does not affect text rendering, instead see <a class="el" href="classCairo_1_1FontOptions.html#ac4805f8378e318a2ad52803285b7e7de" title="Sets the antialiasing mode for the font options object. ">FontOptions::set_antialias()</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">antialias</td><td>the new antialiasing mode </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aaa0b483d3f36facb1c9f2aa7f0a0ac13"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::set_dash </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00964.html">std::valarray</a>&lt; double &gt; &amp;&#160;</td>
          <td class="paramname"><em>dashes</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>offset</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Alternate version of <a class="el" href="classCairo_1_1Context.html#aaa0b483d3f36facb1c9f2aa7f0a0ac13" title="Alternate version of set_dash(). ">set_dash()</a>. </p>
<p>You'll probably want to use the one that takes a <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a> argument instead.</p>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000001">Deprecated:</a></b></dt><dd>Instead use the version that takes a const dashes parameter. </dd></dl>

</div>
</div>
<a class="anchor" id="ade74abb6db86a97ff3800e431e27ba45"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::set_dash </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a>&lt; double &gt; &amp;&#160;</td>
          <td class="paramname"><em>dashes</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>offset</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the dash pattern to be used by <a class="el" href="classCairo_1_1Context.html#a8e4acbb44f4b3fac00ee93f6251d6d17" title="A drawing operator that strokes the current Path according to the current line width, line join, line cap, and dash settings. ">stroke()</a>. </p>
<p>A dash pattern is specified by dashes, an array of positive values. Each value provides the user-space length of altenate "on" and "off" portions of the stroke. The offset specifies an offset into the pattern at which the stroke begins.</p>
<p>If dashes is empty dashing is disabled. If the size of dashes is 1, a symmetric pattern is assumed with alternating on and off portions of the size specified by the single value in dashes.</p>
<p>It is invalid for any value in dashes to be negative, or for all values to be 0. If this is the case, an exception will be thrown</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dashes</td><td>an array specifying alternate lengths of on and off portions </td></tr>
    <tr><td class="paramname">offset</td><td>an offset into the dash pattern at which the stroke should start</td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"></td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a73d1ece668f1534ed91ae97cbd6abffe"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::set_dash </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00964.html">std::valarray</a>&lt; double &gt; &amp;&#160;</td>
          <td class="paramname"><em>dashes</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>offset</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Alternate version of <a class="el" href="classCairo_1_1Context.html#aaa0b483d3f36facb1c9f2aa7f0a0ac13" title="Alternate version of set_dash(). ">set_dash()</a>. </p>
<p>You'll probably want to use the one that takes a <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a> argument instead. </p>

</div>
</div>
<a class="anchor" id="ad5de6d8a98135971116c63c28fd736b7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::set_dash </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a>&lt; double &gt; &amp;&#160;</td>
          <td class="paramname"><em>dashes</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>offset</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the dash pattern to be used by <a class="el" href="classCairo_1_1Context.html#a8e4acbb44f4b3fac00ee93f6251d6d17" title="A drawing operator that strokes the current Path according to the current line width, line join, line cap, and dash settings. ">stroke()</a>. </p>
<p>A dash pattern is specified by dashes, an array of positive values. Each value provides the user-space length of altenate "on" and "off" portions of the stroke. The offset specifies an offset into the pattern at which the stroke begins.</p>
<p>Each "on" segment will have caps applied as if the segment were a separate sub-path. In particular, it is valid to use an "on" length of 0.0 with <a class="el" href="namespaceCairo.html#abbb9aae64ef26733965e6d500ae76f1ea05298af325e119d8cfbb6bf7f81f8255" title="Use a round ending, the center of teh circle is teh end point. ">Cairo::LINE_CAP_ROUND</a> or <a class="el" href="namespaceCairo.html#abbb9aae64ef26733965e6d500ae76f1ea8462f35d238cdc413a90cf2ac37c35f8" title="Use squared ending, the center of teh square is the end point. ">Cairo::LINE_CAP_SQUARE</a> in order to distributed dots or squares along a path.</p>
<p>Note: The length values are in user-space units as evaluated at the time of stroking. This is not necessarily the same as the user space at the time of <a class="el" href="classCairo_1_1Context.html#aaa0b483d3f36facb1c9f2aa7f0a0ac13" title="Alternate version of set_dash(). ">set_dash()</a>.</p>
<p>If dashes is empty dashing is disabled. If the size of dashes is 1, a symmetric pattern is assumed with alternating on and off portions of the size specified by the single value in dashes.</p>
<p>It is invalid for any value in dashes to be negative, or for all values to be 0. If this is the case, an exception will be thrown</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dashes</td><td>an array specifying alternate lengths of on and off portions </td></tr>
    <tr><td class="paramname">offset</td><td>an offset into the dash pattern at which the stroke should start</td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"></td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ad15693ae817e3229409d831c7dd96bed"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::set_fill_rule </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceCairo.html#a1ba15b0a2e22c87c14af044801006c85">FillRule</a>&#160;</td>
          <td class="paramname"><em>fill_rule</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the current fill rule within the cairo <a class="el" href="classCairo_1_1Context.html" title="Context is the main class used to draw in cairomm. ">Context</a>. </p>
<p>The fill rule is used to determine which regions are inside or outside a complex (potentially self-intersecting) path. The current fill rule affects both <a class="el" href="classCairo_1_1Context.html#a0a484790884dd138108b07c0ebbbe21d" title="A drawing operator that fills the current path according to the current fill rule, (each sub-path is implicitly closed before being filled). ">fill()</a> and <a class="el" href="classCairo_1_1Context.html#a423077b911738772807cc8bc24c25488" title="Establishes a new clip region by intersecting the current clip region with the current Path as it wou...">clip()</a>. See FillRule for details on the semantics of each available fill rule.</p>
<p>The default fill rule is <a class="el" href="namespaceCairo.html#a1ba15b0a2e22c87c14af044801006c85a64d7bbc3c2d92a1ce8b5e3ec7ea050f7" title="If the path crosses the ray from left-to-right, counts +1. ">Cairo::FILL_RULE_WINDING</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">fill_rule</td><td>a fill rule, specified as a FillRule </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a9b344db51097aba30e36452e1364faef"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::set_font_face </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCairo_1_1RefPtr.html">RefPtr</a>&lt; const <a class="el" href="classCairo_1_1FontFace.html">FontFace</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>font_face</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Replaces the current font face in the context with <em>font_face</em> <em>font_face</em>. </p>
<p>The replaced font face in the context will be destroyed if there are no other references to it.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">font_face</td><td>a font face </td></tr>
  </table>
  </dd>
</dl>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="user-font_8cc-example.html#a18">user-font.cc</a>.</dd>
</dl>
</div>
</div>
<a class="anchor" id="a7981bd1109ec5538fb505b36ec377757"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::set_font_matrix </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCairo_1_1Matrix.html">Matrix</a>&amp;&#160;</td>
          <td class="paramname"><em>matrix</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the current font matrix to . </p>
<p>The font matrix gives a transformation from the design space of the font (in this space, the em-square is 1 unit by 1 unit) to user space. Normally, a simple scale is used (see <a class="el" href="classCairo_1_1Context.html#ac8a04a09c2e871a470fd030edb45b024" title="Sets the current font matrix to a scale by a factor of size, replacing any font matrix previously set...">set_font_size()</a>), but a more complex font matrix can be used to shear the font or stretch it unequally along the two axes</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">matrix</td><td>a <a class="el" href="classCairo_1_1Matrix.html" title="A Transformation matrix. ">Cairo::Matrix</a> describing a transform to be applied to the current font. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a8d44b4f4e45a4fb2a794f3486f895640"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::set_font_matrix </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classcairo__matrix__t.html">cairo_matrix_t</a>&amp;&#160;</td>
          <td class="paramname"><em>matrix</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a2d7f465d946804a8fe9877d7f7f4bbcb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::set_font_options </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCairo_1_1FontOptions.html">FontOptions</a>&amp;&#160;</td>
          <td class="paramname"><em>options</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets a set of custom font rendering options. </p>
<p>Rendering options are derived by merging these options with the options derived from underlying surface; if the value in <em>options</em> has a default value (like <a class="el" href="namespaceCairo.html#a2cb381e7f63bef767a7d697fc5af13b4a3735c7a91b6357b95387b58665734ba3" title="Use the default antialiasing for the subsystem and target device. ">Cairo::ANTIALIAS_DEFAULT</a>), then the value from the surface is used.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">options</td><td>font options to use </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ac8a04a09c2e871a470fd030edb45b024"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::set_font_size </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>size</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the current font matrix to a scale by a factor of <em>size</em>, replacing any font matrix previously set with <a class="el" href="classCairo_1_1Context.html#ac8a04a09c2e871a470fd030edb45b024" title="Sets the current font matrix to a scale by a factor of size, replacing any font matrix previously set...">set_font_size()</a> or <a class="el" href="classCairo_1_1Context.html#a7981bd1109ec5538fb505b36ec377757" title="Sets the current font matrix to . ">set_font_matrix()</a>. </p>
<p>This results in a font size of <em>size</em> user space units. (More precisely, this matrix will result in the font's em-square being a  by <em>size</em> square in user space.)</p>
<p>If text is drawn without a call to <a class="el" href="classCairo_1_1Context.html#ac8a04a09c2e871a470fd030edb45b024" title="Sets the current font matrix to a scale by a factor of size, replacing any font matrix previously set...">set_font_size()</a>, (nor <a class="el" href="classCairo_1_1Context.html#a7981bd1109ec5538fb505b36ec377757" title="Sets the current font matrix to . ">set_font_matrix()</a> nor <a class="el" href="classCairo_1_1Context.html#aaa8c0b24d9338d392c18435babeb4263" title="Replaces the current font face, font matrix, and font options in the context with those of the scaled...">set_scaled_font()</a>), the default font size is 10.0.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">size</td><td>the new font size, in user space units) </td></tr>
  </table>
  </dd>
</dl>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="user-font_8cc-example.html#a19">user-font.cc</a>.</dd>
</dl>
</div>
</div>
<a class="anchor" id="aa3e9b13312b6ef331830b5348093e19e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::set_identity_matrix </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Resets the current transformation matrix (CTM) by setting it equal to the identity matrix. </p>
<p>That is, the user-space and device-space axes will be aligned and one user-space unit will transform to one device-space unit. </p>

</div>
</div>
<a class="anchor" id="a07fd8fc2c75558484e960c5ff63a61cc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::set_line_cap </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceCairo.html#abbb9aae64ef26733965e6d500ae76f1e">LineCap</a>&#160;</td>
          <td class="paramname"><em>line_cap</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the current line cap style within the cairo <a class="el" href="classCairo_1_1Context.html" title="Context is the main class used to draw in cairomm. ">Context</a>. </p>
<p>See LineCap for details about how the available line cap styles are drawn.</p>
<p>As with the other stroke parameters, the current line cap style is examined by <a class="el" href="classCairo_1_1Context.html#a8e4acbb44f4b3fac00ee93f6251d6d17" title="A drawing operator that strokes the current Path according to the current line width, line join, line cap, and dash settings. ">stroke()</a>, stroke_extents(), and stroke_to_path(), but does not have any effect during path construction.</p>
<p>The default line cap style is <a class="el" href="namespaceCairo.html#abbb9aae64ef26733965e6d500ae76f1eaf3facd37abd0619faf1efe6c3b37ef72" title="Start(stop) the line exactly at the start(end) point. ">Cairo::LINE_CAP_BUTT</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">line_cap</td><td>a line cap style, as a LineCap </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a23b5ba9363f568cacc1abf5e79a0200d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::set_line_join </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceCairo.html#adbc632404edaa736e01c12122239de73">LineJoin</a>&#160;</td>
          <td class="paramname"><em>line_join</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the current line join style within the cairo <a class="el" href="classCairo_1_1Context.html" title="Context is the main class used to draw in cairomm. ">Context</a>. </p>
<p>See LineJoin for details about how the available line join styles are drawn.</p>
<p>As with the other stroke parameters, the current line join style is examined by <a class="el" href="classCairo_1_1Context.html#a8e4acbb44f4b3fac00ee93f6251d6d17" title="A drawing operator that strokes the current Path according to the current line width, line join, line cap, and dash settings. ">stroke()</a>, stroke_extents(), and stroke_to_path(), but does not have any effect during path construction.</p>
<p>The default line join style is <a class="el" href="namespaceCairo.html#adbc632404edaa736e01c12122239de73aa63cde0bfd47a1d5a80f2db93b0de823" title="Use a sharp (angled) corner, see Context::set_miter_limit() ">Cairo::LINE_JOIN_MITER</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">line_join</td><td>a line joint style, as a LineJoin </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a9ad2649d95e81a65aa0c581c4345375e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::set_line_width </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>width</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the current line width within the cairo <a class="el" href="classCairo_1_1Context.html" title="Context is the main class used to draw in cairomm. ">Context</a>. </p>
<p>The line width specifies the diameter of a pen that is circular in user-space, (though device-space pen may be an ellipse in general due to scaling/shear/rotation of the CTM).</p>
<p>Note: When the description above refers to user space and CTM it refers to the user space and CTM in effect at the time of the stroking operation, not the user space and CTM in effect at the time of the call to <a class="el" href="classCairo_1_1Context.html#a9ad2649d95e81a65aa0c581c4345375e" title="Sets the current line width within the cairo Context. ">set_line_width()</a>. The simplest usage makes both of these spaces identical. That is, if there is no change to the CTM between a call to <a class="el" href="classCairo_1_1Context.html#a9ad2649d95e81a65aa0c581c4345375e" title="Sets the current line width within the cairo Context. ">set_line_width()</a> and the stroking operation, then one can just pass user-space values to <a class="el" href="classCairo_1_1Context.html#a9ad2649d95e81a65aa0c581c4345375e" title="Sets the current line width within the cairo Context. ">set_line_width()</a> and ignore this note.</p>
<p>As with the other stroke parameters, the current line cap style is examined by <a class="el" href="classCairo_1_1Context.html#a8e4acbb44f4b3fac00ee93f6251d6d17" title="A drawing operator that strokes the current Path according to the current line width, line join, line cap, and dash settings. ">stroke()</a>, stroke_extents(), and stroke_to_path(), but does not have any effect during path construction.</p>
<p>The default line width value is 2.0.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">width</td><td>a line width, as a user-space value </td></tr>
  </table>
  </dd>
</dl>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="user-font_8cc-example.html#a6">user-font.cc</a>.</dd>
</dl>
</div>
</div>
<a class="anchor" id="ac2eafbac5591e569d22495f7920d60d2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::set_matrix </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCairo_1_1Matrix.html">Matrix</a>&amp;&#160;</td>
          <td class="paramname"><em>matrix</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Modifies the current transformation matrix (CTM) by setting it equal to matrix. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">matrix</td><td>a transformation matrix from user space to device space </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a6d94c400c393d7e40bf2d2bbf4e6dcba"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::set_matrix </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classcairo__matrix__t.html">cairo_matrix_t</a>&amp;&#160;</td>
          <td class="paramname"><em>matrix</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a583445ca963769d3f31613bc55b1e8ad"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::set_miter_limit </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>limit</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the current miter limit within the cairo context. </p>
<p>If the current line join style is set to <a class="el" href="namespaceCairo.html#adbc632404edaa736e01c12122239de73aa63cde0bfd47a1d5a80f2db93b0de823" title="Use a sharp (angled) corner, see Context::set_miter_limit() ">Cairo::LINE_JOIN_MITER</a> (see <a class="el" href="classCairo_1_1Context.html#a23b5ba9363f568cacc1abf5e79a0200d" title="Sets the current line join style within the cairo Context. ">set_line_join()</a>), the miter limit is used to determine whether the lines should be joined with a bevel instead of a miter. <a class="el" href="namespaceCairo.html">Cairo</a> divides the length of the miter by the line width. If the result is greater than the miter limit, the style is converted to a bevel.</p>
<p>As with the other stroke parameters, the current line miter limit is examined by <a class="el" href="classCairo_1_1Context.html#a8e4acbb44f4b3fac00ee93f6251d6d17" title="A drawing operator that strokes the current Path according to the current line width, line join, line cap, and dash settings. ">stroke()</a>, stroke_extents(), and stroke_to_path(), but does not have any effect during path construction.</p>
<p>The default miter limit value is 10.0, which will convert joins with interior angles less than 11 degrees to bevels instead of miters. For reference, a miter limit of 2.0 makes the miter cutoff at 60 degrees, and a miter limit of 1.414 makes the cutoff at 90 degrees.</p>
<p>A miter limit for a desired angle can be computed as: miter_limit = 1/sin(angle/2)</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">limit</td><td>miter limit to set </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a61f276527b921cbd4fd81880ac372e2a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::set_operator </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceCairo.html#a2d612c31d146fc32d486f9614560c8d1">Operator</a>&#160;</td>
          <td class="paramname"><em>op</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the compositing operator to be used for all drawing operations. </p>
<p>See Operator for details on the semantics of each available compositing operator.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">op</td><td>a compositing operator, specified as a Operator </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aaa8c0b24d9338d392c18435babeb4263"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::set_scaled_font </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCairo_1_1RefPtr.html">RefPtr</a>&lt; const <a class="el" href="classCairo_1_1ScaledFont.html">ScaledFont</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>scaled_font</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Replaces the current font face, font matrix, and font options in the context with those of the <em>scaled_font</em>. </p>
<p>Except for some translation, the current CTM of the context should be the same as that of the #cairo_scaled_font_t, which can be accessed using <a class="el" href="classCairo_1_1ScaledFont.html#a2ecb41822d51284c2f52a83b05cede8e" title="Gets the CTM with which the ScaledFont was created. ">Cairo::ScaledFont::get_ctm()</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">scaled_font</td><td>a scaled font </td></tr>
  </table>
  </dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>1.8 </dd></dl>

</div>
</div>
<a class="anchor" id="a534d571d5aa4b500782036202a3e2aea"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::set_source </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCairo_1_1RefPtr.html">RefPtr</a>&lt; const <a class="el" href="classCairo_1_1Pattern.html">Pattern</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>source</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the source pattern within the <a class="el" href="classCairo_1_1Context.html" title="Context is the main class used to draw in cairomm. ">Context</a> to source. </p>
<p>This <a class="el" href="classCairo_1_1Pattern.html" title="Cairo::Pattern is the paint with which cairo draws. ">Pattern</a> will then be used for any subsequent drawing operation until a new source pattern is set.</p>
<p>Note: The <a class="el" href="classCairo_1_1Pattern.html" title="Cairo::Pattern is the paint with which cairo draws. ">Pattern</a>'s transformation matrix will be locked to the user space in effect at the time of <a class="el" href="classCairo_1_1Context.html#a534d571d5aa4b500782036202a3e2aea" title="Sets the source pattern within the Context to source. ">set_source()</a>. This means that further modifications of the current transformation matrix will not affect the source pattern.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">source</td><td>a <a class="el" href="classCairo_1_1Pattern.html" title="Cairo::Pattern is the paint with which cairo draws. ">Pattern</a> to be used as the source for subsequent drawing operations.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classCairo_1_1Pattern.html#a09dbb1295ba0a4f8a92b571aa6e425af" title="Sets the pattern&#39;s transformation matrix to . ">Pattern::set_matrix()</a> </dd>
<dd>
<a class="el" href="classCairo_1_1Context.html#aff3f3fc62bdf862646bb8cc568c30b2a" title="Sets the source pattern within the Context to an opaque color. ">set_source_rgb()</a> </dd>
<dd>
<a class="el" href="classCairo_1_1Context.html#af9267aed8eb866701178dcada6c7e51a" title="Sets the source pattern within the Context to a translucent color. ">set_source_rgba()</a> </dd>
<dd>
<a class="el" href="classCairo_1_1Context.html#ad88c0ef8700410920b37833b8e6ed329" title="This is a convenience function for creating a pattern from a Surface and setting it as the source...">set_source(const RefPtr&lt;Surface&gt;&amp; surface, double x, double y)</a> </dd></dl>

</div>
</div>
<a class="anchor" id="ad88c0ef8700410920b37833b8e6ed329"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::set_source </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCairo_1_1RefPtr.html">RefPtr</a>&lt; <a class="el" href="classCairo_1_1Surface.html">Surface</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>surface</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></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">

<p>This is a convenience function for creating a pattern from a <a class="el" href="classCairo_1_1Surface.html" title="A cairo surface represents an image, either as the destination of a drawing operation or as source wh...">Surface</a> and setting it as the source. </p>
<p>The x and y parameters give the user-space coordinate at which the <a class="el" href="classCairo_1_1Surface.html" title="A cairo surface represents an image, either as the destination of a drawing operation or as source wh...">Surface</a> origin should appear. (The <a class="el" href="classCairo_1_1Surface.html" title="A cairo surface represents an image, either as the destination of a drawing operation or as source wh...">Surface</a> origin is its upper-left corner before any transformation has been applied.) The x and y patterns are negated and then set as translation values in the pattern matrix.</p>
<p>Other than the initial translation pattern matrix, as described above, all other pattern attributes, (such as its extend mode), are set to the default values as in <a class="el" href="classCairo_1_1Context.html#a9a27f6ec57d788fd3ecbc310aeb24d99">Context::create(const RefPtr&lt;Surface&gt;&amp; target)</a>. The resulting pattern can be queried with <a class="el" href="classCairo_1_1Context.html#a0b6eeda4d80f3d591a770cbbbf8a0c87" title="Gets the current source pattern for the Context. ">get_source()</a> so that these attributes can be modified if desired, (eg. to create a repeating pattern with <a class="el" href="classCairo_1_1Pattern.html#aa115faded8acf11fa0460a9dae9efc81" title="Sets the mode to be used for drawing outside the area of a pattern. ">Pattern::set_extend()</a>).</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">surface</td><td>a <a class="el" href="classCairo_1_1Surface.html" title="A cairo surface represents an image, either as the destination of a drawing operation or as source wh...">Surface</a> to be used to set the source pattern </td></tr>
    <tr><td class="paramname">x</td><td>User-space X coordinate for surface origin </td></tr>
    <tr><td class="paramname">y</td><td>User-space Y coordinate for surface origin </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aff3f3fc62bdf862646bb8cc568c30b2a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::set_source_rgb </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>red</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>green</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>blue</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the source pattern within the <a class="el" href="classCairo_1_1Context.html" title="Context is the main class used to draw in cairomm. ">Context</a> to an opaque color. </p>
<p>This opaque color will then be used for any subsequent drawing operation until a new source pattern is set.</p>
<p>The color components are floating point numbers in the range 0 to 1. If the values passed in are outside that range, they will be clamped.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">red</td><td>red component of color </td></tr>
    <tr><td class="paramname">green</td><td>green component of color </td></tr>
    <tr><td class="paramname">blue</td><td>blue component of color</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classCairo_1_1Context.html#af9267aed8eb866701178dcada6c7e51a" title="Sets the source pattern within the Context to a translucent color. ">set_source_rgba()</a> </dd>
<dd>
<a class="el" href="classCairo_1_1Context.html#a534d571d5aa4b500782036202a3e2aea" title="Sets the source pattern within the Context to source. ">set_source()</a> </dd></dl>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="user-font_8cc-example.html#a12">user-font.cc</a>.</dd>
</dl>
</div>
</div>
<a class="anchor" id="af9267aed8eb866701178dcada6c7e51a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::set_source_rgba </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>red</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>green</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>blue</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>alpha</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the source pattern within the <a class="el" href="classCairo_1_1Context.html" title="Context is the main class used to draw in cairomm. ">Context</a> to a translucent color. </p>
<p>This color will then be used for any subsequent drawing operation until a new source pattern is set.</p>
<p>The color and alpha components are floating point numbers in the range 0 to 1. If the values passed in are outside that range, they will be clamped.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">red</td><td>red component of color </td></tr>
    <tr><td class="paramname">green</td><td>green component of color </td></tr>
    <tr><td class="paramname">blue</td><td>blue component of color </td></tr>
    <tr><td class="paramname">alpha</td><td>alpha component of color</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classCairo_1_1Context.html#aff3f3fc62bdf862646bb8cc568c30b2a" title="Sets the source pattern within the Context to an opaque color. ">set_source_rgb()</a> </dd>
<dd>
<a class="el" href="classCairo_1_1Context.html#a534d571d5aa4b500782036202a3e2aea" title="Sets the source pattern within the Context to source. ">set_source()</a> </dd></dl>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="user-font_8cc-example.html#a15">user-font.cc</a>.</dd>
</dl>
</div>
</div>
<a class="anchor" id="a01481a915f4086051f1c200f0f7a33d1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::set_tolerance </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>tolerance</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the tolerance used when converting paths into trapezoids. </p>
<p>Curved segments of the path will be subdivided until the maximum deviation between the original path and the polygonal approximation is less than tolerance. The default value is 0.1. A larger value will give better performance, a smaller value, better appearance. (Reducing the value from the default value of 0.1 is unlikely to improve appearance significantly.) The accuracy of paths within <a class="el" href="namespaceCairo.html">Cairo</a> is limited by the precision of its internal arithmetic, and the prescribed  is restricted to the smallest representable internal value.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">tolerance</td><td>the tolerance, in device units (typically pixels) </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="af51f2c2ff72e8af66abeea3d15d25553"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::show_glyphs </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a>&lt; <a class="el" href="namespaceCairo.html#a2483f165322e844c095c7be95849fdc2">Glyph</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>glyphs</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>A drawing operator that generates the shape from an array of glyphs, rendered according to the current font face, font size (font matrix), and font options. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">glyphs</td><td>vector of glyphs to show </td></tr>
    <tr><td class="paramname">num_glyphs</td><td>number of glyphs to show </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a525cac95b4d4c2abea12b82c433adba9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::show_page </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Emits and clears the current page for backends that support multiple pages. </p>
<p>Use <a class="el" href="classCairo_1_1Context.html#a7ccbeacb2a7f2d787b3daf31a69383fd" title="Emits the current page for backends that support multiple pages, but doesn&#39;t clear it...">copy_page()</a> if you don't want to clear the page.</p>
<p>This is a convenience function that simply calls <a class="el" href="classCairo_1_1Surface.html#ad318acd86c1875854ef4e1e2867052c3" title="Emits and clears the current page for backends that support multiple pages. ">Surface::show_page()</a> on <em>cr's</em> target. </p>

</div>
</div>
<a class="anchor" id="a584596d6f12dbea30519b908cacce038"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::show_text </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> &amp;&#160;</td>
          <td class="paramname"><em>utf8</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>A drawing operator that generates the shape from a string of UTF-8 characters, rendered according to the current font_face, font_size (font_matrix), and font_options. </p>
<p>This function first computes a set of glyphs for the string of text. The first glyph is placed so that its origin is at the current point. The origin of each subsequent glyph is offset from that of the previous glyph by the advance values of the previous glyph.</p>
<p>After this call the current point is moved to the origin of where the next glyph would be placed in this same progression. That is, the current point will be at the origin of the final glyph offset by its advance values. This allows for easy display of a single logical string with multiple calls to <a class="el" href="classCairo_1_1Context.html#a584596d6f12dbea30519b908cacce038" title="A drawing operator that generates the shape from a string of UTF-8 characters, rendered according to ...">show_text()</a>.</p>
<p>Note: The <a class="el" href="classCairo_1_1Context.html#a584596d6f12dbea30519b908cacce038" title="A drawing operator that generates the shape from a string of UTF-8 characters, rendered according to ...">show_text()</a> function call is part of what the cairo designers call the "toy" text API. It is convenient for short demos and simple programs, but it is not expected to be adequate for serious text-using applications. See <a class="el" href="classCairo_1_1Context.html#af51f2c2ff72e8af66abeea3d15d25553" title="A drawing operator that generates the shape from an array of glyphs, rendered according to the curren...">show_glyphs()</a> for the "real" text display API in cairo.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">utf8</td><td>a string containing text encoded in UTF-8 </td></tr>
  </table>
  </dd>
</dl>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="user-font_8cc-example.html#a20">user-font.cc</a>.</dd>
</dl>
</div>
</div>
<a class="anchor" id="a45723fd605cc2343ab46cf603d330002"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::show_text_glyphs </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> &amp;&#160;</td>
          <td class="paramname"><em>utf8</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a>&lt; <a class="el" href="namespaceCairo.html#a2483f165322e844c095c7be95849fdc2">Glyph</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>glyphs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00965.html">std::vector</a>&lt; <a class="el" href="namespaceCairo.html#a3c23510889078c8a75d66add004ab288">TextCluster</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>clusters</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceCairo.html#a61b770cf36c555a4098b5428e030542a">TextClusterFlags</a>&#160;</td>
          <td class="paramname"><em>cluster_flags</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This operation has rendering effects similar to <a class="el" href="classCairo_1_1Context.html#af51f2c2ff72e8af66abeea3d15d25553" title="A drawing operator that generates the shape from an array of glyphs, rendered according to the curren...">show_glyphs()</a> but, if the target surface supports it, uses the provided text and cluster mapping to embed the text for the glyphs shown in the output. </p>
<p>If the target does not support the extended attributes, this function acts like the basic <a class="el" href="classCairo_1_1Context.html#af51f2c2ff72e8af66abeea3d15d25553" title="A drawing operator that generates the shape from an array of glyphs, rendered according to the curren...">show_glyphs()</a> as if it had been passed <em>glyphs</em> and <em>num_glyphs</em>.</p>
<p>The mapping between <em>utf8</em> and <em>glyphs</em> is provided by an array of &lt;firstterm&gt;clusters&lt;/firstterm&gt;. Each cluster covers a number of text bytes and glyphs, and neighboring clusters cover neighboring areas of <em>utf8</em> and <em>glyphs</em>. The clusters should collectively cover <em>utf8</em> and <em>glyphs</em> in entirety.</p>
<p>The first cluster always covers bytes from the beginning of <em>utf8</em>. If <em>cluster_flags</em> do not have the <a class="el" href="namespaceCairo.html#a61b770cf36c555a4098b5428e030542aad1fc31baabb2eaa7661a0b8a91ad3b03" title="The clusters in the cluster array map to glyphs in the glyph array from end to start. ">Cairo::TEXT_CLUSTER_FLAG_BACKWARD</a> set, the first cluster also covers the beginning of <em>glyphs</em>, otherwise it covers the end of the <em>glyphs</em> array and following clusters move backward.</p>
<p>See <a class="el" href="namespaceCairo.html#a3c23510889078c8a75d66add004ab288" title="See the cairo_text_cluster_t reference in the cairo manual for more information. ">Cairo::TextCluster</a> for constraints on valid clusters.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">utf8</td><td>a string of text encoded in UTF-8 </td></tr>
    <tr><td class="paramname">glyphs</td><td>vector of glyphs to show </td></tr>
    <tr><td class="paramname">clusters</td><td>vector of cluster mapping information </td></tr>
    <tr><td class="paramname">cluster_flags</td><td>cluster mapping flags</td></tr>
  </table>
  </dd>
</dl>
<dl class="section since"><dt>Since</dt><dd>1.8 </dd></dl>

</div>
</div>
<a class="anchor" id="a8e4acbb44f4b3fac00ee93f6251d6d17"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::stroke </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>A drawing operator that strokes the current <a class="el" href="classCairo_1_1Path.html" title="A data structure for holding a path. ">Path</a> according to the current line width, line join, line cap, and dash settings. </p>
<p>After <a class="el" href="classCairo_1_1Context.html#a8e4acbb44f4b3fac00ee93f6251d6d17" title="A drawing operator that strokes the current Path according to the current line width, line join, line cap, and dash settings. ">stroke()</a>, the current <a class="el" href="classCairo_1_1Path.html" title="A data structure for holding a path. ">Path</a> will be cleared from the cairo <a class="el" href="classCairo_1_1Context.html" title="Context is the main class used to draw in cairomm. ">Context</a>.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classCairo_1_1Context.html#a9ad2649d95e81a65aa0c581c4345375e" title="Sets the current line width within the cairo Context. ">set_line_width()</a> </dd>
<dd>
<a class="el" href="classCairo_1_1Context.html#a23b5ba9363f568cacc1abf5e79a0200d" title="Sets the current line join style within the cairo Context. ">set_line_join()</a> </dd>
<dd>
<a class="el" href="classCairo_1_1Context.html#a07fd8fc2c75558484e960c5ff63a61cc" title="Sets the current line cap style within the cairo Context. ">set_line_cap()</a> </dd>
<dd>
<a class="el" href="classCairo_1_1Context.html#aaa0b483d3f36facb1c9f2aa7f0a0ac13" title="Alternate version of set_dash(). ">set_dash()</a> </dd>
<dd>
<a class="el" href="classCairo_1_1Context.html#ab10d89295e122b04ff1bbda425ae069c" title="A drawing operator that strokes the current Path according to the current line width, line join, line cap, and dash settings. ">stroke_preserve()</a>.</dd></dl>
<p>Note: Degenerate segments and sub-paths are treated specially and provide a useful result. These can result in two different situations:</p>
<ol type="1">
<li>Zero-length "on" segments set in <a class="el" href="classCairo_1_1Context.html#aaa0b483d3f36facb1c9f2aa7f0a0ac13" title="Alternate version of set_dash(). ">set_dash()</a>. If the cap style is <a class="el" href="namespaceCairo.html#abbb9aae64ef26733965e6d500ae76f1ea05298af325e119d8cfbb6bf7f81f8255" title="Use a round ending, the center of teh circle is teh end point. ">Cairo::LINE_CAP_ROUND</a> or <a class="el" href="namespaceCairo.html#abbb9aae64ef26733965e6d500ae76f1ea8462f35d238cdc413a90cf2ac37c35f8" title="Use squared ending, the center of teh square is the end point. ">Cairo::LINE_CAP_SQUARE</a> then these segments will be drawn as circular dots or squares respectively. In the case of <a class="el" href="namespaceCairo.html#abbb9aae64ef26733965e6d500ae76f1ea8462f35d238cdc413a90cf2ac37c35f8" title="Use squared ending, the center of teh square is the end point. ">Cairo::LINE_CAP_SQUARE</a>, the orientation of the squares is determined by the direction of the underlying path.</li>
<li>A sub-path created by <a class="el" href="classCairo_1_1Context.html#a4086700b5f780fd3fb94bea941895022" title="If the current subpath is not empty, begin a new subpath. ">move_to()</a> followed by either a <a class="el" href="classCairo_1_1Context.html#a32211b0684b1d264c17402b5289fcba0" title="Adds a line segment to the path from the current point to the beginning of the current subpath...">close_path()</a> or one or more calls to <a class="el" href="classCairo_1_1Context.html#ae305a9f8a79cc0e0693393a940ee1de8" title="Adds a line to the path from the current point to position (x, y) in user-space coordinates. ">line_to()</a> to the same coordinate as the <a class="el" href="classCairo_1_1Context.html#a4086700b5f780fd3fb94bea941895022" title="If the current subpath is not empty, begin a new subpath. ">move_to()</a>. If the cap style is <a class="el" href="namespaceCairo.html#abbb9aae64ef26733965e6d500ae76f1ea05298af325e119d8cfbb6bf7f81f8255" title="Use a round ending, the center of teh circle is teh end point. ">Cairo::LINE_CAP_ROUND</a> then these sub-paths will be drawn as circular dots. Note that in the case of <a class="el" href="namespaceCairo.html#abbb9aae64ef26733965e6d500ae76f1ea8462f35d238cdc413a90cf2ac37c35f8" title="Use squared ending, the center of teh square is the end point. ">Cairo::LINE_CAP_SQUARE</a> a degenerate sub-path will not be drawn at all, (since the correct orientation is indeterminate).</li>
</ol>
<p>In no case will a cap style of <a class="el" href="namespaceCairo.html#abbb9aae64ef26733965e6d500ae76f1eaf3facd37abd0619faf1efe6c3b37ef72" title="Start(stop) the line exactly at the start(end) point. ">Cairo::LINE_CAP_BUTT</a> cause anything to be drawn in the case of either degenerate segments or sub-paths. </p>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="user-font_8cc-example.html#a8">user-font.cc</a>.</dd>
</dl>
</div>
</div>
<a class="anchor" id="ab10d89295e122b04ff1bbda425ae069c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::stroke_preserve </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>A drawing operator that strokes the current <a class="el" href="classCairo_1_1Path.html" title="A data structure for holding a path. ">Path</a> according to the current line width, line join, line cap, and dash settings. </p>
<p>Unlike <a class="el" href="classCairo_1_1Context.html#a8e4acbb44f4b3fac00ee93f6251d6d17" title="A drawing operator that strokes the current Path according to the current line width, line join, line cap, and dash settings. ">stroke()</a>, <a class="el" href="classCairo_1_1Context.html#ab10d89295e122b04ff1bbda425ae069c" title="A drawing operator that strokes the current Path according to the current line width, line join, line cap, and dash settings. ">stroke_preserve()</a> preserves the <a class="el" href="classCairo_1_1Path.html" title="A data structure for holding a path. ">Path</a> within the cairo <a class="el" href="classCairo_1_1Context.html" title="Context is the main class used to draw in cairomm. ">Context</a>.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classCairo_1_1Context.html#a9ad2649d95e81a65aa0c581c4345375e" title="Sets the current line width within the cairo Context. ">set_line_width()</a> </dd>
<dd>
<a class="el" href="classCairo_1_1Context.html#a23b5ba9363f568cacc1abf5e79a0200d" title="Sets the current line join style within the cairo Context. ">set_line_join()</a> </dd>
<dd>
<a class="el" href="classCairo_1_1Context.html#a07fd8fc2c75558484e960c5ff63a61cc" title="Sets the current line cap style within the cairo Context. ">set_line_cap()</a> </dd>
<dd>
<a class="el" href="classCairo_1_1Context.html#aaa0b483d3f36facb1c9f2aa7f0a0ac13" title="Alternate version of set_dash(). ">set_dash()</a> </dd>
<dd>
<a class="el" href="classCairo_1_1Context.html#ab10d89295e122b04ff1bbda425ae069c" title="A drawing operator that strokes the current Path according to the current line width, line join, line cap, and dash settings. ">stroke_preserve()</a>. </dd></dl>

</div>
</div>
<a class="anchor" id="a5613b4202f82f6a53f1aeac6c58e5521"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::text_path </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="libstdc++.tag:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01681.html#ga32db3d9898c44d3b3a578b560f7758cc">std::string</a> &amp;&#160;</td>
          <td class="paramname"><em>utf8</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Adds closed paths for text to the current path. </p>
<p>The generated path if filled, achieves an effect similar to that of <a class="el" href="classCairo_1_1Context.html#a584596d6f12dbea30519b908cacce038" title="A drawing operator that generates the shape from a string of UTF-8 characters, rendered according to ...">show_text()</a>.</p>
<p>Text conversion and positioning is done similar to <a class="el" href="classCairo_1_1Context.html#a584596d6f12dbea30519b908cacce038" title="A drawing operator that generates the shape from a string of UTF-8 characters, rendered according to ...">show_text()</a>.</p>
<p>Like <a class="el" href="classCairo_1_1Context.html#a584596d6f12dbea30519b908cacce038" title="A drawing operator that generates the shape from a string of UTF-8 characters, rendered according to ...">show_text()</a>, After this call the current point is moved to the origin of where the next glyph would be placed in this same progression. That is, the current point will be at the origin of the final glyph offset by its advance values. This allows for chaining multiple calls to to <a class="el" href="classCairo_1_1Context.html#a5613b4202f82f6a53f1aeac6c58e5521" title="Adds closed paths for text to the current path. ">text_path()</a> without having to set current point in between.</p>
<p>Note: The <a class="el" href="classCairo_1_1Context.html#a5613b4202f82f6a53f1aeac6c58e5521" title="Adds closed paths for text to the current path. ">text_path()</a> function call is part of what the cairo designers call the "toy" text API. It is convenient for short demos and simple programs, but it is not expected to be adequate for serious text-using applications. See <a class="el" href="classCairo_1_1Context.html#ad3372fc30d9a26c8d26c440a21464ce5" title="Adds closed paths for the glyphs to the current path. ">glyph_path()</a> for the "real" text path API in cairo.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">utf8</td><td>a string of text encoded in UTF-8 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ac520512061fa271fff3b1f922f94c9cb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::transform </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCairo_1_1Matrix.html">Matrix</a>&amp;&#160;</td>
          <td class="paramname"><em>matrix</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Modifies the current transformation matrix (CTM) by applying matrix as an additional transformation. </p>
<p>The new transformation of user space takes place after any existing transformation.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">matrix</td><td>a transformation to be applied to the user-space axes </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a1bb46fed0df67873bef36e8d7c515c5a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::transform </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classcairo__matrix__t.html">cairo_matrix_t</a>&amp;&#160;</td>
          <td class="paramname"><em>matrix</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

</div>
</div>
<a class="anchor" id="a3058f50f915d9c43d165dfcd1a940cdc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::translate </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>tx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>ty</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Modifies the current transformation matrix (CTM) by translating the user-space origin by (tx, ty). </p>
<p>This offset is interpreted as a user-space coordinate according to the CTM in place before the new call to translate. In other words, the translation of the user-space origin takes place after any existing transformation.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">tx</td><td>amount to translate in the X direction </td></tr>
    <tr><td class="paramname">ty</td><td>amount to translate in the Y direction </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ab20ad42403add42a9388b281074b77d2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::unset_dash </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function disables a dash pattern that was set with <a class="el" href="classCairo_1_1Context.html#aaa0b483d3f36facb1c9f2aa7f0a0ac13" title="Alternate version of set_dash(). ">set_dash()</a> </p>

</div>
</div>
<a class="anchor" id="aa9cc3eeb14b515b184be6a401c0993a4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::user_to_device </td>
          <td>(</td>
          <td class="paramtype">double &amp;&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;&#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>Transform a coordinate from user space to device space by multiplying the given point by the current transformation matrix (CTM). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>X value of coordinate (in/out parameter) </td></tr>
    <tr><td class="paramname">y</td><td>Y value of coordinate (in/out parameter)</td></tr>
  </table>
  </dd>
</dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000003">Deprecated:</a></b></dt><dd>Use the const version. </dd></dl>

</div>
</div>
<a class="anchor" id="a30ee2fbeca1cb347548d5b9d186e38ea"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::user_to_device </td>
          <td>(</td>
          <td class="paramtype">double &amp;&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;&#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>Transform a coordinate from user space to device space by multiplying the given point by the current transformation matrix (CTM). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">x</td><td>X value of coordinate (in/out parameter) </td></tr>
    <tr><td class="paramname">y</td><td>Y value of coordinate (in/out parameter) </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ab0daccfeaa8b173b26473e79271f7e88"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::user_to_device_distance </td>
          <td>(</td>
          <td class="paramtype">double &amp;&#160;</td>
          <td class="paramname"><em>dx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;&#160;</td>
          <td class="paramname"><em>dy</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Transform a distance vector from user space to device space. </p>
<p>This function is similar to <a class="el" href="classCairo_1_1Context.html#aa9cc3eeb14b515b184be6a401c0993a4" title="Transform a coordinate from user space to device space by multiplying the given point by the current ...">user_to_device()</a> except that the translation components of the CTM will be ignored when transforming (dx,dy).</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dx</td><td>X component of a distance vector (in/out parameter) </td></tr>
    <tr><td class="paramname">dy</td><td>Y component of a distance vector (in/out parameter)</td></tr>
  </table>
  </dd>
</dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000004">Deprecated:</a></b></dt><dd>Use the const version. </dd></dl>

</div>
</div>
<a class="anchor" id="a14e24c58fc7f39af6a127ac5b684a9cc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cairo::Context::user_to_device_distance </td>
          <td>(</td>
          <td class="paramtype">double &amp;&#160;</td>
          <td class="paramname"><em>dx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double &amp;&#160;</td>
          <td class="paramname"><em>dy</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Transform a distance vector from user space to device space. </p>
<p>This function is similar to <a class="el" href="classCairo_1_1Context.html#aa9cc3eeb14b515b184be6a401c0993a4" title="Transform a coordinate from user space to device space by multiplying the given point by the current ...">user_to_device()</a> except that the translation components of the CTM will be ignored when transforming (dx,dy).</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dx</td><td>X component of a distance vector (in/out parameter) </td></tr>
    <tr><td class="paramname">dy</td><td>Y component of a distance vector (in/out parameter) </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a620db06ff96d42e8e1db12ada0435fcc"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCairo_1_1Context.html#a14e54b45199452f9916ebcafcd4a629e">cobject</a>* Cairo::Context::m_cobject</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>cairomm/context.h</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Tue Nov 15 2016 12:52:12 for cairomm by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.9.1
</small></address>
</body>
</html>