qt5base-lts/tests/baseline/painting
Eirik Aavitsland 5adaa8d868 Add painter render hint for brush pattern transformation
[ChangeLog][QtGui][QPainter] In Qt 5, the predefined brush patterns
would always be transformed along with the object being painted. In Qt
6.0 onwards, they would or would not, depending on the
SmoothPixmapTransformation render hint. Instead of this somewhat
surprising behavior, make the default be untransformed
(i.e. cosmetic), which makes sense when it comes to dpr scaling. For
the cases where one wants scaling, a new render hint is introduced to
enable that: NonCosmeticPatternBrushes.

Change-Id: I2208c7a28af9056d7ab97a529b66bf2d502c3c4f
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
2022-05-31 21:20:41 +02:00
..
images Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
scripts Add painter render hint for brush pattern transformation 2022-05-31 21:20:41 +02:00
.gitignore Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
CMakeLists.txt Baseline: Move the paintcommands code into the shared directory 2022-01-20 22:56:11 +01:00
images.qrc Rename and restructure the baseline (lancelot) testing code 2021-11-16 14:01:50 +01:00
tst_baseline_painting.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00