qt5base-lts/tests/auto/other/lancelot/scripts/background.qps
Jo Asplin 9acec431c3 Moved integrationtests/* into other/
Currently there seems to be no precise definition of what
an integrationtest is in the context of Qt testing.

To avoid confusion, the tests under integrationtests/ are
moved into other/ (which is effectively where we keep
tests that don't clearly fit into any other category).

Tests can be moved back into an integrationtests/ directory
at a later point, should an unambiguous definition be established.

Change-Id: I3bb289be2dc2aca11b51a8ce8fcc5942f06d6c5c
Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
2011-11-30 09:30:22 +01:00

137 lines
2.4 KiB
Plaintext

# Version: 1
# CheckVsReference: 5%
translate 10 30
setBackground 7f7fff
setBackgroundMode Transparent
setPen ff7f7f
path_moveTo path 0 0
path_lineTo path 25 0
path_cubicTo path 50 0 25 25 25 50
path_lineTo path 0 50
bitmap_load bitmap.png bitmap
begin_block drawing
save
drawRect 0 0 50 50
translate 60 0
drawEllipse 0 0 50 50
translate 60 0
drawPolygon [0 0 50 0 25 50 25 25]
translate 60 0
drawPath path
translate 60 0
drawPie 0 0 50 50 1440 2000
translate 60 0
drawChord 0 0 50 50 1440 2000
translate 60 0
drawLine 0 0 50 0
drawLine 0 0 50 50
drawLine 0 0 0 50
translate 60 0
drawPolyline [0 0 50 0 25 50 25 25]
translate 60 0
drawArc 0 0 50 50 1440 2000
translate 60 0
drawText 0 10 "Jambi-Bambi"
translate 80 0
drawPixmap bitmap 0 0
restore
save
setRenderHint Antialiasing
translate 5 55
drawRect 0 0 50 50
translate 60 0
drawEllipse 0 0 50 50
translate 60 0
drawPolygon [0 0 50 0 25 50 25 25]
translate 60 0
drawPath path
translate 60 0
drawPie 0 0 50 50 1440 2000
translate 60 0
drawChord 0 0 50 50 1440 2000
translate 60 0
drawLine 0 0 50 0
drawLine 0 0 50 50
drawLine 0 0 0 50
translate 60 0
drawPolyline [0 0 50 0 25 50 25 25]
translate 60 0
drawArc 0 0 50 50 1440 2000
translate 60 0
drawText 0 10 "Jambi-Bambi"
translate 80 0
drawPixmap bitmap 0 0
restore
end_block
translate 0 160
setBackgroundMode Transparent
setPen ff7f7f 0 dotline flatcap beveljoin
repeat_block drawing
translate 0 160
setBackgroundMode Opaque
setPen ff7f7f 0 dotline flatcap beveljoin
repeat_block drawing
translate 0 160
setBackgroundMode Transparent
setPen ff7f7f 4 dashline flatcap beveljoin
repeat_block drawing
translate 0 160
setBackgroundMode OpaqueMode
setPen ff7f7f 4 dashline flatcap beveljoin
repeat_block drawing
resetMatrix
translate 5 5
setBrush nobrush
setPen black
setBackgroundMode transparent
drawText 10 15 "TransparentMode with solid 0-width pen"
drawRect 0 0 685 135
translate 0 160
drawText 10 15 "TransparentMode with dotted 0-width pen"
drawRect 0 0 685 135
translate 0 160
drawText 10 15 "OpaqueMode with dotted 0-width pen"
drawRect 0 0 685 135
translate 0 160
drawText 10 15 "TransparentMode with dotted 4-width pen"
drawRect 0 0 685 135
translate 0 160
drawText 10 15 "OpaqueMode with solid 4-width pen"
drawRect 0 0 685 135