qt5base-lts/tests/auto/other/lancelot/scripts/arcs2.qps
Eirik Aavitsland 03fd8fa463 Further tune curveThreshold setting based on strokeWidth
ad9698713f reduced the curvethreshold
for wide lines, to fix QTBUG-46151. But as a side effect, the
threshold was increased for lines of widths >=0 and <4.  This commit
fixes that, and also adds a lance test for the issue in QTBUG-46151.

Change-Id: I52507db622435fe1d2646640cb0bd9cd8222e453
Reviewed-by: Gunnar Sletta <gunnar@sletta.org>
2015-06-22 08:19:57 +00:00

55 lines
1.3 KiB
Plaintext

# Version: 1
# CheckVsReference: 5
drawArc 100 100 100 100 0 1440
drawArc 100 100 100 100 1440 1440
drawArc 100 100 100 100 2880 1440
drawArc 100 100 100 100 4320 1440
drawArc 100 200 100 100 0 -1440
drawArc 100 200 100 100 -1440 -1440
drawArc 100 200 100 100 -2880 -1440
drawArc 100 200 100 100 -4320 -1440
drawArc 200 100 100 100 720 1440
drawArc 200 100 100 100 2160 1440
drawArc 200 100 100 100 3600 1440
drawArc 200 100 100 100 5040 1440
drawArc 200 200 100 100 -720 -1440
drawArc 200 200 100 100 -2160 -1440
drawArc 200 200 100 100 -3600 -1440
drawArc 200 200 100 100 -5040 -1440
drawArc 300 100 100 100 3840 480
drawArc 300 200 100 100 -3840 -480
drawArc 300 100 100 100 1600 1340
setPen black
drawArc 400 100 200 200 0 5760
setPen white
drawArc 400 100 200 200 960 960
drawArc 400 100 200 200 2880 960
drawArc 400 100 200 200 4800 960
setPen black
drawArc 100 350 300 300 160 5760
drawArc 100 350 300 300 320 5760
drawArc 100 350 300 300 1920 5760
drawArc 100 350 300 300 2080 5760
drawArc 100 350 300 300 3680 5760
drawArc 100 350 300 300 3840 5760
drawArc 100 350 300 300 5440 5760
drawArc 100 350 300 300 5600 5760
setPen white
drawArc 100 350 300 300 0 5760
translate 400 300
setRenderHint Antialiasing true
setPen blue 40
drawArc 100 100 200 200 0 4320
setPen red 40
drawArc 60 60 280 280 0 4320