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

XorRectRegionND

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

Declaration

Source position: agraphics.pas line 2219

function XorRectRegionND(

  Reg: PRegion;

  Rect: PRectangle

):PRegion;

Arguments

Reg

  

A pointer to a Region

Rect

  

A pointer to a Rectangle

Function result

Pointer to the region or nil if 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.

XorRectRegion

  

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


Documentation generated on: 2021-07-30