61.4.3 Clipping

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 that portion of the client area which is outside the clipping region will not be visible. Clipping regions are useful in any Windows application that needs to save one part of the client area and simultaneously send output to another. The following list briefly describes each clipping function:

Function Description

ExcludeClipRect Excludes a rectangle from the clipping region
GetBoundsRect Gets the bounding rectangle of a drawing.
GetClipBox Copies the dimensions of a bounding rectangle
GetClipRgn Returns the current clipping region
IntersectClipRect Forms the intersection of a clipping region and a rectangle
OffsetClipRgn Moves a clipping region
SelectClipPath Selects a clipping path
SelectClipRgn Selects a clipping region