forlang.hlp (Table of Contents; Topic list)
rectangle Functions
 Description Example                     Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Include:  FGRAPH.FI, FGRAPH.FD
 
  Type:     INTEGER*2 FUNCTION
 
  Routine:  rectangle( control, x1, y1, x2, y2 )
            INTEGER*2 control, x1, y1, x2, y2
 
            rectangle_w( control, wx1, wy1, wx2, wy2 )
            INTEGER*2 control
            DOUBLE PRECISION wx1, wy1, wx2, wy2
 
            control: $GBORDER, $GFILLINTERIOR
 
  Returns:  a nonzero value if the rectangle is drawn successfully, or
            0 if not.
 
  See also: arc, ellipse, floodfill, getcolor, lineto, pie,
            setcolor, setfillmask
                                    -♦-