qpgraph.hlp (Topic list)
_SetViewport Procedure
  Summary Details Example                                   Back
 
  Arguments
 
    x1, y1    Upper-left corner of viewport to be set
 
    x2, y2    Lower-right corner of viewport to be set
 
  Description
 
    The _SetViewport procedure redefines the graphics viewport. It
    defines a clipping region just as the _SetClipRgn procedure does.
    The viewport origin is set to the upper-left corner of the clipping
    region. Physical coordinates (x1,y1) and (x2,y2) are the diagonally
    opposed corners of the rectangular clipping region.
 
    After a viewport is set, any window transformation done with
    _SetWindow applies only to the viewport, not to the entire screen.
 
  _GrStatus Returns
 
    _GrNotInProperMode, _GrParameterAltered