Win32 BitBlt -> Xwindows ?
I have sample code that purports to render on a Windows platform -- I need to convert the rendering to an Linux platform. I presume that XWindows is the right way to go, but if I am wrong, please a quick whack upside the head would be appreciated.
I'm a bit of newbie on both fronts -- I usually do embedded code -- so please forgive if applicable.
The sample code contains a call to ::BitBlt( ... ) -- is there a direct mapping between that and Xwindow calls? From what I have been able to glean is that XCopyArea is probably close to the same as BitBlt, but what is a Drawable ?
Also, I'm not sure how to convert the DCs to GC, Display, etc. Sorry to be so vague, but if there is an easy way, I'd love to know about it!