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

 #include   <graph.h>

 short _pie_wxy(control, wpoint1, wpoint2, wpoint3, wpoint4);
 short  control         Fill control value: _GFILLINTERIOR or _GBORDER
 struct _wxycoord _far *wpoint1;  Upper left of bounding rectangle
 struct _wxycoord _far *wpoint2;  Lower right of bounding rectangle
 struct _wxycoord _far *wpoint3;  Start vector
 struct _wxycoord _far *wpoint4;  End vector

    _pie_wxy() is the window pair version of _pie(); it draws a pie
    slice on the screen using window coordinates. The slice is actually
    an elliptical arc whose center and both endpoints are joined by
    lines. See _pie() 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: _pie() _pie_w() _getarcinfo()

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