graphics.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.
_rectangle Functions
 Description Example                     Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
  Include:   <graph.h>
 
  Syntax:    short _rectangle( short control, short x1, short y1,
                               short x2, short y2 );
 
             short _rectangle_w( short control, double wx1, double wy1,
                                 double wx2, double wy2 );
 
             short _rectangle_wxy( short control,
                                   struct _wxycoord _far *pwxy1,
                                   struct _wxycoord _far *pwxy2 );
 
             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
                                    -♦-