Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.3
-
None
Description
There is no test coverage for QPolygonF at all, and only limited for QPolygon. Instead mostly it's relied that QPainterPath does the right thing, which it really doesn't for anything but the most trivial case - treating the polygon as a list of points.
A very simple examples are ::intersected and ::united not being symmetric:
QPolygon a(...), b(...); Q_ASSERT(a.intersected(b) == b.intersected(a));
fails.
Attachments
Issue Links
- relates to
-
QTBUG-34487 Wrong result using "QPolygonF united ( const QPolygonF & r ) const"
-
- Reported
-