CDC::IntersectClipRect
Visual Studio 2010
Creates a new clipping region by forming the intersection of the current region and the rectangle specified by x1, y1, x2, and y2.
int IntersectClipRect( int x1, int y1, int x2, int y2 ); int IntersectClipRect( LPCRECT lpRect );
Specifies the logical x-coordinate of the upper-left corner of the rectangle.
Specifies the logical y-coordinate of the upper-left corner of the rectangle.
Specifies the logical x-coordinate of the lower-right corner of the rectangle.
Specifies the logical y-coordinate of the lower-right corner of the rectangle.
Specifies the rectangle. You can pass either a CRect object or a pointer to a RECT structure for this parameter.