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

OrRectRegion

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

Declaration

Source position: agraphics.pas line 2065

function OrRectRegion(

  Region: PRegion;

  Rectangle: PRectangle

):LongBool;

Function result

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

Description

If any portion of rectangle is not in the region then add that portion to the region.

See also

AndRectRegion

  

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

OrRegionRegion

  

Perform 2d OR operation of one region with second region, leaving result in second 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