0
|
1 |
|
|
2 |
surface_begin 0 0 600 600
|
|
3 |
translate 0 50
|
|
4 |
|
|
5 |
setPen nopen
|
|
6 |
setBrush 0x7f000000
|
|
7 |
gradient_clearStops
|
|
8 |
gradient_appendStop 0 red
|
|
9 |
gradient_appendStop 0.25 orange
|
|
10 |
gradient_appendStop 0.5 yellow
|
|
11 |
gradient_appendStop 0.8 green
|
|
12 |
gradient_appendStop 1 cyan
|
|
13 |
|
|
14 |
gradient_setSpread PadSpread
|
|
15 |
gradient_setRadial 20 20 220 200
|
|
16 |
|
|
17 |
drawEllipse 10 10 80 80
|
|
18 |
drawEllipse 50 50 120 90
|
|
19 |
|
|
20 |
translate 100 0
|
|
21 |
brushTranslate 40 20
|
|
22 |
brushScale 0.25 0.25
|
|
23 |
|
|
24 |
setPen black
|
|
25 |
|
|
26 |
drawEllipse 10 10 80 80
|
|
27 |
setOpacity 0.5
|
|
28 |
setCompositionMode SourceIn
|
|
29 |
drawEllipse 50 50 120 90
|
|
30 |
setOpacity 1.0
|
|
31 |
setRenderHint Antialiasing
|
|
32 |
setCompositionMode Xor
|
|
33 |
brushTranslate 70 0
|
|
34 |
translate 100 0
|
|
35 |
drawEllipse 10 10 80 80
|
|
36 |
|
|
37 |
setPen nopen
|
|
38 |
drawEllipse 50 50 120 90
|
|
39 |
|
|
40 |
setOpacity 0.7
|
|
41 |
setBrush red
|
|
42 |
translate 100 0
|
|
43 |
setCompositionMode SourceOver
|
|
44 |
|
|
45 |
drawEllipse 10 10 80 80
|
|
46 |
|
|
47 |
setOpacity 0.6
|
|
48 |
setPen black 5.0
|
|
49 |
gradient_clearStops
|
|
50 |
gradient_appendStop 0 red
|
|
51 |
gradient_appendStop 0.25 orange
|
|
52 |
gradient_appendStop 0.5 yellow
|
|
53 |
gradient_appendStop 0.8 green
|
|
54 |
gradient_appendStop 1 cyan
|
|
55 |
|
|
56 |
gradient_setSpread PadSpread
|
|
57 |
gradient_setLinear 20 20 120 100
|
|
58 |
drawEllipse 50 50 120 90
|
|
59 |
|
|
60 |
|
|
61 |
translate 100 0
|
|
62 |
|
|
63 |
setOpacity 1.0
|
|
64 |
drawEllipse 10 10 80 80
|
|
65 |
|
|
66 |
setCompositionMode SourceIn
|
|
67 |
setOpacity 0.7
|
|
68 |
setPen black 3.0
|
|
69 |
gradient_clearStops
|
|
70 |
gradient_appendStop 0 red
|
|
71 |
gradient_appendStop 0.25 orange
|
|
72 |
gradient_appendStop 0.5 yellow
|
|
73 |
gradient_appendStop 0.8 green
|
|
74 |
gradient_appendStop 1 cyan
|
|
75 |
|
|
76 |
gradient_setSpread PadSpread
|
|
77 |
gradient_setLinear 50 50 80 90
|
|
78 |
drawEllipse 50 50 120 90
|
|
79 |
|
|
80 |
surface_end
|
|
81 |
|
|
82 |
drawText 200 220 "Testing Ellipse drawing with varios combinations"
|
|
83 |
drawText 200 240 "of features such as brushes, pens and composition modes"
|