forlang.hlp (Table of Contents; Topic list)
polygon, polygon_w
 Summary Example                         Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     The polygon functions draw polygons. The border of each polygon is
     drawn in the current color and line style. The polygon function
     uses the view coordinate system (expressed in xycoord structures).
     The polygon_w function uses the window coordinate system
     (expressed in wxycoord structures).
 
     The <points> argument is an array of xycoord or wxycoord structures
     that specifies each of the vertices of the polygon.
 
     The <numpoints> argument indicates the number of elements in
     <points> (the number of vertices).
 
     The <control> argument can be one of the following symbolic
     constants:
 
     $GBORDER         Draws the border of the polygon using the current
                      line style.
 
     $GFILLINTERIOR   Draws a solid polygon using the current fill mask.
 
     The setwritemode, setlinestyle, and setfillmask functions all
     affect the output from these functions.
 
     Return Value
 
     The polygon and polygon_w functions return a nonzero value if the
     polygon is drawn successfully, or 0 if an error occurs.
                                    -♦-