25 : m_x(0), m_y(0), m_width(0), m_height(0) { }
26 IntRect(
int x,
int y,
int width,
int height)
27 : m_x(x), m_y(y), m_width(width), m_height(height) { }
29 int x()
const {
return m_x; }
30 int y()
const {
return m_y; }
31 int width()
const {
return m_width; }
32 int height()
const {
return m_height; }
43 a.x() == b.x() && a.y() == b.y() &&
44 a.width() == b.width() && a.height() == b.height();
49 a.x() != b.x() || a.y() != b.y() ||
50 a.width() != b.width() || a.height() != b.height();