Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Flipper 6.0 Help File - <b>fpoly_line()</b> g_exam07 http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
FPOLY_LINE()                                                        G_EXAM07
   Draws a series of line segments.

   Syntax
         FPOLY_LINE(nX,nY,aPoints,nColor [,nNumPoints])

   Arguments
         nX          Absolute horizontal offset.
         nY          Absolute vertical offset.
         aPoints     Array of points.
         nColor      Palette color number. (0-15)
         OPTIONAL PARAMETERS
         nNumPoints  Sets the number of points in the array.

   Returns
         None

   Description
         FPOLY_LINE() draws a series of lines specified in the aPoints array.
         nX,nY sets the starting point for drawing the polygon and all points
         in aPoints are relative to this starting point. You can create an
         array of points to draw an image, and put the image anywhere by
         changing the starting point.

         The closed polyfigure can be be filled with a solid or pattern by
         setting a pattern with PAT_SETFIL().

         FLP_CAP can be used in place of nX,nY to draw the line at the current
         active point.

         A fifth optional parameter can be used to set the number of points
         in the array so the same array can be used over and over in Clipper.

See Also: FLINE() PAT_SETFIL() PLINE()

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