Method ExcludeClipRect
ExcludeClipRect(IntPtr, int, int, int, int)
The ExcludeClipRect function creates a new clipping region that consists of the existing clipping region minus the specified rectangle.
public static int ExcludeClipRect(IntPtr hdc, int l, int t, int r, int b)
Parameters
hdcIntPtrIdentifies the device context.
lintSpecifies the logical x-coordinate of the upper-left corner of the rectangle.
tintSpecifies the logical y-coordinate of the upper-left corner of the rectangle.
rintSpecifies the logical x-coordinate of the lower-right corner of the rectangle.
bintSpecifies the logical y-coordinate of the lower-right corner of the rectangle.
Returns
- int
Specifies type of new clipping region.