[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]


   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 * );

   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