qt5base-lts/tests/baseline/painting/scripts/degeneratebeziers.qps
Eirik Aavitsland e8f93e38de Rename and restructure the baseline (lancelot) testing code
In preparation for addition of new baseline tests, establish a new
test category, "baseline". This is similar to the category
"benchmarks" in that it contains tests that use the QTest framework,
but conceptually are not unit tests, in contrast to those under auto/.

Move the existing QPainter baseline test, tst_lancelot, into this new
category, and rename it accordingly.

Baseline tests use the QBaselineTest extension to QTest. Move that
extension too into the tests/baseline directory, allowing the clean
out of the baselineserver directory.

Pick-to: 6.2
Change-Id: I1b527f5867c953b1d22be73798fcf7d1494712ea
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2021-11-16 14:01:50 +01:00

48 lines
965 B
Plaintext

# Version: 1
# CheckVsReference: 5%
path_moveTo degenerate 3427.0918499999997948 3872.1318999999998596
path_cubicTo degenerate 3427.0918499999997948 3872.1318999999994048 4729.4590867905308187 5176.8613451144155988 5389.9325499999995372 5837.8072499999998399
scale 0.05 0.05
translate -2500 -3000
setPen black 800
drawPath degenerate
resetMatrix
path_moveTo revbez 0 20
path_cubicTo revbez 0 0 120 0 120 -20
path_moveTo revbez 0 80
path_cubicTo revbez 0 100 120 100 120 120
translate 50 250
setPen blue 40 solidline flatcap
drawPath revbez
setPen red 0
drawPath revbez
translate 200 0
setPen blue 40 solidline squarecap
drawPath revbez
setPen red 0
drawPath revbez
translate 200 0
setPen blue 40 solidline roundcap
drawPath revbez
setPen red 0
drawPath revbez
resetMatrix
path_lineTo tightJoin 60 10
path_cubicTo tightJoin 50 0 100 0 100 50
translate 50 500
setPen green 40 solidline roundcap roundjoin
drawPath tightJoin
setPen red 0
drawPath tightJoin