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

AndRegionRegion

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

Declaration

Source position: agraphics.pas line 2146

function AndRegionRegion(

  SrcRegion: PRegion;

  DestRegion: PRegion

):LongBool;

Arguments

SrcRegion

  

A pointer to Region structure

DestRegion

  

A pointer to Region structure to use and for result

Function result

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

Description

Remove any portion of region2 that is not in region1.

See also

AndRegionRegionND

  

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

AndRectRegionND

  

Perform 2d AND operation of rectangle with region, leaving result in 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

AndRectRegion

  

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

NewRegion

  

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

ClearRectRegion

  

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


Documentation generated on: 2021-07-30