•  Back 
  •  Main 
  •  Index 
  •  Tree View 
  •  Cross references 
  •  Help 
  •  Show info about hypertext 
  •  View a new file 
Topic       : The GFA-Basic Compendium
Author      : GFA Systemtechnik GmbH
Version     : GFABasic.HYP v2.98 (12/31/2023)
Subject     : Documentation/Programming
Nodes       : 899
Index Size  : 28056
HCP-Version : 3
Compiled on : Atari
@charset    : atarist
@lang       : 
@default    : Document not found
@help       : Help
@options    : +g -i -s +z
@width      : 75
@hostname   : STRNGSRV
@hostname   : CAB     
@hostname   : HIGHWIRE
@hostname   : THING   
View Ref-FileBOX x1,y1,x2,y2
PBOX x1,y1,x2,y2
RBOX x1,y1,x2,y2
PRBOX x1,y1,x2,y2

x1, y1, x2, y2: iexp

These commands draw filled or unfilled rectangles on the screen. The
coordinates of the two opposite corners are specified by x1,y1 and x2,y2.

BOX draws an unfilled rectangle.

PBOX draws a filled rectangle.

RBOX draws an unfilled rectangle with rounded corners.

PRBOX draws a filled rectangle with rounded corners.

Example:

    BOX 20,20,120,120
    RBOX 170,20,270,120
    x=150
    DEFFILL 1,2,4
    PBOX 20,20+x,120,120+x
    PRBOX 170,20+x,270,120+x
    ~INP(2)

--> An ordinary rectangle is drawn, followed by one with rounded off corners.
    Finally both shapes are drawn again but with a different fill pattern. A
    key press is then waited for.

v_pline()+, v_bar()+, v_rbox()+, v_rfbox()+