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

 #include   <graph.h>

 short _polygon_w(control, points, numpoints);
 short control;                 Fill control: _GBORDER or _GFILLINTERIOR
 double_far *points;            Array of data points (i.e. vertices)
 short numpoints;               Number of points (i.e. vertices)

    _polygon_w() is the window coordinates version of _polygon(); it
    draws a polygon on the screen, taking the numpoints points in
    the array points for the polygon's vertices. See _polygon() for
    more information and an example.

    Returns:    Nonzero value for success; 0 otherwise.

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


See Also: _lineto() _polygon() _setcolor() _setfillmask() _setlinestyle()

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