qt6-bb10/tests/auto/gui/painting
Shawn Rutledge f5000beeb6 Fix QTransform::quadToQuad() to work with QRectF
A typical usage for mapping a 4-point polygon to a rectangle might be

  QTransform transform;
  bool ok = QTransform::quadToQuad(polygon, polygon->boundingRect(),
                                   transform);

It works because the QPolygonF(QRectF) ctor is implicitly called on
the second argument; but that ctor turns it into a 5-point polygon.
So it should be legal for QTransform functions to work with 5-point
closed paths.

Fixes: QTBUG-21329
Change-Id: Iae249012e14b8a3e8d3b0dfa35da8f9759359832
Pick-to: 6.5 5.15
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
(cherry picked from commit 48b1af941c50ab28cc92f9ea65a8a74a32eaf2bc)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
(cherry picked from commit 5ead2a3d63a905ed758390e1558dbac744756077)
2025-01-03 05:52:46 +00:00
..
qbrush Change license for tests files 2024-02-04 09:56:42 +01:00
qcolor Remove extra semi-colons 2024-02-06 20:17:18 +09:00
qcolorspace Fix HDR transfer function image conversions 2024-06-14 00:41:03 +00:00
qcolortransform Fix build with gcc-14 2024-02-14 00:25:55 +00:00
qpagelayout print: Clamp margins entered by the user in the page setup dialog 2024-04-25 14:22:30 +03:00
qpageranges Change license for tests files 2024-02-04 09:56:42 +01:00
qpagesize Change license for tests files 2024-02-04 09:56:42 +01:00
qpaintengine Change license for tests files 2024-02-04 09:56:42 +01:00
qpainter QRadialGradient: Fix crash on huge x values 2024-12-19 05:16:42 +00:00
qpainterpath QPainterPath: detach and reset before streaming in 2024-02-27 03:47:11 +01:00
qpainterpathstroker Change license for tests files 2024-02-04 09:56:42 +01:00
qpathclipper Remove extra semi-colons 2024-02-06 20:17:18 +09:00
qpdfwriter Change license for tests files 2024-02-04 09:56:42 +01:00
qpen Change license for tests files 2024-02-04 09:56:42 +01:00
qpolygon Change license for tests files 2024-02-04 09:56:42 +01:00
qregion QRegion: re-add rects() and port setRects() to QSpan 2024-05-24 04:38:21 +00:00
qtransform Fix QTransform::quadToQuad() to work with QRectF 2025-01-03 05:52:46 +00:00
qwmatrix Get rid of QMatrix 2020-02-28 08:57:57 +01:00
CMakeLists.txt Fix build without PDF 2024-02-25 21:40:47 +00:00