Important: The information in this document is obsolete and should not be used for new development.
Creating and Disposing of Pictures
Use theOpenCPicture
function to begin defining a picture;OpenCPicture
collects your subsequent drawing commands--which are described in the other chapters of this book--in aPicture
record. You can use thePicComment
procedure to include picture comments in your picture definition. To complete the collection of drawing and picture comment commands that define your picture, use theClosePicture
procedure. When you are finished using a picture not stored in a'PICT'
resource, use theKillPicture
procedure to release its memory. (To release the memory for a picture stored in a'PICT'
resource, use the Resource Manager procedureReleaseResource
.)The
OpenCPicture
function works on all Macintosh computers running System 7. Pictures created with theOpenCPicture
function can be drawn on all versions of Macintosh system software. TheOpenPicture
function, which was created for earlier versions of system software, is described here for completeness.
Subtopics
- OpenCPicture
- OpenPicture
- PicComment
- ClosePicture
- KillPicture