CDC::ExcludeClipRect
Visual Studio 2005
Creates a new clipping region that consists of the existing clipping region minus the specified rectangle.
int ExcludeClipRect( int x1, int y1, int x2, int y2 ); int ExcludeClipRect( LPCRECT lpRect );
Parameters
- x1
-
Specifies the logical x-coordinate of the upper-left corner of the rectangle.
- y1
-
Specifies the logical y-coordinate of the upper-left corner of the rectangle.
- x2
-
Specifies the logical x-coordinate of the lower-right corner of the rectangle.
- y2
-
Specifies the logical y-coordinate of the lower-right corner of the rectangle.
- lpRect
-
Specifies the rectangle. Can also be a CRect object.