Closed GoogleCodeExporter closed 9 years ago
Rather than limiting the actual data structure so rigourously, please consider
just
adding an isValid() method to the Rectangle class or something. Note that for
Qt's
QRect, a rectangle isn't valid when width or height are 0 either, which means
QRect::isValid() == !QRect::isEmpty().
Original comment by b.lindeijer
on 3 Sep 2008 at 8:06
I'll add functions for checking if a rectangle is empty or valid instead.
Original comment by olof.nae...@gmail.com
on 18 Sep 2008 at 7:42
Original issue reported on code.google.com by
olof.nae...@gmail.com
on 3 Sep 2008 at 2:54