Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 743 Bytes

AndRectRegion.md

File metadata and controls

36 lines (22 loc) · 743 Bytes

NAME

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

SYNOPSIS

    AndRectRegion(region,rectangle)
                    a0      a1

    void AndRectRegion( struct Region *, struct Rectangle * );

Links: Region Rectangle

FUNCTION

Clip away any portion of the region that exists outside of the rectangle. Leave the result in region.

INPUTS

region - pointer to Region structure rectangle - pointer to Rectangle structure

NOTES Unlike the other rect-region primitives, AndRectRegion() cannot fail.

BUGS

SEE ALSO

AndRegionRegion OrRectRegion graphics/regions.h