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.
PixMap2PixPat2ppat
Last Revision: | Version 1.0, 2003-10-27 First Version |
Build Requirements: | |
Runtime Requirements: | Carbon (both 9 and X) Color QuickDraw, CarbonLib |
This sample has been updated for the Carbon API. PixMap2PixPat2Ppat has been updated to use GetPixRowBytes() and not leak a PixMap. This sample shows how to convert a 'icl8' image to a PixMap image and then to a PixPat and then finally to a 'ppat' resource. In this example, the 'ppat' resource is saved-off into a resource file. Requirements: Color QuickDraw, CarbonLib Keywords: QuickDraw PixMap PixPat ppat GetPixRowBytes, Carbon
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-10-27