Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 03-27-2003, 03:34 PM   #1
Registered: Jun 2002
Location: London
Distribution: Slackware
Posts: 201

Rep: Reputation: 30
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?

Old 03-27-2003, 03:36 PM   #2
Registered: Nov 2001
Location: London, England
Distribution: Gentoo, FreeBSD
Posts: 590

Rep: Reputation: 30
Use SDL.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
C++ text file line by line/each line to string/array Dimitris Programming 15 03-11-2008 08:22 AM
drawing line in php on web page pranith Programming 6 06-21-2005 04:14 AM
Drawing Program? ZingSter SUSE / openSUSE 1 12-26-2004 11:31 PM
in need of Math drawing Hjalte Linux - Software 1 10-31-2004 01:53 PM
Diagram Drawing leckie Linux - Software 3 08-18-2004 08:54 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:17 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration