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_w() draw a rectangle (window coords)</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 _rectangle_w()          Draw a rectangle (window coords)

 #include   <graph.h>

 short _rectangle_w(control, wx1, wy1, wx2, wy2);
 short control;         _GBORDER or _GFILLINTERIOR
 double wx1, wy1;       Upper left of rectangle
 double wx2, wy2;       Lower right of rectangle

    _rectangle() is the window coordinates version of _rectangle(); it
    draws a rectangle with upper left corner (wx1, wy1) and lower
    right corner (wx2, wy2). 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