summaryrefslogtreecommitdiffstats
path: root/examples/corelib/serialization/savegame/main.cpp
diff options
context:
space:
mode:
authorSanthosh Kumar <santhosh.kumar.selvaraj@qt.io>2023-01-30 12:23:28 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-02-08 09:27:17 +0000
commitd14185d33e919a35b9b93ec5bff6b3f630dcfdfe (patch)
tree66da473563ace16e493a78dc33ba92fcf25bfa13 /examples/corelib/serialization/savegame/main.cpp
parente75229addcebfb21d5e0192438c5b7ceeaccede1 (diff)
Avoid multiple transformation of the clip path
The painter saves existing paint engine state in the stack and restore back to the previous state after performing required paint operation. The clip path stored as part of paint engine state is getting translated more than once during save and restore operation. This multiple transformation of the same clip path causes incorrect translation within the plane. To fix this issue, during restore, remove translation of clip path with redirection matrix. Fixes: QTBUG-109518 Change-Id: I1509bc7fa4965f2802bce62c1ed27cdb90da617a Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io> (cherry picked from commit 4e4d37f0472c58ff6c98e9852691b1ccda8beffb) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'examples/corelib/serialization/savegame/main.cpp')
0 files changed, 0 insertions, 0 deletions