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 7 - Pictures / Pictures Reference
QuickDraw and Picture Utilities Routines / Creating and Disposing of Pictures


ClosePicture

To complete the collection of drawing commands and picture comments that define your picture, use the ClosePicture procedure.

PROCEDURE ClosePicture;
DESCRIPTION
The ClosePicture procedure stops collecting drawing commands and picture comments for the currently open picture. You should perform one and only one call to ClosePicture for every call to the OpenCPicture (or OpenPicture) function.

The ClosePicture procedure calls the ShowPen procedure, balancing the call made by OpenCPicture (or OpenPicture) to the HidePen procedure.

SEE ALSO
The ShowPen and HidePen procedures are described in the chapter "QuickDraw Drawing" in this book.

Listing 7-1 on page 7-10 illustrates the use of the ClosePicture procedure.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996