Important: The information in this document is obsolete and should not be used for new development.
PortSize
ThePortSize
procedure is normally called only by the Window Manager; it changes the size of the port rectangle of the current graphics port (basic or color).
PROCEDURE PortSize (width,height:\xDDInteger);
width
- The width of the reset port rectangle.
height
- The height of the reset port rectangle.
DESCRIPTION
ThePortSize
procedure changes the size of the current graphics port's port rectangle. The upper-left corner of the port rectangle remains at its same location; the width and height of the port rectangle are set to the givenwidth
andheight
. In other words,PortSize
moves the lower-right corner of the port rectangle to a position relative to the upper-left corner.The
PortSize
procedure doesn't change the clipping or visible region of the graphics port, nor does it affect the local coordinate system of the graphics port;\xDDit changes only the width and height of the port rectangle. Remember that all drawing occurs only in the intersection of the boundary rectangle and the port rectangle, after being cropped to the visible region and the clipping region.