GrSubtractRegion

Name

GrSubtractRegion -- Remove the area of one region from another

Synopsis

void GrSubtractRegion (
  GR_REGION_ID dst_rgn,
  GR_REGION_ID src_rgn1,
  GR_REGION_ID src_rgn2
);
     

Parameters

dst_rgn

A GR_REGION_ID region that will hold the difference of src_rgn1 minus src_rgn2.

src_rgn1

The minuend region.

src_rgn2

The subtrahend region.

Description

The GrSubtractRegion function removes the area of src_rgn2 from src_rgn1 and returns the difference in dst_rgn.