Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FiveWin 1.9.2 - January 97 - lineto() draws a line from the current position up to another http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 LineTo()               Draws a line from the current position up to another
--------------------------------------------------------------------------------

   Syntax:              LineTo( <hDC>, <nRow>, <nCol>, <hPen> )  --> <lSuccess>


   Parameters:

   <hDC>                Identifies the device context where to paint the line.
                        In FiveWin: <oWnd>:GetDC() and later: <oWnd>:hDC.

   <nRow>, <nCol>       The coordinates of the line End-point.


   Returns:

   <lSuccess>           If successfully completed.

   Observations:        This function draws a line from the current painting
                        position up to the end of the line. Use MoveTo()
                        to select the start painting position.

   Sample:              SAMPLES\\Lineas.prg   SAMPLES\\TestGraf.prg

   Source code:         SOURCE\\WINAPI\\LineTo.c

   See also:            MoveTo() CreatePen()



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