How linux os handles 2D graphics: fundamental doubt.
To my knowledge, linux boots into text mode. (Correct me if I am wrong.) Then it switches to graphical mode. Which library in linux handles the graphical drawings like line, rectangle, circle, pixel etc? I mean, where is the code for drawline, drawcircle, drawpixel etc? Is X responsible for doing all these? Where can I find the code for these functions for linux os?
Yes, it is X (afaik).
Did you really try to search LQ or the web for this?
I googled, "GNU/Linux drawline", without the quotes.
And found many listings.
we (LQ and I) can only help if you know what you want.
this link points to a more programmer view...http://cboard.cprogramming.com/linux...ing-linux.html
Just one of many pages....
Cheers, Glenn (late one afternoon)
X will give you a basic framework for displaying graphics. The real work of drawing things is mostly done by frameworks like GTK or Qt, or by the applications themselves.
|All times are GMT -5. The time now is 01:03 PM.|