Important: The information in this document is obsolete and should not be used for new development.
Drawing PicturesTo draw a picture, use the
DrawPictureprocedure. You must access a picture through its handle. When creating pictures, the
OpenPicturefunctions (described beginning on page 7-36) return their handles. You can use the
GetPicturefunction to get a handle to a QuickDraw picture stored in a
- To get a handle to a QuickDraw picture stored in a
'PICT'file, you must use File Manager routines, as described in "Drawing a Picture Stored in a 'PICT' File" beginning on page 7-12. To get a picture stored in the scrap, use the Scrap Manager procedure
GetScrapto get a handle to its data and then coerce this handle to one of type
PicHandle, as shown in Listing 7-6 on page 7-16.