168 else if (x_ + width_ > rectangle.width)
170 width_ = rectangle.width - x_;
177 else if (y_ + height_ > rectangle.height)
179 height_ = rectangle.height - y_;
182 if (width_ <= 0 || height_ <= 0)
bool isPointInRect(const int x_, const int y_) const
void setAll(const int x0, const int y0, const int width0, const int height0)
Rect(const int x_, const int y_, const int width_, const int height_)
bool isIntersecting(const Rect &rectangle) const
#define A_DEFAULT_COPY(func)