qt6-bb10/tests/baseline/shared
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
..
baselineprotocol.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
baselineprotocol.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
baselineprotocol.pri
lookup3.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
paintcommands.cpp Add painter render hint for brush pattern transformation 2022-05-31 21:20:41 +02:00
paintcommands.h Add painter render hint for brush pattern transformation 2022-05-31 21:20:41 +02:00
qbaselinetest.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qbaselinetest.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qbaselinetest.pri Share common code for baseline-testing widget UIs 2021-11-26 22:40:54 +01:00
qwidgetbaselinetest.cpp Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qwidgetbaselinetest.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00