diff options
author | Eirik Aavitsland <[email protected]> | 2024-04-07 13:32:13 +0200 |
---|---|---|
committer | Eirik Aavitsland <[email protected]> | 2024-04-11 07:10:47 +0200 |
commit | ad9b9a60de363e902ed51b8d4c0f90f1d432d3d0 (patch) | |
tree | 9ab5f0d4f7a0bc3abcf48c8fcaa5fdf4696c8b83 /src/quick/items/qquickpainteditem.cpp | |
parent | 34d8cedb67f286d2c9a78e6a6587f062ebe6af48 (diff) |
Software backend: fix PaintedItem smooth xform
When a transform is applied to a QQuickPaintedItem, its 'smooth'
property should determine whether the transform is done with
antialising or not. This worked as expected with the default (rhi)
backend, but not with the software backend.
Since transforms do not cause item repaint, but are used when painting
the item's earlier painted and cached pixmap, the antialiasing is
determined not by QPainter's Antialiasing render hint, but by the
SmoothPixmapTransformation hint.
Fix by applying that hint according to the 'smooth' property value.
Fixes: QTBUG-124163
Pick-to: 6.7
Change-Id: I7cc4e97ca768aa37f633e59d73796918f520f542
Reviewed-by: Andy Nichols <[email protected]>
Reviewed-by: Qt CI Bot <[email protected]>
Diffstat (limited to 'src/quick/items/qquickpainteditem.cpp')
0 files changed, 0 insertions, 0 deletions