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

OrRegionRegion

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

Declaration

Source position: agraphics.pas line 2144

function OrRegionRegion(

  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

OrRegionRegionND

  

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

ClearRectRegion

  

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

NewRegion

  

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


Documentation generated on: 2021-07-30