next up previous contents index
Next: SetVisualPage Up: Functions and procedures Previous: SetUserCharSize

SetViewPort

   

Declaration:

Procedure SetViewPort (X1,Y1,X2,Y2 : Integer; Clip : Boolean) ;

Description:

Sets the current graphical view-port (window) to the rectangle defined by the top-left corner (X1,Y1) and the bottom-right corner (X2,Y2). If Clip is true, anything drawn outside the view-port (window) will be clipped (i.e. not drawn). Coordinates specified after this call are relative to the top-left corner of the view-port.

Errors:

None.

See also:

GetViewSettings



Michael Van Canneyt
Thu Sep 10 13:59:33 CEST 1998