qt5base-lts/tests/auto/other/lancelot/scripts/linedashes2.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

154 lines
2.3 KiB
Plaintext

# Version: 1
# CheckVsReference: 5% (0 0 800 800)
translate -30 10
setPen 0xffff0000 0 dashline squarecap
pen_setDashPattern [10 5]
save
translate 100 100
begin_block lines
drawLine 100 100 200 100
drawLine 100 100 200 200
drawLine 100 100 100 200
end_block
setPen 0xffff0000 2 dashline squarecap
translate 150 0
repeat_block lines
restore
save
save
begin_block horizontal
drawLine 0 0 50 0
drawLine 3 10 53 10
drawLine 6 20 56 20
drawLine 9 30 59 30
translate 0 50
drawLine 0 0 50 5
drawLine 3 10 53 15
drawLine 6 20 56 25
drawLine 9 30 59 35
translate 0 50
drawLine 0 0 50 -5
drawLine 3 10 53 5
drawLine 6 20 56 15
drawLine 9 30 59 25
end_block
restore
save
translate 80 0
repeat_block horizontal
restore
save
translate 800 0
repeat_block horizontal
restore
translate 180 -40
save
begin_block vertical
drawLine 0 0 0 50
drawLine 10 3 10 53
drawLine 20 6 20 56
drawLine 30 9 30 59
translate 50 0
drawLine 0 0 5 50
drawLine 10 3 15 53
drawLine 20 6 25 56
drawLine 30 9 35 59
translate 50 0
drawLine 0 0 -5 50
drawLine 10 3 5 53
drawLine 20 6 15 56
drawLine 30 9 25 59
end_block
restore
save
translate 0 80
repeat_block vertical
restore
translate 0 800
repeat_block vertical
restore
translate 0 200
setPen 0xffff0000 2 dashline squarecap
save
repeat_block horizontal
restore
save
translate 80 0
repeat_block horizontal
restore
save
translate 780 0
repeat_block horizontal
restore
translate 360 -240
save
repeat_block vertical
restore
save
translate 0 80
repeat_block vertical
restore
translate 0 780
repeat_block vertical
resetMatrix
translate 40 400
setPen 0xffff0000 5 dashdotline flatcap
pen_setDashPattern [1 1 4 1 1 4]
pen_setDashOffset -4
drawLine 0 0 300 0
translate 0 8
pen_setDashOffset -2
drawLine 0 0 300 0
translate 0 8
pen_setDashOffset 0
drawLine 0 0 300 0
translate 0 8
pen_setDashOffset 2
drawLine 0 0 300 0
translate 0 8
pen_setDashOffset 4
drawLine 0 0 300 0
translate 0 8
pen_setDashOffset 6
drawLine 0 0 300 0
translate 0 8
pen_setDashOffset 8
drawLine 0 0 300 0
translate 0 8
pen_setDashOffset 10
drawLine 0 0 300 0
translate 0 8
pen_setDashOffset 12
drawLine 0 0 300 0
translate 0 8
pen_setDashOffset 14
drawLine 0 0 300 0
translate 0 8
pen_setDashOffset 16
drawLine 0 0 300 0
resetMatrix
setPen black 3 dashdotline
pen_setCosmetic true
translate 0 -150
drawLine 500 160 500 410