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