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

AndRegionRegionND

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

Declaration

Source position: agraphics.pas line 2213

function AndRegionRegionND(

  R1: PRegion;

  R2: PRegion

):PRegion;

Arguments

R1

  

A pointer to Region structure

R2

  

A pointer to Region structure to use and for result

Function result

Returns resulting region if successful operation, returns nil if ran out of memory

Description

Remove any portion of region2 that is not in region1.

See also

AndRegionRegion

  

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