1 #ifndef KANDINSKY_RECT_H 2 #define KANDINSKY_RECT_H 51 return (m_x == other.m_x && m_y == other.m_y
52 && m_width == other.m_width && m_height == other.m_height);
KDRect translatedBy(KDPoint p) const
bool operator==(const KDRect &other) const
bool contains(KDPoint p) const
KDPoint bottomRight() const
constexpr KDRect(KDCoordinate x, KDCoordinate y, KDCoordinate width, KDCoordinate height)
KDRect unionedWith(const KDRect &other) const
KDCoordinate right() const
void setOrigin(KDPoint origin)
KDCoordinate left() const
constexpr KDRect KDRectZero
KDCoordinate width() const
void setSize(KDSize size)
KDRect movedTo(KDPoint p) const
KDRect intersectedWith(const KDRect &other) const
KDCoordinate height() const
bool intersects(const KDRect &other) const
KDCoordinate bottom() const