Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Turbo Pascal - <b> draw draw a line between two points pp 171</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 DRAW                   Draw a Line Between Two Points                pp 171

 Syntax:  Draw (Col1,Row1,Col2,Row2,Color) ;

 Type:    Integer

 Form:    Graphics Procedure

 Purpose: Draw a line between two points on the graphics screen.


 ----------------------------------------------------------------------------


 Usage:
       BEGIN
          GraphColorMode       ;   { Set 320x200 medium resolution mode      }
          Draw (0,0,319,199,1) ;   { Upper left to lower right diagonal line }
       END.

See Also: GraphWindow Palette Plot

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