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

XorRegionRegion

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

Declaration

Source position: agraphics.pas line 2415

function XorRegionRegion(

  const 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