Important: The information in this document is obsolete and should not be used for new development.
|
|
Log In | Not a Member? |
Contact ADC |
Creating, Setting, and Disposing of Pixel Maps
QuickDraw automatically creates pixel maps when you create a color window with theGetNewCWindoworNewCWindowfunction (described in the chapter "Window Manager" in Inside Macintosh: Macintosh Toolbox Essentials), when you create offscreen graphics worlds with theNewGWorldfunction (described in the chapter "Offscreen Graphics Worlds" in this book), and when you use theOpenCPortfunction. QuickDraw also disposes of a pixel map when it disposes of a color graphics port. Although your application typically won't need to create or dispose of pixel maps, you can use theNewPixMapfunction and theCopyPixMapprocedure to create them, and you can use theDisposePixMapprocedure to dispose of them. Although you should never need to do so, you can also set the pixel map for the current color graphics port by using theSetPortPixprocedure.
Subtopics
- NewPixMap
- CopyPixMap
- SetPortPix
- DisposePixMap
Get information on Apple products.
Visit the Apple Store online or at retail locations. 1-800-MY-APPLE Copyright © 2007 Apple Inc. All rights reserved. | Terms of use | Privacy Notice |