4 m_x(p.x()), m_y(p.y()),
5 m_width(s.width()), m_height(s.height())
11 m_width(s.width()), m_height(s.height())
16 m_x(p.x()), m_y(p.y()),
17 m_width(width), m_height(height)
46 intersectionRight-intersectionLeft+1,
47 intersectionBottom-intersectionTop+1);
57 *outputMin = min(min1, min2);
58 *outputMax = max(max1, max2);
87 &resultLeft, &resultRight,
92 &resultTop, &resultBottom,
99 resultRight-resultLeft+1,
100 resultBottom-resultTop+1
void computeUnionBound(KDCoordinate size1, KDCoordinate size2, KDCoordinate *outputMin, KDCoordinate *outputMax, KDCoordinate min1, KDCoordinate min2, KDCoordinate max1, KDCoordinate max2)
KDRect translatedBy(KDPoint p) const
bool contains(KDPoint p) const
constexpr KDCoordinate width() 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
constexpr KDCoordinate height() const