qpgraph.hlp (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.
_SetClipRgn Procedure
  Summary Details Example                                   Back
 
  Arguments
 
    x1, y1    Upper-left corner of clipping region in physical
              coordinates
 
    x2, y2    Lower-right corner of clipping region in physical
              coordinates
 
  Description
 
    The _SetClipRgn procedure limits the display of subsequent graphics
    output and font text output to an area of the screen called the
    "clipping region." This region is defined by a bounding rectangle
    whose diagonally opposed corners are given by physical coordinates
    (x1,y1) and (x2,y2). This procedure does not change the viewport
    origin; it merely masks the screen.
 
    Note:  _SetClipRgn affects graphics and font text output only.
    To limit the screen area used for text output by the _OutText and
    _OutMem procedures, use the _SetTextWindow procedure.
 
  _GrStatus Returns
 
    _GrNotInProperMode, _GrParameterAltered