Important: The information in this document is obsolete and should not be used for new development.
InitPort
You should never need to use theInitPortprocedure. TheOpenPortprocedure calls theInitPortprocedure, which reinitializes the fields of a basic graphics port and makes it the current port.
PROCEDURE InitPort (port:\xDDGrafPtr);
port- A pointer to a
GrafPortrecord.DESCRIPTION
TheInitPortprocedure reinitializes the fields of aGrafPortrecord that was opened with theOpenPortprocedure, and makes it the current graphics port. TheInitPortprocedure sets the values of the port's fields to those listed in theOpenPortprocedure description. TheInitPortprocedure does not allocate space for the visible or clipping regions.SEE ALSO
TheInitCPortprocedure (described in the chapter "Color QuickDraw") initializes a color graphics port.