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 theClosePicture
procedure.
PROCEDURE ClosePicture;DESCRIPTION
TheClosePicture
procedure stops collecting drawing commands and picture comments for the currently open picture. You should perform one and only one call toClosePicture
for every call to theOpenCPicture
(orOpenPicture
) function.The
ClosePicture
procedure calls theShowPen
procedure, balancing the call made byOpenCPicture
(orOpenPicture
) to theHidePen
procedure.SEE ALSO
TheShowPen
andHidePen
procedures are described in the chapter "QuickDraw Drawing" in this book.Listing 7-1 on page 7-10 illustrates the use of the
ClosePicture
procedure.