0
|
1 |
setBrush 0xff7f7f
|
|
2 |
setPen 0x7f0000
|
|
3 |
|
|
4 |
path_moveTo path -1000000 10000
|
|
5 |
path_cubicTo path 100 100 100 150 150 400
|
|
6 |
path_closeSubpath path
|
|
7 |
|
|
8 |
begin_block drawing
|
|
9 |
|
|
10 |
drawPath ellipse
|
|
11 |
|
|
12 |
drawLine -1000000 200 200 200
|
|
13 |
drawLine 200 -1000000 200 200
|
|
14 |
drawLine 200 200 1000000 200
|
|
15 |
drawLine 200 200 200 1000000
|
|
16 |
drawLine -1000000 -1000000 200 200
|
|
17 |
|
|
18 |
drawPolygon [-1000000 100 100 -1000000 100 100]
|
|
19 |
drawRect 300 -500000 1000000 1000000
|
|
20 |
|
|
21 |
drawPath path
|
|
22 |
|
|
23 |
end_block
|
|
24 |
|
|
25 |
save
|
|
26 |
translate 20 20
|
|
27 |
setBrush #0x7f7f7fff
|
|
28 |
setPen #0x7f00007f
|
|
29 |
repeat_block drawing
|
|
30 |
|
|
31 |
translate 20 20
|
|
32 |
setRenderHint Antialiasing
|
|
33 |
setBrush #0x7f7fff7f
|
|
34 |
setPen #0x7f007f00
|
|
35 |
repeat_block drawing
|
|
36 |
restore
|
|
37 |
|
|
38 |
setPen 0x00007f 2
|
|
39 |
setRenderHint Antialiasing
|
|
40 |
|
|
41 |
drawLine 0 -200 200 200
|
|
42 |
|
|
43 |
setPen 0x007f00 10
|
|
44 |
|
|
45 |
drawLine 0 -200 200 0
|