CopyDeepMask

To combine the effects of CopyMask and CopyBits, use CopyDeepMask.

CopyDeepMask srcMap as BitMapPtr,
maskMap as BitMapPtr,
dstMap as BitMapPtr,
src as Rect,mask as Rect,
dest as Rect,
mode as Integer,
maskRgn as RgnHandle

srcMap:
address of BitMap of source image.

maskMap:
address of bitmap identifying the mask.

destMap:
address of BitMap or PixMap to recieve
masked image.

src:
size, location data from srcBitmap.

mask:
Position and size of the masking area.

dest:
size, location to store data in destination.

mode:
mode setting. (See transfer modes in CopyBits)

maskRgn:
Handle to mask region.

Description:
See Inside Macintosh QuickDraw Drawing, chapter 3.

NOTE:
In this version of QuickDrawLib this medthod has not been verified to work, normally there
would be no special reason to verify it, but in this case it has more parameters than other
functions we have done before, so please send us reports on success or faliure if you try this
function.

Supported platforms:
* MacOS PPC
* MacOS Carbon
* MacOS Mach-O
Unsupported platforms:
* Windows x86