LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Drawing a line (https://www.linuxquestions.org/questions/linux-general-1/drawing-a-line-52068/)

chr15t0 03-27-2003 03:34 PM

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

llama_meme 03-27-2003 03:36 PM

Use SDL.

Alex


All times are GMT -5. The time now is 01:36 AM.