+ //! Constructs a Rect from 2 Point objects
+ /*!
+ @param location The point defining the top left corner of the rectangle
+ @param size The width and height of the rectangle
+ */
+ inline Rect(const Point &location, const Point &size)
+ : _x1(location.x()), _y1(location.y()),
+ _x2(size.x() + location.x() - 1), _y2(size.y() + location.y() - 1) { }