Lines Matching refs:rhs
52 SwPoint& operator+=(const SwPoint& rhs)
54 x += rhs.x;
55 y += rhs.y;
59 SwPoint operator+(const SwPoint& rhs) const
61 return {x + rhs.x, y + rhs.y};
64 SwPoint operator-(const SwPoint& rhs) const
66 return {x - rhs.x, y - rhs.y};
69 bool operator==(const SwPoint& rhs) const
71 return (x == rhs.x && y == rhs.y);
74 bool operator!=(const SwPoint& rhs) const
76 return (x != rhs.x || y != rhs.y);
268 SwSurface(const SwSurface* rhs) : RenderSurface(rhs) in SwSurface()
270 join = rhs->join; in SwSurface()
271 memcpy(alphas, rhs->alphas, sizeof(alphas)); in SwSurface()
272 blender = rhs->blender; in SwSurface()
273 compositor = rhs->compositor; in SwSurface()
274 blendMethod = rhs->blendMethod; in SwSurface()