qt5base-lts/tests/auto/lancelot/scripts/dashes.qps
Qt by Nokia 38be0d1383 Initial import from the monolithic Qt.
This is the beginning of revision history for this module. If you
want to look at revision history older than this, please refer to the
Qt Git wiki for how to use Git history grafting. At the time of
writing, this wiki is located here:

http://qt.gitorious.org/qt/pages/GitIntroductionWithQt

If you have already performed the grafting and you don't see any
history beyond this commit, try running "git log" with the "--follow"
argument.

Branched from the monolithic repo, Qt master branch, at commit
896db169ea224deb96c59ce8af800d019de63f12
2011-04-27 12:05:43 +02:00

268 lines
7.5 KiB
Plaintext

# Version: 1
# CheckVsReference: 5%
translate 20 20
begin_block draw
save
save
setPen black 1 SolidLine FlatCap BevelJoin
drawPolyline [0 0 80 0 80 30 40 20 0 30]
translate 0 40
setPen black 1 SolidLine SquareCap BevelJoin
drawPolyline [0 0 80 0 80 30 40 20 0 30]
translate 0 40
setPen black 1 SolidLine RoundCap BevelJoin
drawPolyline [0 0 80 0 80 30 40 20 0 30]
translate 0 40
setPen black 2 SolidLine FlatCap BevelJoin
drawPolyline [0 0 80 0 80 30 40 20 0 30]
translate 0 40
setPen black 2 SolidLine SquareCap BevelJoin
drawPolyline [0 0 80 0 80 30 40 20 0 30]
translate 0 40
setPen black 2 SolidLine RoundCap BevelJoin
drawPolyline [0 0 80 0 80 30 40 20 0 30]
translate 0 40
setPen black 6 SolidLine FlatCap BevelJoin
drawPolyline [0 0 80 0 80 30 40 20 0 30]
translate 0 40
setPen black 6 SolidLine SquareCap BevelJoin
drawPolyline [0 0 80 0 80 30 40 20 0 30]
translate 0 40
setPen black 6 SolidLine RoundCap BevelJoin
drawPolyline [0 0 80 0 80 30 40 20 0 30]
translate 0 40
restore
translate 100 0
save
setPen black 1 DotLine FlatCap BevelJoin
drawPolyline [0 0 80 0 80 30 40 20 0 30]
translate 0 40
setPen black 1 DotLine SquareCap BevelJoin
drawPolyline [0 0 80 0 80 30 40 20 0 30]
translate 0 40
setPen black 1 DotLine RoundCap BevelJoin
drawPolyline [0 0 80 0 80 30 40 20 0 30]
translate 0 40
setPen black 2 DotLine FlatCap BevelJoin
drawPolyline [0 0 80 0 80 30 40 20 0 30]
translate 0 40
setPen black 2 DotLine SquareCap BevelJoin
drawPolyline [0 0 80 0 80 30 40 20 0 30]
translate 0 40
setPen black 2 DotLine RoundCap BevelJoin
drawPolyline [0 0 80 0 80 30 40 20 0 30]
translate 0 40
setPen black 6 DotLine FlatCap BevelJoin
drawPolyline [0 0 80 0 80 30 40 20 0 30]
translate 0 40
setPen black 6 DotLine SquareCap BevelJoin
drawPolyline [0 0 80 0 80 30 40 20 0 30]
translate 0 40
setPen black 6 DotLine RoundCap BevelJoin
drawPolyline [0 0 80 0 80 30 40 20 0 30]
translate 0 40
restore
translate 100 0
save
setPen black 1 DashLine FlatCap BevelJoin
drawPolyline [0 0 80 0 80 30 40 20 0 30]
translate 0 40
setPen black 1 DashLine SquareCap BevelJoin
drawPolyline [0 0 80 0 80 30 40 20 0 30]
translate 0 40
setPen black 1 DashLine RoundCap BevelJoin
drawPolyline [0 0 80 0 80 30 40 20 0 30]
translate 0 40
setPen black 2 DashLine FlatCap BevelJoin
drawPolyline [0 0 80 0 80 30 40 20 0 30]
translate 0 40
setPen black 2 DashLine SquareCap BevelJoin
drawPolyline [0 0 80 0 80 30 40 20 0 30]
translate 0 40
setPen black 2 DashLine RoundCap BevelJoin
drawPolyline [0 0 80 0 80 30 40 20 0 30]
translate 0 40
setPen black 6 DashLine FlatCap BevelJoin
drawPolyline [0 0 80 0 80 30 40 20 0 30]
translate 0 40
setPen black 6 DashLine SquareCap BevelJoin
drawPolyline [0 0 80 0 80 30 40 20 0 30]
translate 0 40
setPen black 6 DashLine RoundCap BevelJoin
drawPolyline [0 0 80 0 80 30 40 20 0 30]
translate 0 40
restore
translate 100 0
save
setPen black 1 DashDotLine FlatCap BevelJoin
drawPolyline [0 0 80 0 80 30 40 20 0 30]
translate 0 40
setPen black 1 DashDotLine SquareCap BevelJoin
drawPolyline [0 0 80 0 80 30 40 20 0 30]
translate 0 40
setPen black 1 DashDotLine RoundCap BevelJoin
drawPolyline [0 0 80 0 80 30 40 20 0 30]
translate 0 40
setPen black 2 DashDotLine FlatCap BevelJoin
drawPolyline [0 0 80 0 80 30 40 20 0 30]
translate 0 40
setPen black 2 DashDotLine SquareCap BevelJoin
drawPolyline [0 0 80 0 80 30 40 20 0 30]
translate 0 40
setPen black 2 DashDotLine RoundCap BevelJoin
drawPolyline [0 0 80 0 80 30 40 20 0 30]
translate 0 40
setPen black 6 DashDotLine FlatCap BevelJoin
drawPolyline [0 0 80 0 80 30 40 20 0 30]
translate 0 40
setPen black 6 DashDotLine SquareCap BevelJoin
drawPolyline [0 0 80 0 80 30 40 20 0 30]
translate 0 40
setPen black 6 DashDotLine RoundCap BevelJoin
drawPolyline [0 0 80 0 80 30 40 20 0 30]
translate 0 40
restore
translate 100 0
save
setPen black 1 DashDotDotLine FlatCap BevelJoin
drawPolyline [0 0 80 0 80 30 40 20 0 30]
translate 0 40
setPen black 1 DashDotDotLine SquareCap BevelJoin
drawPolyline [0 0 80 0 80 30 40 20 0 30]
translate 0 40
setPen black 1 DashDotDotLine RoundCap BevelJoin
drawPolyline [0 0 80 0 80 30 40 20 0 30]
translate 0 40
setPen black 2 DashDotDotLine FlatCap BevelJoin
drawPolyline [0 0 80 0 80 30 40 20 0 30]
translate 0 40
setPen black 2 DashDotDotLine SquareCap BevelJoin
drawPolyline [0 0 80 0 80 30 40 20 0 30]
translate 0 40
setPen black 2 DashDotDotLine RoundCap BevelJoin
drawPolyline [0 0 80 0 80 30 40 20 0 30]
translate 0 40
setPen black 4 DashDotDotLine FlatCap BevelJoin
drawPolyline [0 0 80 0 80 30 40 20 0 30]
translate 0 40
setPen black 4 DashDotDotLine SquareCap BevelJoin
drawPolyline [0 0 80 0 80 30 40 20 0 30]
translate 0 40
setPen black 4 DashDotDotLine RoundCap BevelJoin
drawPolyline [0 0 80 0 80 30 40 20 0 30]
translate 0 40
restore
translate 100 0
save
setPen black 1 SolidLine FlatCap BevelJoin
pen_setDashPattern [1 4 9 4 27 4]
drawPolyline [0 0 80 0 80 30 40 20 0 30]
translate 0 40
setPen black 1 SolidLine SquareCap BevelJoin
pen_setDashPattern [1 4 9 4 27 4]
drawPolyline [0 0 80 0 80 30 40 20 0 30]
translate 0 40
setPen black 1 SolidLine RoundCap BevelJoin
pen_setDashPattern [1 4 9 4 27 4]
drawPolyline [0 0 80 0 80 30 40 20 0 30]
translate 0 40
setPen black 2 SolidLine FlatCap BevelJoin
pen_setDashPattern [1 4 9 4 27 4]
drawPolyline [0 0 80 0 80 30 40 20 0 30]
translate 0 40
setPen black 2 SolidLine SquareCap BevelJoin
pen_setDashPattern [1 4 9 4 27 4]
drawPolyline [0 0 80 0 80 30 40 20 0 30]
translate 0 40
setPen black 2 SolidLine RoundCap BevelJoin
pen_setDashPattern [1 4 9 4 27 4]
drawPolyline [0 0 80 0 80 30 40 20 0 30]
translate 0 40
setPen black 4 SolidLine FlatCap BevelJoin
pen_setDashPattern [1 4 9 4 27 4]
drawPolyline [0 0 80 0 80 30 40 20 0 30]
translate 0 40
setPen black 4 SolidLine SquareCap BevelJoin
pen_setDashPattern [1 4 9 4 27 4]
drawPolyline [0 0 80 0 80 30 40 20 0 30]
translate 0 40
setPen black 4 SolidLine RoundCap BevelJoin
pen_setDashPattern [1 4 9 4 27 4]
drawPolyline [0 0 80 0 80 30 40 20 0 30]
translate 0 40
restore
restore
end_block
translate 0 400
setRenderHint Antialiasing
repeat_block draw
translate 0 -20
drawText 30 0 "Solid"
translate 100 0
drawText 20 0 "DotLine"
translate 100 0
drawText 10 0 "DashLine"
translate 100 0
drawText 0 0 "DashDotLine"
translate 100 0
drawText 0 0 "DashDotDotLine"
translate 100 0
drawText 0 0 "CustomDashLine"
resetMatrix
translate 620 40
begin_block width_and_caps_texts
drawText 0 0 "Width=1, FlatCap"
translate 0 40
drawText 0 0 "Width=1, SquareCap"
translate 0 40
drawText 0 0 "Width=1, RoundCap"
translate 0 40
drawText 0 0 "Width=2, FlatCap"
translate 0 40
drawText 0 0 "Width=2, SquareCap"
translate 0 40
drawText 0 0 "Width=2, RoundCap"
translate 0 40
drawText 0 0 "Width=6, FlatCap"
translate 0 40
drawText 0 0 "Width=6, SqareCap"
translate 0 40
drawText 0 0 "Width=6, RoundCap"
end_block
translate 0 80
repeat_block width_and_caps_texts