![]() |
MovePortTo |
||||
Header: | Quickdraw.h | Carbon status: | Supported | |
Changes the position of the port rectangle of the current graphics port (basic or color).
void MovePortTo ( SInt16 leftGlobal, SInt16 topGlobal );
The horizontal distance to move the port rectangle.
The vertical distance to move the port rectangle.
The MovePortTo function is normally called only by the Window Manager. The MovePortTo function changes the position of the current graphics ports port rectangle: the leftGlobal and topGlobal parameters set the distance between the upper-left corner of the boundary rectangle and the upper-left corner of the new port rectangle.
This does not affect the screen; it merely changes the location at which subsequent drawing inside the graphics port appears. Like the PortSize function, MovePortTo doesnt change the clipping or visible region, nor does it affect the local coordinate system of the graphics port.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)