Docs » Autodocs » graphics.library » AndRegionRegion
AndRegionRegion -- Perform 2d AND operation of one region with second region, leaving result in second region.
status = AndRegionRegion(region1,region2) d0 a0 a1 BOOL AndregionRegion(struct Region *, struct Region * );
Remove any portion of region2 that is not in region1.
region1 - pointer to Region structure region2 - pointer to Region structure to use and for result
status - return TRUE if successful operation return FALSE if ran out of memory
OrRegionRegion(), AndRectRegion(), <graphics/regions.h>
|