[Overview][Constants][Types][Procedures and functions][Variables][Index] Reference for unit 'agraphics' (#aros)

OrRectRegion

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

Declaration

Source position: agraphics.pas line 2139

function OrRectRegion(

  Reg: PRegion;

  Rect: PRectangle

):LongBool;

Arguments

Reg

  

A pointer to Region structure

Rect

  

A pointer to Rectangle structure

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

OrRectRegionND

  

Perform 2d OR operation of rectangle with region, leaving result in 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: 2017-01-10