0
|
1 |
|
|
2 |
setRenderHint Antialiasing
|
|
3 |
|
|
4 |
path_moveTo p 20 20
|
|
5 |
path_cubicTo p 100 20 100 180 180 100
|
|
6 |
path_lineTo p 20 180
|
|
7 |
path_lineTo p 180 20
|
|
8 |
|
|
9 |
setPen black 20 solidline roundcap roundjoin
|
|
10 |
drawPath p
|
|
11 |
setPen red
|
|
12 |
drawPath p
|
|
13 |
|
|
14 |
translate 200 0
|
|
15 |
setPen black 20 solidline roundcap miterjoin
|
|
16 |
drawPath p
|
|
17 |
setPen red
|
|
18 |
drawPath p
|
|
19 |
|
|
20 |
translate 200 0
|
|
21 |
setPen black 20 solidline roundcap beveljoin
|
|
22 |
drawPath p
|
|
23 |
setPen red
|
|
24 |
drawPath p
|
|
25 |
|
|
26 |
translate -400 200
|
|
27 |
setPen black 20 solidline squarecap roundjoin
|
|
28 |
drawPath p
|
|
29 |
setPen red
|
|
30 |
drawPath p
|
|
31 |
|
|
32 |
translate 200 0
|
|
33 |
setPen black 20 solidline squarecap miterjoin
|
|
34 |
drawPath p
|
|
35 |
setPen red
|
|
36 |
drawPath p
|
|
37 |
|
|
38 |
translate 200 0
|
|
39 |
setPen black 20 solidline squarecap beveljoin
|
|
40 |
drawPath p
|
|
41 |
setPen red
|
|
42 |
drawPath p
|
|
43 |
|
|
44 |
translate -400 200
|
|
45 |
setPen black 20 solidline flatcap roundjoin
|
|
46 |
drawPath p
|
|
47 |
setPen red
|
|
48 |
drawPath p
|
|
49 |
|
|
50 |
translate 200 0
|
|
51 |
setPen black 20 solidline flatcap miterjoin
|
|
52 |
drawPath p
|
|
53 |
setPen red
|
|
54 |
drawPath p
|
|
55 |
|
|
56 |
translate 200 0
|
|
57 |
setPen black 20 solidline flatcap beveljoin
|
|
58 |
drawPath p
|
|
59 |
setPen red
|
|
60 |
drawPath p
|