Topic : Pure C Library Documentation Author : John Kormylo Version : LIB.HYP 1.0 Subject : Documentation/Pure C Library Nodes : 1309 Index Size : 32068 HCP-Version : 3 Compiled on : Atari @charset : atarist @lang : en @default : @help : Help @options : +g -i -s +x +z -t4 @width : 75 View Ref-File[ line ] #include <graphics.h> void line( int x1, int y1, int x2, int y2 ); <x1> is the horizontal position for starting point. <y1> is the vertical position for the starting point. <x2> is the horizontal position for ending point. <y2> is the vertical position for the ending point. Function draws a straight line connecting two points. VDI: v_pline() See also BGI Primitives, setlinestyle(), setcolor(), setwritemode() & graphresult().