Articles
Forums
Downloads
Autodocs
Home
/
Autodocs
/
graphics.library
NAME
OrRegionRegion
Perform 2d OR operation of one region with second region, leaving result in second region
SYNOPSIS
status = OrRegionRegion(region1,region2)
d0 a0 a1
BOOL OrRegionRegion( struct Region *, struct Region * );
FUNCTION
If any portion of region1 is not in the region then add that portion to the region2
INPUTS
region1
pointer to Region structure
region2
pointer to Region structure
RESULT
status
return TRUE if successful operation. Return FALSE if ran out of memory
BUGS
In case of failure, the target region may be partially updated.
SEE ALSO
OrRectRegion()
<graphics/regions.h>