Lines Matching refs:rhs
40 bool Rect::operator <(const Rect& rhs) const { in operator <()
41 if (top < rhs.top) { in operator <()
43 } else if (top == rhs.top) { in operator <()
44 if (left < rhs.left) { in operator <()
46 } else if (left == rhs.left) { in operator <()
47 if (bottom < rhs.bottom) { in operator <()
49 } else if (bottom == rhs.bottom) { in operator <()
50 if (right < rhs.right) { in operator <()
83 const Rect Rect::operator +(const Point& rhs) const { in operator +()
84 const Rect result(left + rhs.x, top + rhs.y, right + rhs.x, bottom + rhs.y); in operator +()
88 const Rect Rect::operator -(const Point& rhs) const { in operator -()
89 const Rect result(left - rhs.x, top - rhs.y, right - rhs.x, bottom - rhs.y); in operator -()