bas7advr.hlp (Topic list)
VIEW Statement (Graphics) Details
  Syntax  Details  Example                 Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
The VIEW statement defines a graphics viewport, or "clipping region", which
is a rectangular area of the screen to which graphics output is limited.
 
VIEW [[SCREEN] (x1!,y1!)-(x2!,y2!) [,[color&] [,border&]]]
    ■ When SCREEN is used:
        - The x and y coordinates of subsequent graphics statements
          are absolute to the screen, not relative to the border of
          the viewport.
        - Only graphics within the viewport are plotted.
      When SCREEN is omitted:
        - All points are plotted relative to the viewport (x1! and y1!
          are added to coordinates before plotting the point).
    ■ (x1!,y1!)-(x2!,y2!) must be within the physical bounds of the
      screen in the current screen mode.
    ■ If you omit color&, the viewport area is not filled (it has
      the same color as the screen background color).
    ■ If you omit border&, no line is drawn around the viewport.
 
Usage Notes
    ■ If VIEW is used with no arguments, the entire screen is defined
      as the viewport. RUN and SCREEN also define the entire screen
      as the viewport.