Intersection of two rectangles. More...
Public Member Functions | |
GClip () | |
empty clip | |
GClip (GRect const &rect1, GRect const &rect2) | |
the clip is the intersection of the two rectangles. | |
void | intersection (GRect const &) |
the clip is the intersection of the current rectangle with the rectangle given as an argument. | |
bool | contain (GPoint const &) const |
returns true is the clip contains this point. | |
Intersection of two rectangles.