MovePortTo
MovePortTo Change position of top-left corner of portRect short leftGlobal; position for left edge (global coordinates)
short topGlobal ; position for top (global coordinates)
the Window Manager to reposition windows.
leftGlobal and . . .
topGlobal are the desired coordinates for the top and left fields of the
Notes: This changes the position at which subsequent drawing will appear for the
adding offsets to all fields of the portRect such that the top-left corner is
moved to the global coordinate pair leftGlobal , topGlobal . The height and
width of the portRect remain the same and the local coordinate system is not
changed.
drawing continues to be clipped to the intersection of portRect, visRgn, and moves the port to a different part of the BitMap.