Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- dBsee 4.6 - The Library - <b>dfdraw()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
dfDraw()
Draws a line in graphic mode
------------------------------------------------------------------------------
Syntax:

     dfDraw( <nxMin>, <nyMin>            ,;
             <nxMax>, <nyMax>, <nCol> ) --> NIL

Parameters:

     <nxMin>, <nyMin> Starting coordinates.
     <nxMax>, <nyMax> Ending coordinates.
     <nCol>     Line color.

Returns:

     NIL

Description:

     Draws a line in graphic mode, using the specified color.

Example:

     dfModGrf( 13 )   // 320x200x256
     dfDraw( 0,0, 320, 200, 4 )  // Draws a red line
                                // across the screen

See also:

     dfModGrf(), dfPlot()

See Also: dfModGrf() dfPlot()

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