int select_clipping_region(handle device, handle region)
This function selects a region as the current clipping region.
handle device
The handle of the device context.
handle region
The handle of the region to become the clipping region. If null is specified, the clipping region of the device context is removed.
int
The new clipping region's complexity (see enumeration region_type).
Device coordinates are assumed for the source region.
A copy of the given region is taken. The specified region may be subsequently deleted.