Clipping functions create, test, and alter clipping regions. A clipping region is the portion of a window's client area where GDI creates output. Any output sent to a portion of the client area that is outside the clipping region will not be visible. Clipping regions are useful in Windows applications that need to save one part of the client area and simultaneously send output to another. Following are the clipping functions:
ExcludeClipRect |
Excludes a rectangle from the clipping region. |
GetBoundsRect |
Returns the current accumulated bounding rectangle for the specified device context. |
GetClipBox |
Copies the dimensions of a bounding rectangle. |
IntersectClipRect |
Forms the intersection of a clipping region and a rectangle. |
OffsetClipRgn |
Moves a clipping region. |
PtVisible |
Tests whether a point lies in a region. |
RectVisible |
Determines whether part of a rectangle lies in a region. |
SelectClipRgn |
Selects a clipping region. |
SetBoundsRect |
Controls the accumulation of bounding-rectangle information for the specified device context. |