Skip to content

Latest commit

 

History

History
36 lines (21 loc) · 762 Bytes

AndRegionRegion.md

File metadata and controls

36 lines (21 loc) · 762 Bytes

NAME

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

SYNOPSIS

    status = AndRegionRegion(region1,region2)
      d0                       a0      a1

    BOOL AndRegionRegion(struct Region *, struct Region * );

Links: Region Region

FUNCTION

Remove any portion of region2 that is not in region1.

INPUTS

region1 - pointer to Region structure region2 - pointer to Region structure to use and for result

RESULTS

status - return TRUE if successful operation return FALSE if ran out of memory

BUGS

SEE ALSO

OrRegionRegion AndRectRegion graphics/regions.h