Drawing a line
I used to programme in C on under dos 6.2 I used Borland c++ v3.
It was easy to develop quite sophistocated robotic systems, which did real-time monitoring and control, with pretty graphics - painted straight into the DOS screen using graphics.h library and moveto() and lineto().
I just can't work out how to do this on a LInux box. I don't want to use GTK or anything of that nature - I just want to write a programme that will fire up a black window and draw a line across it... I'm talking about the simplest level or graphics programming here.
Can anyone tell me where I can start?
regards,
Christo
|