[SDL] How Can I get the color of a pixel?
cocobear
cocobear.cn at gmail.com
Tue Nov 27 19:55:51 PST 2007
于 Tue, 27 Nov 2007 02:05:31 -0500
L-28C <kixdemp at gmail.com> 写道:
> There's GetPixel() and PutPixel() functions in the SDL docs:
>
> http://www.libsdl.org/cgi/docwiki.cgi/Pixel_20Access?action=highlight&value=getpixel
>
> Enjoy! =D
>
Thanks! :-)
> cocobear wrote:
> > I want to know the color of pixel(x,y), how can I get it?
> >
> >
> >
> >
> > Regards!
> >
> > /*
> > *Welcome to cocobear's home!
> > *http://cocobear.cn
> > */
>
> _______________________________________________
> SDL mailing list
> SDL at lists.libsdl.org
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
Regards!
/*
*Welcome to cocobear's home!
*http://cocobear.cn
*/
More information about the SDL
mailing list