Results 1 to 5 of 5
Is there a GDI or something of the sort in linux?...
- 10-27-2011 #1Just Joined!
- Join Date
- Oct 2011
- Posts
- 2
Windows GDI Linux Equivalent
Is there a GDI or something of the sort in linux?
- 10-30-2011 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,956
There are a number of libraries that provide similar services to the Windows Graphics Device Interface (GDI). Of course, there are the low-level X windows API's, as well as more current API's such as GTK, GTK+ (used with Gnome window managers), and Qt (used with KDE). So, there are a lot of roads that lead to Rome. What are you trying to accomplish?
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 10-30-2011 #3Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,956
BTW, for the low-level X-window interfaces and API's, there are at least 9 volumes that take up about 2 linear feet of shelf space...
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 11-01-2011 #4Just Joined!
- Join Date
- Oct 2011
- Posts
- 2
Im trying to create an offscreen BITMAP and use GDI to paint on it. Unfortunately GDI is only for Windows.
- 11-01-2011 #5Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,956
These are called frame buffers and X windows can certainly support what you want. You need to do some reading to find out how to create such double buffers and how to switch one for the other quickly. All current video hardware has support for that, and you should be able to use the video RAM to do it, resulting in very efficient performance.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!


Reply With Quote
