mirror of https://github.com/CGAL/cgal
Throw QRectF::normalized() in as I don't understand what top left and bottom right means for Qt
This commit is contained in:
parent
7c0663125c
commit
6b5efe3b9f
|
|
@ -105,7 +105,7 @@ public:
|
||||||
|
|
||||||
QRectF operator()(const CGAL_Iso_rectangle_2& r) const
|
QRectF operator()(const CGAL_Iso_rectangle_2& r) const
|
||||||
{
|
{
|
||||||
return QRectF(operator()(r[3]), operator()(r[1])); // top left, bottom right
|
return QRectF(operator()(r[3]), operator()(r[1])).normalized(); // top left, bottom right
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue