blob: 3024c286822eb039c4e2f93940bfbcf234f9ed5e (
plain)
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
|
setRenderHint Antialiasing
setPen black 5
translate 10 10
gradient_clearStops
gradient_appendStop 0 red
gradient_appendStop 0.25 orange
gradient_appendStop 0.5 yellow
gradient_appendStop 0.8 green
gradient_appendStop 1 cyan
gradient_setSpread PadSpread
gradient_setCoordinateMode ObjectBoundingMode
gradient_setLinear 0.2 0.2 0.7 0.7
gradient_setLinearPen 0.0 0.0 0.0 1.0
begin_block objects
drawRect 0 0 100 100
drawEllipse 100 0 100 100
drawRoundRect 200 0 100 100
drawPolygon [300 0 390 0 350 99]
drawPie 400 0 100 100 720 4320
drawLine 510 10 590 90
drawRect 610 0 40 100
drawRect 670 30 100 40
end_block
translate 0 120
repeat_block objects
translate 10 120
rotate 10
repeat_block objects
|