|
1 # Background --[ start ]--------------- |
|
2 setPen NoPen |
|
3 |
|
4 # Red alpha rect |
|
5 setBrush #7fff0000 |
|
6 drawRect 0 0 200 900 |
|
7 drawRect 400 0 200 900 |
|
8 |
|
9 # Blue alpha rect |
|
10 setBrush #7f0000ff |
|
11 drawRect 200 0 200 900 |
|
12 drawRect 600 0 200 900 |
|
13 |
|
14 |
|
15 |
|
16 # Normal ---------------------------------------- |
|
17 setBrush #ffff00ff |
|
18 setPen #ff00ff00 8 SolidLine flatcap miterjoin |
|
19 |
|
20 path_moveTo star 100 510 |
|
21 path_lineTo star 30 590 |
|
22 path_lineTo star 180 530 |
|
23 path_lineTo star 20 530 |
|
24 path_lineTo star 170 590 |
|
25 |
|
26 begin_block allItems |
|
27 drawLine 0 10 200 10 |
|
28 drawRect 10 50 180 40 |
|
29 drawEllipse 50 150 100 50 |
|
30 drawPolygon [ 10 230 50 210 50 280 100 280 150 230 180 280] winding |
|
31 drawPolyline [ 85 380 50 310 50 360 100 360 150 310 180 360] |
|
32 drawRoundRect 10 400 80 100 100 100 |
|
33 drawRoundRect 110 400 80 100 50 50 |
|
34 drawPath star |
|
35 |
|
36 drawPixmap solid.png 10 600 50 50 |
|
37 drawPixmap alpha.png 10 675 50 50 |
|
38 drawPixmap masked.png 10 750 50 50 |
|
39 drawTiledPixmap solid.png 110 600 80 75 80 90 |
|
40 drawTiledPixmap alpha.png 110 675 80 75 80 90 |
|
41 drawTiledPixmap masked.png 110 750 80 75 80 90 |
|
42 end_block |
|
43 |
|
44 |
|
45 # Normal 2nd Quad ------------------------------- |
|
46 setBrush #ffff00ff |
|
47 setPen #ff00ff00 10 SolidLine roundcap roundjoin |
|
48 translate 200 0 |
|
49 repeat_block allItems |
|
50 |
|
51 |
|
52 # Alpha ----------------------------------------- |
|
53 setBrush #80ff00ff |
|
54 setPen #8000ff00 10 SolidLine flatcap miterjoin |
|
55 translate 200 0 |
|
56 repeat_block allItems |
|
57 |
|
58 |
|
59 # Alpha 2nd Quad -------------------------------- |
|
60 setBrush #80ff00ff |
|
61 setPen #8000ff00 10 SolidLine roundcap roundjoin |
|
62 translate 200 0 |
|
63 repeat_block allItems |