Important: The information in this document is obsolete and should not be used for new development.
ShowPen
To change the ink of a graphics pen from invisible (which means that pen drawing doesn't show on the screen) to visible (so that pen drawing does appear on the screen), you can use theShowPenprocedure.
PROCEDURE ShowPen;DESCRIPTION
TheShowPenprocedure increments thepnVisfield of the current graphics port. For 0 or positive values, pen drawing shows on the screen.For example, if you have used the
HidePenprocedure to decrement thepnVisfield from 0 to -1, you can use theShowPenprocedure to make its value 0 so that QuickDraw resumes drawing on the screen. Subsequent calls toShowPenincrementpnVisbeyond 0, so every call toShowPenshould be balanced by a call toHidePen.
ShowPenis called by the proceduresCloseRgn(described on page 3-85),ClosePoly(described on page 3-75), andClosePicture(described in the chapter "Pictures" in this book).