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

AndRegionRegion

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

Declaration

Source position: agraphics.pas line 2262

function AndRegionRegion(

  const 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

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


Documentation generated on: 2021-07-30