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.
-♦-