tests/arthur/data/qps/arcs.qps
author Eckhart Koeppen <eckhart.koppen@nokia.com>
Wed, 21 Apr 2010 11:15:19 +0300
branchRCL_3
changeset 11 25a739ee40f4
parent 0 1918ee327afb
permissions -rw-r--r--
3a438a6e0b41f1ef657ef0e648d352db636204aa

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