forlang.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
setviewport
 Summary Example                         Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     The setviewport subroutine redefines the graphics viewport. The
     setviewport subroutine defines a clipping region in exactly the
     same manner as setcliprgn, and then sets the view-coordinate origin
     to the upper-left corner of the region.
 
     The physical points (<x1>, <y1>) and (<x2>, <y2>) are the upper-
     left and lower-right corners of the rectangular clipping region.
     Any window transformation done with the setwindow subroutine
     applies only to the viewport and not to the entire screen.
 
     See also: Graphic Coordinate Systems
 
     Return Value
 
     None.
                                    -♦-