Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Imaging With QuickDraw /
Chapter 4 - Color QuickDraw / Color QuickDraw Reference
Color QuickDraw Routines / Creating, Setting, and Disposing of Pixel Maps


DisposePixMap

Although you typically don't need to call this routine in your application code, you can use the DisposePixMap procedure to dispose of a PixMap record. The DisposePixMap procedure is also available as the DisposPixMap procedure.

PROCEDURE DisposePixMap (pm: PixMapHandle);
pm
A handle to the PixMap record to be disposed of.
DESCRIPTION
The DisposePixMap procedure disposes of the PixMap record and its color table. The CloseCPort procedure calls DisposePixMap.

SPECIAL CONSIDERATIONS
If your application uses DisposePixMap, take care that it does not dispose of a PixMap record whose color table is the same as the current device's CLUT.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996