Deleting a Region

To delete a region, call GpiDestroyRegion. This function accepts, as input, the region handle. If the region is the current clip region, it cannot be deleted. To delete a current clip region, first call GpiSetClipRegion and specify a NULL region handle. The region is no longer the current clip region and can be deleted.


[Back: Converting a Region to a Clip Region]
[Next: Using Regions]