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

68 lines
1.3 KiB
Plaintext

# Version: 1
# CheckVsReference: 5
setRenderHint LineAntialiasing
setPen red
drawEllipse 0 0 600 400
path_moveTo arcs 300 200
path_arcTo arcs 0 0 600 400 0 10
path_closeSubpath arcs
path_moveTo arcs 300 200
path_arcTo arcs 0 0 600 400 20 30
path_closeSubpath arcs
path_moveTo arcs 300 200
path_arcTo arcs 0 0 600 400 60 45
path_closeSubpath arcs
path_moveTo arcs 300 200
path_arcTo arcs 0 0 600 400 115 60
path_closeSubpath arcs
path_moveTo arcs 300 200
path_arcTo arcs 0 0 600 400 180 90
path_closeSubpath arcs
path_moveTo arcs 590 200
path_arcTo arcs 10 10 580 380 0 360
path_closeSubpath arcs
path_moveTo arcs 300 200
path_arcTo arcs 20 20 560 360 0 -10
path_closeSubpath arcs
path_moveTo arcs 300 200
path_arcTo arcs 20 20 560 360 -20 -30
path_closeSubpath arcs
path_moveTo arcs 300 200
path_arcTo arcs 20 20 560 360 -60 -45
path_closeSubpath arcs
path_moveTo arcs 300 200
path_arcTo arcs 20 20 560 360 -115 -60
path_closeSubpath arcs
path_moveTo arcs 300 200
path_arcTo arcs 20 20 560 360 -180 -90
path_closeSubpath arcs
setPen black 1 solidline
setBrush #3f00ff00
drawPath arcs
# Then again with a matrix set...
translate 200 400
rotate 10
scale 0.5 0.5
setPen red
setBrush nobrush
drawEllipse 0 0 600 400
setPen black 1 solidline
setBrush #3f0000ff
drawPath arcs