summaryrefslogtreecommitdiffstats
path: root/tests/arthur/data/qps/alphas.qps
diff options
context:
space:
mode:
authorQt by Nokia <qt-info@nokia.com>2011-04-27 12:05:43 +0200
committeraxis <qt-info@nokia.com>2011-04-27 12:05:43 +0200
commit38be0d13830efd2d98281c645c3a60afe05ffece (patch)
tree6ea73f3ec77f7d153333779883e8120f82820abe /tests/arthur/data/qps/alphas.qps
Initial import from the monolithic Qt.
This is the beginning of revision history for this module. If you want to look at revision history older than this, please refer to the Qt Git wiki for how to use Git history grafting. At the time of writing, this wiki is located here: http://qt.gitorious.org/qt/pages/GitIntroductionWithQt If you have already performed the grafting and you don't see any history beyond this commit, try running "git log" with the "--follow" argument. Branched from the monolithic repo, Qt master branch, at commit 896db169ea224deb96c59ce8af800d019de63f12
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 0000000000..2f72d56203
--- /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