e8f93e38de
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>
179 lines
2.8 KiB
Plaintext
179 lines
2.8 KiB
Plaintext
# Version: 1
|
|
# CheckVsReference: 5%
|
|
|
|
translate 10 20
|
|
drawText 0 0 "Thin lines"
|
|
|
|
translate 60 70
|
|
|
|
save
|
|
begin_block lines
|
|
translate 0 -60
|
|
translate 0 5
|
|
setPen 0x000000 0.05
|
|
drawLine -60 -2 60 2
|
|
translate 0 5
|
|
setPen 0x000000 0.1
|
|
drawLine -60 -2 60 2
|
|
translate 0 5
|
|
setPen 0x000000 0.15
|
|
drawLine -60 -2 60 2
|
|
translate 0 5
|
|
setPen 0x000000 0.2
|
|
drawLine -60 -2 60 2
|
|
translate 0 5
|
|
setPen 0x000000 0.25
|
|
drawLine -60 -2 60 2
|
|
translate 0 5
|
|
setPen 0x000000 0.3
|
|
drawLine -60 -2 60 2
|
|
translate 0 5
|
|
setPen 0x000000 0.35
|
|
drawLine -60 -2 60 2
|
|
translate 0 5
|
|
setPen 0x000000 0.2
|
|
drawLine -60 -2 60 2
|
|
translate 0 5
|
|
setPen 0x000000 0.25
|
|
drawLine -60 -2 60 2
|
|
translate 0 5
|
|
setPen 0x000000 0.5
|
|
drawLine -60 -2 60 2
|
|
translate 0 5
|
|
setPen 0x000000 0.55
|
|
drawLine -60 -2 60 2
|
|
translate 0 5
|
|
setPen 0x000000 0.6
|
|
drawLine -60 -2 60 2
|
|
translate 0 5
|
|
setPen 0x000000 0.65
|
|
drawLine -60 -2 60 2
|
|
translate 0 5
|
|
setPen 0x000000 0.7
|
|
drawLine -60 -2 60 2
|
|
translate 0 5
|
|
setPen 0x000000 0.75
|
|
drawLine -60 -2 60 2
|
|
translate 0 5
|
|
setPen 0x000000 0.8
|
|
drawLine -60 -2 60 2
|
|
translate 0 5
|
|
setPen 0x000000 0.85
|
|
drawLine -60 -2 60 2
|
|
translate 0 5
|
|
setPen 0x000000 0.9
|
|
drawLine -60 -2 60 2
|
|
translate 0 5
|
|
setPen 0x000000 0.95
|
|
drawLine -60 -2 60 2
|
|
translate 0 5
|
|
setPen 0x000000 1
|
|
drawLine -60 -2 60 2
|
|
translate 0 5
|
|
setPen 0x000000 1.05
|
|
drawLine -60 -2 60 2
|
|
translate 0 5
|
|
setPen 0x000000 1.1
|
|
drawLine -60 -2 60 2
|
|
translate 0 5
|
|
setPen 0x000000 1.15
|
|
drawLine -60 -2 60 2
|
|
translate 0 5
|
|
setPen 0x000000 1.2
|
|
drawLine -60 -2 60 2
|
|
translate 0 5
|
|
setPen 0x000000 1.25
|
|
drawLine -60 -2 60 2
|
|
translate 0 5
|
|
setPen 0x000000 1.3
|
|
drawLine -60 -2 60 2
|
|
translate 0 5
|
|
setPen 0x000000 1.35
|
|
drawLine -60 -2 60 2
|
|
translate 0 5
|
|
setPen 0x000000 1.2
|
|
drawLine -60 -2 60 2
|
|
translate 0 5
|
|
setPen 0x000000 1.25
|
|
drawLine -60 -2 60 2
|
|
translate 0 5
|
|
setPen 0x000000 1.5
|
|
drawLine -60 -2 60 2
|
|
translate 0 5
|
|
setPen 0x000000 1.55
|
|
drawLine -60 -2 60 2
|
|
translate 0 5
|
|
setPen 0x000000 1.6
|
|
drawLine -60 -2 60 2
|
|
translate 0 5
|
|
setPen 0x000000 1.65
|
|
drawLine -60 -2 60 2
|
|
translate 0 5
|
|
setPen 0x000000 1.7
|
|
drawLine -60 -2 60 2
|
|
translate 0 5
|
|
setPen 0x000000 1.75
|
|
drawLine -60 -2 60 2
|
|
translate 0 5
|
|
setPen 0x000000 1.8
|
|
drawLine -60 -2 60 2
|
|
translate 0 5
|
|
setPen 0x000000 1.85
|
|
drawLine -60 -2 60 2
|
|
translate 0 5
|
|
setPen 0x000000 1.9
|
|
drawLine -60 -2 60 2
|
|
translate 0 5
|
|
setPen 0x000000 1.95
|
|
drawLine -60 -2 60 2
|
|
translate 0 5
|
|
setPen 0x000000 2
|
|
drawLine -60 -2 60 2
|
|
end_block
|
|
restore
|
|
|
|
save
|
|
translate 150 0
|
|
scale -1 1
|
|
repeat_block lines
|
|
restore
|
|
|
|
save
|
|
translate 80 220
|
|
rotate 90
|
|
repeat_block lines
|
|
restore
|
|
|
|
save
|
|
translate 80 370
|
|
rotate 90
|
|
scale -1 1
|
|
repeat_block lines
|
|
restore
|
|
|
|
setRenderHint Antialiasing
|
|
|
|
translate 300 0
|
|
|
|
save
|
|
repeat_block lines
|
|
restore
|
|
|
|
save
|
|
translate 150 0
|
|
scale -1 1
|
|
repeat_block lines
|
|
restore
|
|
|
|
save
|
|
translate 80 220
|
|
rotate 90
|
|
repeat_block lines
|
|
restore
|
|
|
|
save
|
|
translate 80 370
|
|
rotate 90
|
|
scale -1 1
|
|
repeat_block lines
|
|
restore |