path: root/src/tools/qdbusxml2cpp
diff options
authorDaniel Teske <>2016-11-22 10:39:26 +0100
committerMorten Johan Sørvig <>2017-03-28 05:23:53 +0000
commit3398d9d40cb0dae2dc2a1a4f7dc3b4b9cceae903 (patch)
treebc16fcbf89cbc9cee847269fabcfac95adfc1465 /src/tools/qdbusxml2cpp
parent9292ea17a0fc62406ba751e1c0cca462b373e7ae (diff)
Fix clipping of graphics effects in high dpi mode
Consider this pseudo code: setSystemClip(region); setSystemTransform( scale 2x ); setSystemTransform( scale 2x ); The second call to setSystemTransform should be a noop. Yet, with the current code in setSystemTransform, the region would be scaled twice by 2x and thus the clipping would be incorrect. Fix that by saving the original untransformed clip and in setSystemTransform recalculate the effective transform. This is also a better fix for QTBUG-44067 / sha: 083a945c166b325298a43ba591b1338d1b0f99b6, since with this patch the order in which system clip, viewport and transform are set does no longer matter. Task-number: QTBUG-57257 Task-number: QTBUG-55698 Change-Id: Ibc232822e97ab116f7173a0cc50bba5a367619d8 Reviewed-by: Qt CI Bot <> Reviewed-by: Morten Johan Sørvig <>
Diffstat (limited to 'src/tools/qdbusxml2cpp')
0 files changed, 0 insertions, 0 deletions