qt5base-lts/tests/auto/other/lancelot
Eirik Aavitsland f5fe9fc5a4 Add ObjectMode coordinate mode to QGradient
The ObjectBoundingMode coordinate mode of QGradient allows specifying
the gradient coordinates relative to the object being painted. But if
the gradient brush also has a transformation, that transformation is
applied in the logical, not object, coordinate space. That behavior is
counterintuitive. However, changing it now would break existing
code. Instead, we introduce a new coordinate mode enum with the
expected behavior, and document the old one as deprecated.

This prepares to fix the bugs below in qtsvg, by making
it possible to specify the same behavior in Qt as SVG has.

[ChangeLog][QtGui][QGradient] Add ObjectMode coordinate mode
[ChangeLog][Important Behavior Changes] QDataStream version bumped up to 18 to account for changes in the serialization of QGradient.

Task-number: QTBUG-59978
Task-number: QTBUG-67995
Change-Id: I8820a2555359812f3e1a46e37d6ac2cc29a2091d
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
2018-06-22 10:42:33 +00:00
..
images Purge sRGB chunks from PNGs in tests. 2016-03-29 08:39:43 +00:00
scripts Add ObjectMode coordinate mode to QGradient 2018-06-22 10:42:33 +00:00
.gitignore Moved integrationtests/* into other/ 2011-11-30 09:30:22 +01:00
images.qrc Moved integrationtests/* into other/ 2011-11-30 09:30:22 +01:00
lancelot.pro Do not always use argb32pm for subsurfaces 2017-05-31 18:53:57 +00:00
paintcommands.cpp Add ObjectMode coordinate mode to QGradient 2018-06-22 10:42:33 +00:00
paintcommands.h Fix drawTiledPixmap() and texture-brush painting with high-DPR images 2018-04-25 13:39:28 +00:00
tst_lancelot.cpp Fix HDR format in QOpenGLFramebufferObject::toImage() 2018-06-06 10:48:36 +00:00