Important: This document is part of the Legacy section of the ADC Reference Library. This information should not be used for new development.
Current information on this Reference Library topic can be found here:
|
Version: 1.0 Posted: 2003-10-10 Build Requirements: N/A Runtime Requirements: Carbon CodeWarrior Pro 5, Universal Headers 3.3.2, CarbonLib SDK 1.0.4 Download Sample (CopyDeepMask.zip, 118.6K) |
||||
DescriptionThis 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: CodeWarrior Pro 5, Universal Headers 3.3.2, CarbonLib SDK 1.0.4 Keywords: CopyBits Mask CopyDeepMask Document Revision History
|
|