Lines Matching refs:rhs
115 inline bool operator == (const Rect& rhs) const {
116 return (left == rhs.left) && (top == rhs.top) &&
117 (right == rhs.right) && (bottom == rhs.bottom);
120 inline bool operator != (const Rect& rhs) const {
121 return !operator == (rhs);
126 bool operator < (const Rect& rhs) const;
128 const Rect operator + (const Point& rhs) const;
129 const Rect operator - (const Point& rhs) const;
131 Rect& operator += (const Point& rhs) {
132 return offsetBy(rhs.x, rhs.y);
134 Rect& operator -= (const Point& rhs) {
135 return offsetBy(-rhs.x, -rhs.y);
171 inline void set(const Rect& rhs) { operator = (rhs); }