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

Use the OpenCPicture function to begin defining a picture; OpenCPicture collects your subsequent drawing commands--which are described in the other chapters of this book--in a Picture record. You can use the PicComment procedure to include picture comments in your picture definition. To complete the collection of drawing and picture comment commands that define your picture, use the ClosePicture procedure. When you are finished using a picture not stored in a 'PICT' resource, use the KillPicture procedure to release its memory. (To release the memory for a picture stored in a 'PICT' resource, use the Resource Manager procedure ReleaseResource.)

The OpenCPicture function works on all Macintosh computers running System 7. Pictures created with the OpenCPicture function can be drawn on all versions of Macintosh system software. The OpenPicture function, which was created for earlier versions of system software, is described here for completeness.


Subtopics
OpenCPicture
OpenPicture
PicComment
ClosePicture
KillPicture

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996