0
|
1 |
path_addRect p 0 0 75 75
|
|
2 |
path_addEllipse p 25 25 75 75
|
|
3 |
|
|
4 |
translate 10 10
|
|
5 |
|
|
6 |
begin_block setup_gradient
|
|
7 |
gradient_clearStops
|
|
8 |
gradient_appendStop 0 red
|
|
9 |
gradient_appendStop 0.1 blue
|
|
10 |
gradient_appendStop 0.2 yellow
|
|
11 |
gradient_appendStop 0.3 cyan
|
|
12 |
gradient_appendStop 0.4 magenta
|
|
13 |
gradient_appendStop 0.5 green
|
|
14 |
gradient_appendStop 0.6 black
|
|
15 |
gradient_appendStop 0.7 indianred
|
|
16 |
gradient_appendStop 0.8 white
|
|
17 |
gradient_appendStop 0.9 orange
|
|
18 |
gradient_appendStop 1 blue
|
|
19 |
gradient_setLinear 0 0 100 100
|
|
20 |
end_block
|
|
21 |
|
|
22 |
setPen brush 0
|
|
23 |
setBrush nobrush
|
|
24 |
|
|
25 |
begin_block drawing
|
|
26 |
save
|
|
27 |
drawLine 0 0 100 100
|
|
28 |
|
|
29 |
translate 0 100
|
|
30 |
drawPath p
|
|
31 |
|
|
32 |
translate 0 110
|
|
33 |
drawRect 0 0 100 100
|
|
34 |
|
|
35 |
translate 0 110
|
|
36 |
drawPolyline [0 0 100 0 50 50]
|
|
37 |
|
|
38 |
drawPoint 40 40
|
|
39 |
drawPoint 41 40
|
|
40 |
drawPoint 42 40
|
|
41 |
drawPoint 43 40
|
|
42 |
drawPoint 44 40
|
|
43 |
drawPoint 45 40
|
|
44 |
drawPoint 46 40
|
|
45 |
drawPoint 47 40
|
|
46 |
drawPoint 48 40
|
|
47 |
drawPoint 49 40
|
|
48 |
drawPoint 50 40
|
|
49 |
|
|
50 |
restore
|
|
51 |
end_block
|
|
52 |
|
|
53 |
save
|
|
54 |
translate 110 0
|
|
55 |
save
|
|
56 |
setRenderHint Antialiasing
|
|
57 |
repeat_block drawing
|
|
58 |
restore
|
|
59 |
|
|
60 |
setBrush dome_rgb32.png
|
|
61 |
setPen brush 0
|
|
62 |
setBrush nobrush
|
|
63 |
|
|
64 |
translate 110 0
|
|
65 |
repeat_block drawing
|
|
66 |
|
|
67 |
translate 110 0
|
|
68 |
save
|
|
69 |
setRenderHint Antialiasing
|
|
70 |
repeat_block drawing
|
|
71 |
restore
|
|
72 |
restore
|
|
73 |
|
|
74 |
translate 0 0
|
|
75 |
|
|
76 |
save
|
|
77 |
repeat_block setup_gradient
|
|
78 |
setPen brush 5
|
|
79 |
setBrush nobrush
|
|
80 |
translate 0 350
|
|
81 |
repeat_block drawing
|
|
82 |
|
|
83 |
translate 110 0
|
|
84 |
save
|
|
85 |
setRenderHint Antialiasing
|
|
86 |
repeat_block drawing
|
|
87 |
restore
|
|
88 |
|
|
89 |
setBrush dome_rgb32.png
|
|
90 |
setPen brush 5
|
|
91 |
setBrush nobrush
|
|
92 |
|
|
93 |
translate 110 0
|
|
94 |
repeat_block drawing
|
|
95 |
|
|
96 |
translate 110 0
|
|
97 |
save
|
|
98 |
setRenderHint Antialiasing
|
|
99 |
repeat_block drawing
|
|
100 |
restore
|
|
101 |
restore
|