Unit 'agraphics' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#os4units]

XorRectRegion

Perform 2d XOR operation of rectangle with region, leaving result in region

Declaration

Source position: agraphics.pas line 2386

function XorRectRegion(

  Region: PRegion;

  const Rectangle: PRectangle

):LongBool;

Function result

True if successful operation, False if ran out of memory

Description

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.

See also

OrRegionRegion

  

Perform 2d OR operation of one region with second region, leaving result in second region

AndRegionRegion

  

Perform 2d AND operation of one region with second region, leaving result in second region.


Documentation generated on: 2021-07-30