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

XorRegionRegion

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

Declaration

Source position: agraphics.pas line 2083

function XorRegionRegion(

  SrcRegion: PRegion;

  DestRegion: PRegion

):LongBool;

Arguments

SrcRegion

  

A pointer to Source Region

DestRegion

  

A pointer to Destination Region

Function result

True if successful operation, False if ran out of memory

Description

Join the regions together. If any part of SrcRegion overlaps DestRegion then remove that from the new 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