★ wanayoo — archive 1999 http://developer.apple.com/samplecode/Sample_Code/Graphics_2D/PixMap2PixPat2ppat.htmNouvelle recherche | Portail wanayoo
Technical: Sample Code: Graphics 2D: PixMap2PixPat2ppat
Graphics 2D
ADC Resources
Sample Code

PixMap2PixPat2ppat

download (18.7 KB)

Version:

1.2

Date:

Wednesday, August 16, 2000

Description:

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




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.
Gray line
 
Site Map | Search Tips | Options | Keywords

Contact Us | Privacy Notice
Copyright © 2000 Apple Computer, Inc. All rights reserved.
1-800-MY-APPLE