Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
CopyDeepMask
Last Revision: | Version 1.0, 2003-10-10 First Version |
Build Requirements: | |
Runtime Requirements: | Carbon CodeWarrior Pro 5, Universal Headers 3.3.2, CarbonLib SDK 1.0.4 |
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: CodeWarrior Pro 5, Universal Headers 3.3.2, CarbonLib SDK 1.0.4 Keywords: CopyBits Mask CopyDeepMask
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-10-10