Lines Matching refs:rhs
36 bool Rect::operator < (const Rect& rhs) const in operator <()
38 if (top<rhs.top) { in operator <()
40 } else if (top == rhs.top) { in operator <()
41 if (left < rhs.left) { in operator <()
43 } else if (left == rhs.left) { in operator <()
44 if (bottom<rhs.bottom) { in operator <()
46 } else if (bottom == rhs.bottom) { in operator <()
47 if (right<rhs.right) { in operator <()
74 const Rect Rect::operator + (const Point& rhs) const in operator +()
76 const Rect result(left+rhs.x, top+rhs.y, right+rhs.x, bottom+rhs.y); in operator +()
80 const Rect Rect::operator - (const Point& rhs) const in operator -()
82 const Rect result(left-rhs.x, top-rhs.y, right-rhs.x, bottom-rhs.y); in operator -()