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

ClearRectRegionND

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

Declaration

Source position: agraphics.pas line 2215

function ClearRectRegionND(

  Reg: PRegion;

  Rect: PRectangle

):PRegion;

Arguments

Reg

  

A pointer to Region structure

Rect

  

A pointer to Rectangle structure

Function result

Region or nil if failed (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

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