Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
4.6.3
-
None
Description
// make square polygon QPolygon polygon; polygon << QPoint(10, 10) << QPoint(-10, 10) << QPoint(-10, -10) << QPoint(10, -10); // both points on the edges QPoint right = QPoint(10, 0); QPoint left = QPoint(-10, 0); // dfferent results Q_ASSERT( polygon.containsPoint(right, Qt::OddEvenFill) == polygon.containsPoint(left, Qt::OddEvenFill) );
Possible related to QTBUG-8720 - but points on the boundary must (or must not, but both) be mathematically in the polygon.