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

XorRectRegion

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

Declaration

Source position: agraphics.pas line 2135

function XorRectRegion(

  Reg: PRegion;

  Rect: PRectangle

):LongBool;

Arguments

Reg

  

A pointer to a Region

Rect

  

A pointer to a Rectangle

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.

XorRectRegionND

  

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


Documentation generated on: 2021-07-30