Drawing RGB data

Matthias Scheler <[email protected]>
Newsgroups gmane.comp.xfree86.devel
Message-ID <[email protected]>
	Hello,

I'm searching for a piece of example code for displaying a two dimensional
array of 32 bit words with RGB color values in a X11 window. I guess
I need to use XCreateImage(..., ZPixmap, ...) followed by XPutImage().
But I'm couldn't find an example for using XCreateImage() for that purpose.

	Kind regards

-- 
Matthias Scheler                                  http://scheler.de/~matthias/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.