summaryrefslogtreecommitdiffstats
path: root/tests/arthur/data/qps/conical_gradients.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/conical_gradients.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/conical_gradients.qps')
-rw-r--r--tests/arthur/data/qps/conical_gradients.qps82
1 files changed, 0 insertions, 82 deletions
diff --git a/tests/arthur/data/qps/conical_gradients.qps b/tests/arthur/data/qps/conical_gradients.qps
deleted file mode 100644
index d459ed008d..0000000000
--- a/tests/arthur/data/qps/conical_gradients.qps
+++ /dev/null
@@ -1,82 +0,0 @@
-path_addRect path 300 0 80 80
-path_addEllipse path 340 40 60 60
-
-setRenderHint Antialiasing
-
-setPen black
-
-begin_block gradients
-gradient_clearStops
-gradient_appendStop 0 red
-gradient_appendStop 0.25 orange
-gradient_appendStop 0.5 yellow
-gradient_appendStop 0.8 green
-gradient_appendStop 1 cyan
-
-gradient_setConical 40 40 50
-drawRect 0 0 100 100
-
-gradient_setConical 140 40 230
-drawEllipse 100 0 100 100
-
-gradient_clearStops
-gradient_appendStop 0 3f7f7fff
-gradient_appendStop 0.5 dfdfffff
-gradient_appendStop 1 7f00007f
-
-gradient_setConical 240 40 50
-drawPolygon [200 0 290 0 250 99]
-
-gradient_setConical 340 40 230
-drawPath path
-
-end_block
-
-translate 0 100
-scale 1 2
-repeat_block gradients
-
-resetMatrix
-translate 0 300
-brushTranslate 30 0
-brushScale 0.9 0.9
-brushRotate 20
-repeat_block gradients
-
-# Some helpful info perhaps?
-resetMatrix
-setPen black
-
-drawText 410 50 "No XForm"
-drawText 410 200 "scale 1x2"
-drawText 410 300 "brush transform"
-drawText 10 450 "50 deg"
-drawText 110 450 "230 deg"
-drawText 210 450 "50 deg w/alpha "
-drawText 310 450 "230 deg w/alpha"
-
-setPen 3f000000
-setBrush nobrush
-
-begin_block ellipse_draw
- setClipRect 0 0 100 100
- drawEllipse 35 35 11 11
- save
- translate 40 40
- rotate -50
- drawLine -100 0 100 0
- restore
- translate 100 0
-end_block
-
-repeat_block ellipse_draw
-repeat_block ellipse_draw
-repeat_block ellipse_draw
-
-resetMatrix
-translate 0 100
-scale 1 2
-repeat_block ellipse_draw
-repeat_block ellipse_draw
-repeat_block ellipse_draw
-repeat_block ellipse_draw