summaryrefslogtreecommitdiffstats
path: root/tests/arthur/data/qps/pixmaps.qps
diff options
context:
space:
mode:
authoraavit <qt-info@nokia.com>2011-06-29 13:24:37 +0200
committerQt by Nokia <qt-info@nokia.com>2011-06-29 15:10:14 +0200
commitbf3c84f718454f84b2ffbfa7fd1c7998bb5b01c2 (patch)
tree22579e69f7c8eb345b7bf9b8a2ed76ec53d417c3 /tests/arthur/data/qps/pixmaps.qps
parent03deed59ba31bd2e5ac1e799e0eb03cd4e8f5e41 (diff)
Cleaning up the QPainter/arthur testing stuff
This removes various remains of historical test tools, and the entire tests/arthur directory. The living parts are now: tests/auto/lancelot - including the suite of qps scripts. The script engine now lives here. tests/baselineserver - moved to toplevel since not arthur-specific. tests/manual/lance - for manual running and editing of qps scripts. Change-Id: I7c7f5df9197f4984a918dd1f9b31f42ee80d6152 Reviewed-on: http://codereview.qt.nokia.com/895 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
Diffstat (limited to 'tests/arthur/data/qps/pixmaps.qps')
-rw-r--r--tests/arthur/data/qps/pixmaps.qps103
1 files changed, 0 insertions, 103 deletions
diff --git a/tests/arthur/data/qps/pixmaps.qps b/tests/arthur/data/qps/pixmaps.qps
deleted file mode 100644
index 65734dd322..0000000000
--- a/tests/arthur/data/qps/pixmaps.qps
+++ /dev/null
@@ -1,103 +0,0 @@
-
-setRenderHint Antialiasing
-
-setPen #00ff00
-
-pixmap_load dome_argb32.png the_pixmap
-begin_block draw_stuff
-
-save
-
- # standard draw
- drawPixmap the_pixmap 0 0
-
- # sub recting
- translate 120 0
- drawPixmap the_pixmap 0 0 40 40 0 0 40 40
- drawPixmap the_pixmap 60 0 40 40 60 0 40 40
- drawPixmap the_pixmap 0 60 40 40 0 60 40 40
- drawPixmap the_pixmap 60 60 40 40 60 60 40 40
- drawPixmap the_pixmap 0 40 40 20 0 40 40 20
- drawPixmap the_pixmap 60 40 40 20 60 40 40 20
- drawPixmap the_pixmap 40 0 20 100 40 0 20 100
-
- # subrecting w/scale
- translate 120 0
- drawPixmap the_pixmap 0 0 50 50 0 0 25 25
- drawPixmap the_pixmap 50 0 50 50 25 0 25 25
- drawPixmap the_pixmap 0 50 50 50 0 25 25 25
- drawPixmap the_pixmap 50 50 50 50 25 25 25 25
-
- # subrecting w/scale & smooth xform
- translate 120 0
- setRenderHint SmoothPixmapTransformation
- drawPixmap the_pixmap 0 0 50 50 0 0 25 25
- drawPixmap the_pixmap 50 0 50 50 25 0 25 25
- drawPixmap the_pixmap 0 50 50 50 0 25 25 25
- drawPixmap the_pixmap 50 50 50 50 25 25 25 25
-
-
- # Rotation w/o smooth xform
- translate 120 0
- save
- setRenderHint SmoothPixmapTransform off
- rotate 10
- drawPixmap the_pixmap 0 0
- restore
-
- # Rotation w smooth xform
- translate 120 0
- save
- setRenderHint SmoothPixmapTransform
- rotate 10
- drawPixmap the_pixmap 0 0
- restore
-
-restore
-
-end_block
-
-
-translate 0 120
-pixmap_load dome_rgb32.png the_pixmap
-repeat_block draw_stuff
-
-translate 0 120
-pixmap_load dome_indexed.png the_pixmap
-repeat_block draw_stuff
-
-translate 0 120
-pixmap_load dome_indexed_mask.png the_pixmap
-repeat_block draw_stuff
-
-translate 0 120
-pixmap_load dome_mono.png the_pixmap
-repeat_block draw_stuff
-
-
-resetMatrix
-translate 700 60
-setPen black
-drawText 0 0 "32 bit w/alpha"
-translate 0 120
-drawText 0 0 "32 bit w/o alpha"
-translate 0 120
-drawText 0 0 "8 bit indexed"
-translate 0 120
-drawText 0 0 "8 bit indexed w/mask"
-translate 0 120
-drawText 0 0 "1 bit"
-resetMatrix
-translate 0 600
-drawText 0 0 "normal"
-translate 120 0
-drawText 0 0 "subrect"
-translate 120 0
-drawText 0 0 "subrect scale"
-translate 120 0
-drawText 0 0 "subrect scale smooth"
-translate 120 0
-drawText 0 0 "xform"
-translate 120 0
-drawText 0 0 "smooth xform"
-translate 120 0