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