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

OrRegionRegion

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

Declaration

Source position: agraphics.pas line 2361

function OrRegionRegion(

  const srcRegion: pRegion;

  destRegion: pRegion

):LongBool;

Arguments

srcRegion

  

A pointer to Source Region

destRegion

  

A pointer to Destination Region

Function result

Return True if successful operation, Return False if ran out of memory

Description

If any portion of region1 is not in the region then add that portion to the region2

See also

AndRegionRegion

  

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

OrRectRegion

  

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

XorRegionRegion

  

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

ClearRectRegion

NewRegion

  

Allocates memory for a new Region and initializes it to an empty Region.


Documentation generated on: 2021-07-30