graphics(geometrical figures) in linux through c or c++?
hi
i wanna do simple graphics in linux like drawing circles lines or other geometrical figures....can anyone tell me how to do it ...i mean what r the libraries required for drawing figures etc using c or c++ as the language...also help me with any reference site for the programmin details. thnx |
|
You will need graphics libraries, such as qt, gtk, or openGL.
A few seconds googling (www.google.com/linux) for 'c++ draw tutorial' will start you off. |
thank you both of u ...I will start it right off
|
I can't believe I forgot about ImageMagick. It has been around for quite a while, and many distros probably include it right out of the box.
--- rod. |
You can install svgalib from (http://svgalib.org) if you want to draw graphics without the need for X windows.
Svgalib has a nice library, namely vgagl, that provides you with basic drawing primitives. I have written a wrapper library for svgalib in C that makes graphics management much easier. You can mail me at josedsilva@yahoo.com for the latest source code. |
All times are GMT -5. The time now is 06:53 PM. |