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>pline()</b> g_exam07 http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
PLINE()                                                             G_EXAM07
   Draws a line in a direction and distance.

   Syntax
         PLINE(nX,nY,nRadius,nDegrees,nColor)

   Arguments
         nX          Starting X position.
         nY          Starting Y position.
         nRadius     length of the radius.
         nDegrees    Direction in tenths of degrees (0-3600).
         nColor      Palette color number. (0-15)

   Description
         PLINE() draws a line starting at nX,nY in tenths of degrees (0-3600)
         for length nRadius in the specified color. The aspect is specified
         with PIE_ASPECT() if desired. To move the current active point, CAP,
         to the end of the line without drawing the line, enter nColor as -1.

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

See Also: CAP_MOVE() FBOX() FLINE() FPOLY_LINE() PAT_SETLIN()

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