summaryrefslogtreecommitdiffstats
path: root/tests/arthur/data/qps/images2.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/images2.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/images2.qps')
-rw-r--r--tests/arthur/data/qps/images2.qps143
1 files changed, 0 insertions, 143 deletions
diff --git a/tests/arthur/data/qps/images2.qps b/tests/arthur/data/qps/images2.qps
deleted file mode 100644
index a4df446f64..0000000000
--- a/tests/arthur/data/qps/images2.qps
+++ /dev/null
@@ -1,143 +0,0 @@
-image_load dome_argb32.png the_image
-begin_block draw_stuff
-
-save
- # standard draw
- drawImage the_image 0 0
-
- # flip x
- translate 220 0
- scale -1 1
- drawImage the_image 0 0
- scale -1 1
-
- # flip y
- translate 20 100
- scale 1 -1
- drawImage the_image 0 0
- scale 1 -1
-
- # flip x and y
- translate 220 0
- scale -1 -1
- drawImage the_image 0 0
- scale -1 -1
-
- # flip y and scale
- translate 20 10
- save
- scale 1 -1.1
- drawImage the_image 0 0
- restore
-
- # flip y and scale
- translate 220 -110
- save
- scale -1.1 0.9
- drawImage the_image 0 0
- restore
-restore
-end_block
-
-setRenderHint Antialiasing
-
-resetMatrix
-translate 0 120
-repeat_block draw_stuff
-
-resetMatrix
-translate 720 60
-setPen black
-drawText 0 0 "aliased"
-translate 0 120
-drawText 0 0 "antialiased"
-resetMatrix
-translate 0 260
-drawText 0 0 "normal"
-translate 120 0
-drawText 0 0 "flip x"
-translate 120 0
-drawText 0 0 "flip y"
-translate 120 0
-drawText 0 0 "flip x and y"
-translate 120 0
-drawText 0 0 "flip y and scale"
-translate 120 0
-drawText 0 0 "flip x and scale"
-translate 120 0
-
-setRenderHint SmoothPixmapTransform
-
-resetMatrix
-translate 20 300
-drawImage border.png 0 0 100 100 1 1 8 8
-drawText 0 -5 "subrect color bleeding"
-translate 0 120
-drawImage border.png 0 0 100 100 0 0 10 10
-
-image_load sign.png the_image
-resetMatrix
-drawText 240 300 "drawImage() with varying sx/sy offsets"
-translate 0 10
-drawRect 240 300 50 50
-drawImage the_image 240 300 50 50 20 0 80 80
-drawRect 300 300 50 50
-drawImage the_image 300 300 50 50 -20 0 80 80
-drawRect 240 370 50 50
-drawImage the_image 240 370 50 50 0 20 80 80
-drawRect 300 370 50 50
-drawImage the_image 300 370 50 50 0 -20 80 80
-
-pixmap_load sign.png the_pixmap
-translate 220 0
-translate 0 -10
-drawText 240 300 "drawPixmap() with varying sx/sy offsets"
-translate 0 10
-drawRect 240 300 50 50
-drawPixmap the_pixmap 240 300 50 50 20 0 80 80
-drawRect 300 300 50 50
-drawPixmap the_pixmap 300 300 50 50 -20 0 80 80
-drawRect 240 370 50 50
-drawPixmap the_pixmap 240 370 50 50 0 20 80 80
-drawRect 300 370 50 50
-drawPixmap the_pixmap 300 370 50 50 0 -20 80 80
-
-
-resetMatrix
-translate 0 170
-drawText 240 300 "drawImage() with varying sx/sy offsets"
-translate 0 10
-drawRect 240 300 50 50
-drawImage the_image 240 300 50 50 50 0 50 50
-drawRect 300 300 50 50
-drawImage the_image 300 300 50 50 -20 0 50 50
-drawRect 240 370 50 50
-drawImage the_image 240 370 50 50 0 50 50 50
-drawRect 300 370 50 50
-drawImage the_image 300 370 50 50 0 -20 50 50
-
-resetMatrix
-translate 220 170
-drawText 240 300 "drawPixmap() with varying sx/sy offsets"
-translate 0 10
-drawRect 240 300 50 50
-drawPixmap the_pixmap 240 300 50 50 50 0 50 50
-drawRect 300 300 50 50
-drawPixmap the_pixmap 300 300 50 50 -20 0 50 50
-drawRect 240 370 50 50
-drawPixmap the_pixmap 240 370 50 50 0 50 50 50
-drawRect 300 370 50 50
-drawPixmap the_pixmap 300 370 50 50 0 -20 50 50
-
-resetMatrix
-drawText 10 620 "drawImage/Pixmap() with negative x/y and sx/sy"
-setPen red
-
-translate 20 640
-drawImage the_image -10 -10 -1 -1 -10 -10 0 0
-drawRect 0 0 80 80
-
-translate 100 0
-drawPixmap the_pixmap -10 -10 -1 -1 -10 -10 0 0
-drawRect 0 0 80 80
-