C Language and Libraries Help (clang.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
_polygon, _polygon_wxy
 Description Example                     Up Contents Index Back
─────Run-Time Library───────────────────────────────────────────────────────
 
  Include:   <graph.h>
 
  Syntax:    short _polygon( short control,
                             struct _xycoord __far *points,
                             short numpoints );
 
             short _polygon_w( short control, double __far *points,
                               short numpoints );
 
             short _polygon_wxy( short control,
                                 struct _wxycoord __far *points,
                                 short numpoints );
 
             control: _GFILLINTERIOR, _GBORDER
 
  Returns:   a nonzero value if the polygon is drawn successfully,
             or 0 if not.
 
  See also:  _lineto, _setlinestyle, _setwritemode
                                    -♦-