Docs » Autodocs » graphics.library » AndRectRegion
AndRectRegion -- Perform 2d AND operation of rectangle with region, leaving result in region.
AndRectRegion(region,rectangle) a0 a1 void AndRectRegion( struct Region *, struct Rectangle * );
Clip away any portion of the region that exists outside of the rectangle. Leave the result in region.
region - pointer to Region structure rectangle - pointer to Rectangle structure
Unlike the other rect-region primitives, AndRectRegion() cannot fail.
AndRegionRegion(), OrRectRegion(), <graphics/regions.h>
|