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

ClearRectRegion

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

Declaration

Source position: agraphics.pas line 2141

function ClearRectRegion(

  Reg: PRegion;

  Rect: PRectangle

):LongBool;

Arguments

Reg

  

A pointer to Region structure

Rect

  

A pointer to Rectangle structure

Function result

Returns True if successful operation, returns False if ran out of memory

Description

Clip away any portion of the region that exists inside of the rectangle. Leave the result in region.

See also

AndRectRegion

  

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

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.

XorRectRegion

  

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

ClearRectRegionND

  

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