Important: The information in this document is obsolete and should not be used for new development.
ClosePicture
To complete the collection of drawing commands and picture comments that define your picture, use theClosePictureprocedure.
PROCEDURE ClosePicture;DESCRIPTION
TheClosePictureprocedure stops collecting drawing commands and picture comments for the currently open picture. You should perform one and only one call toClosePicturefor every call to theOpenCPicture(orOpenPicture) function.The
ClosePictureprocedure calls theShowPenprocedure, balancing the call made byOpenCPicture(orOpenPicture) to theHidePenprocedure.SEE ALSO
TheShowPenandHidePenprocedures are described in the chapter "QuickDraw Drawing" in this book.Listing 7-1 on page 7-10 illustrates the use of the
ClosePictureprocedure.