Important: The information in this document is obsolete and should not be used for new development.
MovePortTo
TheMovePortTo
procedure is normally called only by the Window Manager; it changes the position of the port rectangle of the current graphics port (basic or color).
PROCEDURE MovePortTo (leftGlobal,topGlobal:\xDDInteger);
leftGlobal
- The horizontal distance to move the port rectangle.
topGlobal
- The vertical distance to move the port rectangle.
DESCRIPTION
TheMovePortTo
procedure changes the position of the current graphics port's port rectangle: theleftGlobal
andtopGlobal
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
procedure,MovePortTo
doesn't change the clipping or visible region, nor does it affect the local coordinate system of the graphics port.