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