54 if(
px < x1)
return false;
55 if(
px >= x2)
return false;
56 if(py < y1)
return false;
57 if(py >= y2)
return false;
74 return !((x1w < x2) || (x2w < x1) || (y1h < y2) || (y2h < y1));
This implements some equivalent to basegfx::B2IBox, but instead of two BasicBox ranges,...
::basegfx::B2ISize maSize
bool inside(const SurfaceRect &r) const
bool intersection(const SurfaceRect &r) const
returns true if the passed rect intersects this one.
SurfaceRect(const ::basegfx::B2ISize &rSize)
bool pointInside(sal_Int32 px, sal_Int32 py) const
::basegfx::B2IPoint maPos