Important: The information in this document is obsolete and should not be used for new development.
HidePen
To give the graphics pen invisible ink (which means that pen drawing doesn't show on the screen), use theHidePenprocedure.
PROCEDURE HidePen;DESCRIPTION
TheHidePenprocedure decrements thepnVisfield of the current graphics port. ThepnVisfield is initialized to 0 by theOpenPortprocedure. WheneverpnVisis negative, the pen doesn't draw on the screen. ThepnVisfield keeps track of the number of times the pen has been hidden to compensate for nested calls to theHidePenandShowPenroutines.Every call to
HidePenshould be balanced by a subsequent call toShowPen, which is described next.The
HidePenprocedure is called by theOpenRgn,OpenPicture, andOpenPolyroutines so that you can create regions, pictures, and polygons without drawing on the screen.