X11 Graphics

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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_window ( horiz_res, vert_res, depth )
> 
> and
> 
> putpixel ( window, row, col, color )
> 
>         Could anybody suggest a custom library or wrapper around the
> cumbersome X11 library functions for the above purpose?

SDL is probably what you're looking for: http://www.libsdl.org
It's included on RHL 7.2 at least, dunno about earlier versions.

	- Panu -





[Index of Archives]     [Kernel Newbies]     [Red Hat General]     [Fedora]     [Red Hat Install]     [Linux Kernel Development]     [Yosemite News]

  Powered by Linux