summaryrefslogtreecommitdiffstats
path: root/tests/arthur/data/qps/alphas.qps
diff options
context:
space:
mode:
Diffstat (limited to 'tests/arthur/data/qps/alphas.qps')
-rw-r--r--tests/arthur/data/qps/alphas.qps63
1 files changed, 63 insertions, 0 deletions
diff --git a/tests/arthur/data/qps/alphas.qps b/tests/arthur/data/qps/alphas.qps
new file mode 100644
index 0000000..2f72d56
--- /dev/null
+++ b/tests/arthur/data/qps/alphas.qps
@@ -0,0 +1,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