Version:
1.1
Date:
Wednesday, August 16, 2000
Description:
This sample has been updated for the Carbon API. This snippet demonstrates the use of CopyDeepMask using 2 PICTS; one a photograph and the other a triangular mask. It uses 2 offscreen gworlds to hold the source and mask pixmaps. CopyDeepMask is then used to create the masked image and display it in the application window. The source, mask, and destination rectangles are all the same size in order avoid altering pixel sizes.
Requirements: Color QuickDraw, CarbonLib
Samples are designed to work with CodeWarrior 2 or later and Universal Interfaces 3.2 unless otherwise noted. Archives can be uncompressed with StuffIt Expander 5.0 or later.
|