Perform 2d XOR operation of rectangle with region, leaving result in region
Source position: agraphics.pas line 2135
function XorRectRegion( |
Reg: PRegion; |
Rect: PRectangle |
):LongBool; |
Reg |
|
A pointer to a Region |
Rect |
|
A pointer to a Rectangle |
True if successful operation, False if ran out of memory
Add portions of rectangle to region if they are not in the region. Remove portions of rectangle from region if they are in the region.
|
Perform 2d OR operation of one region with second region, leaving result in second region |
|
|
Perform 2d AND operation of one region with second region, leaving result in second region. |
|
|
Perform 2d XOR operation of rectangle with region, leaving result in region |