Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Microsoft C 6.0 - <b>_rectangle_wxy() draw a rectangle (window pair coords)</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 _rectangle_wxy()        Draw a rectangle (window pair coords)

 #include   <graph.h>

 short _rectangle_wxy(control, wpoint1, wpoint2);
 short control;                         _GBORDER or _GFILLINTERIOR
 struct _wxycoord _far *wpoint1         Upper left of rectangle
 struct _wxycoord _far *wpoint2         Lower right of rectangle

    _rectangle_wxy() is the window pair coordinates version of
    _rectangle(); it draws a rectangle with upper left corner wpoint1
    and lower right corner wpoint2. See _rectangle() for more information.

    Returns:    Nonzero value for success; 0 otherwise.

   Portability:     MS-DOS only, true MDPA, CGA, EGA, MCGA, or VGA video
                    compatibles


See Also: _lineto() _rectangle() _setcolor() _setfillmask()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson