Go to the documentation of this file.
38 : m_location(
IntPoint(static_cast<int>(r.
x()), static_cast<int>(r.
y())))
59 int l = max(
x(), other.
x());
60 int t = max(
y(), other.
y());
65 if (l >= r || t >= b) {
74 m_size.setWidth(r - l);
75 m_size.setHeight(b - t);
88 int l = min(
x(), other.
x());
89 int t = min(
y(), other.
y());
95 m_size.setWidth(r - l);
96 m_size.setHeight(b - t);
101 m_location.setX((
int)(
x() * s));
102 m_location.setY((
int)(
y() * s));
103 m_size.setWidth((
int)(
width() * s));
104 m_size.setHeight((
int)(
height() * s));
void unite(const IntRect &)
bool intersects(const IntRect &) const
void intersect(const IntRect &)
bool contains(const IntRect &) const
This file is part of the KDE documentation.
Documentation copyright © 1996-2026 The KDE developers.
Generated on
by
doxygen 1.16.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.