Re: X11 Graphics

2002-03-11 Thread Alan Peery
Steve Fernandez wrote: > Could somebody tell me the EASIEST way to open a 640x480 window > under X, and then color all the pixels individually using a 16-bit color > value? Maybe the code for xsetroot will contain what you need. It should be in the source code for any X Windows distribu

Re: X11 Graphics

2002-03-04 Thread Panu Matilainen
On Sun, 2002-03-03 at 08:57, ext Steve Fernandez wrote: > Hi guys, > > Could somebody tell me the EASIEST way to open a 640x480 window > under X, and then color all the pixels individually using a 16-bit color > value? What I'm looking for is something very, very fast and like > > create

X11 Graphics

2002-03-02 Thread Steve Fernandez
Hi guys, Could somebody tell me the EASIEST way to open a 640x480 window under X, and then color all the pixels individually using a 16-bit color value? What I'm looking for is something very, very fast and like create_window ( horiz_res, vert_res, depth ) and putpixel ( window, row, c