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

 #include   <graph.h>

 short _polygon_wxy(control, points, numpoints);
 short control;                 Fill control: _GBORDER or _GFILLINTERIOR
 struct _wxycoord _far *points; Array of data points (i.e. vertices)
 short numpoints;               Number of points (i.e. vertices)

    _polygon_wxy() is the window pair coordinates version of
    _polygon(); it draws a polygon on the screen, taking the
    numpoints points in points for the polygon's vertices. Each
    of the points are stored as an _wxycoord structure. See _polygon()
    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() _polygon() _setcolor() _setfillmask() _setlinestyle()

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