Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.12.5, 5.13.2, 5.14.0 Alpha
-
None
Description
If only scaling, QTransform::mapRect(QRect) rounds x1 and width, while mapRect(QRectF).toRect() in effect rounds x1 and x2. This can give a one pixel difference in resulting width and/or height.
Possibly risky to change in Qt 5, but should at least be doable for Qt 6.
Attachments
Issue Links
- resulted in
-
QTBUG-78962 setClipRect misbehavior for hi-dpi scaling with QRect overload vs. QRectF overload
- Closed