summaryrefslogtreecommitdiffstats
path: root/tests/arthur/data/qps/alphas.qps
blob: 2f72d56203e545b6c2d00d34bc4882b28f1bc083 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# Background --[ start ]---------------
setPen NoPen

# Red alpha rect
setBrush #7fff0000
drawRect 0 0 200 900
drawRect 400 0 200 900

# Blue alpha rect
setBrush #7f0000ff
drawRect 200 0 200 900
drawRect 600 0 200 900



# Normal ----------------------------------------
setBrush #ffff00ff
setPen #ff00ff00 8 SolidLine flatcap miterjoin

path_moveTo star 100 510
path_lineTo star 30 590
path_lineTo star 180 530
path_lineTo star 20 530
path_lineTo star 170 590

begin_block allItems
drawLine 0 10 200 10
drawRect 10 50 180 40
drawEllipse 50 150 100 50
drawPolygon [ 10 230 50 210 50 280 100 280 150 230 180 280] winding
drawPolyline [ 85 380 50 310 50 360 100 360 150 310 180 360]
drawRoundRect 10 400 80 100 100 100
drawRoundRect 110 400 80 100 50 50
drawPath star

drawPixmap solid.png 10 600 50 50
drawPixmap alpha.png 10 675 50 50
drawPixmap masked.png 10 750 50 50
drawTiledPixmap solid.png  110 600 80 75 80 90
drawTiledPixmap alpha.png  110 675 80 75 80 90
drawTiledPixmap masked.png 110 750 80 75 80 90
end_block


# Normal 2nd Quad -------------------------------
setBrush #ffff00ff
setPen #ff00ff00 10 SolidLine roundcap roundjoin
translate 200 0
repeat_block allItems


# Alpha -----------------------------------------
setBrush #80ff00ff
setPen #8000ff00 10 SolidLine flatcap miterjoin
translate 200 0
repeat_block allItems


# Alpha 2nd Quad --------------------------------
setBrush #80ff00ff
setPen #8000ff00 10 SolidLine roundcap roundjoin
translate 200 0
repeat_block allItems