summaryrefslogtreecommitdiffstats
path: root/cmake/QtTestHelpers.cmake
diff options
context:
space:
mode:
authorChen Bin <chenbin@uniontech.com>2021-10-08 14:42:33 +0800
committerChen Bin <chenbin@uniontech.com>2021-10-27 15:07:28 +0800
commit6de36918c03e91933fbfb5bf7b53abbe03edf460 (patch)
tree1dfc2f92184a25d35f474558ffdc804c4dbc7bff /cmake/QtTestHelpers.cmake
parent3d89257ce4b2480ee0c636aefd608b780a81d235 (diff)
Update clipping area when antialiasing changes
Antialiasing is disabled when the painter's antialiasing attribute is set behind the clipping function(example `setClipPath` or `setClipRegion`). The cause of this problem is that the antialiasing state of the clipping region is not updated after the antialiasing attribute is set. A variable is required to record the painter's transformation state set before the clipping function, because the transformation will be applied to the clipping region, resulting in the abnormal clipping region. The value of `s->matrix` is not accurate for the clipping fun- ction. Pick-to: 6.2 Fixes: QTBUG-97269 Change-Id: I409a9db32efc3b991ebb97ec9aed19bbddb273d8 Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
Diffstat (limited to 'cmake/QtTestHelpers.cmake')
0 files changed, 0 insertions, 0 deletions