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

AndRectRegion

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

Declaration

Source position: agraphics.pas line 2064

procedure AndRectRegion(

  Region: PRegion;

  Rectangle: PRectangle

);

Description

Clip away any portion of the region that exists outside of the rectangle. Leave the result in region. Unlike the other rect-region primitives, AndRectRegion() cannot fail.

See also

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

NewRegion

  

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

ClearRectRegion


Documentation generated on: 2021-07-30