Important: The information in this document is obsolete and should not be used for new development.
GXExitGraphicsYou can use the
GXExitGraphicsfunction to dispose of the default structures and the active QuickDraw GX graphics client heap.
GXExitGraphicsfunction disposes of all of the default data structures that you have created in your QuickDraw GX application and disposes of the active graphics client heap. If a notice handler routine has been installed, it is called to report any objects allocated by the application that have not been disposed of.
Normally, you never need to call the
GXExitGraphicsfunction if you use the
SPECIAL CONSIDERATIONSIn the debugging version of QuickDraw GX, you can call the
GXExitGraphicsfunction if you want to confirm that all QuickDraw GX objects that you allocated have been disposed of.
When your application is ready to ship, you should remove the terminating
GXExitGraphicsfunction and rely on QuickDraw GX to automatically dispose of your graphics client heaps.
ERRORS, WARNINGS, AND NOTICES
Notices (debugging only) shape_not_disposed font_not_disposed style_not_disposed ink_not_disposed transform_not_disposed colorSet_not_disposed colorProfile_not_disposed
SEE ALSOThe role of the
GXExitGraphicsClientfunction in disposing of a graphics client heap is described in the section "Disposing of a Graphics Client and Graphics Client Heap" beginning on page 2-9.
GXDisposeGraphicsClientfunction is described on page 2-21.
GXEnterGraphicsfunction allocates memory for the QuickDraw GX graphics client heap and initializes the default data structures. This function is described on page 2-22.