Important: The information in this document is obsolete and should not be used for new development.
ShowPenTo 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 the
ShowPenprocedure increments the
pnVisfield 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 the
pnVisfield from 0 to -1, you can use the
ShowPenprocedure to make its value 0 so that QuickDraw resumes drawing on the screen. Subsequent calls to
pnVisbeyond 0, so every call to
ShowPenshould be balanced by a call to
ShowPenis called by the procedures
CloseRgn(described on page 3-85),
ClosePoly(described on page 3-75), and
ClosePicture(described in the chapter "Pictures" in this book).