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