PortSize
PortSize Change height and width of current GrafPort short newWidth ; desired width of the portRect
short newHeight ; desired height of the portRect
It is normally called by the Window Manager for window-sizing functions.
newWidth and . . .
newHeight are the desired width and height for the portRect.
Notes: This is a simple way to extend the size of the current port's portRect - the
The portRect.top and portRect.left fields stay the same. The portRect.right
and portRect.bottom change to reflect the desired newWidth and newHeight.
Note that this does not affect other fields of the GrafPort; drawing continues to be clipped to the intersection of portRect, visRgn, and clipRgn.