[SDL] Accesing pixels directly in an image

Rodolfo Borges rodolfo.borges at gmail.com
Wed Sep 13 10:09:33 PDT 2006


also:
http://www.libsdl.org/cgi/docwiki.cgi/Pixel_20Access

this library has it, and other useful routines too:
http://www.ferzkopp.net/Software/SDL_gfx-2.0/

On 9/13/06, Alfonso Palma <ponchete at yahoo.com> wrote:
>
>
>
> Getpixel? putpixel? where are those?
>
>
> And
>
> I tried to cast the pointer but i got some error
> saying that it's imposible
>
> error C2440: 'type cast' : cannot convert from 'void'
> to 'unsigned int *' Expressions of type void cannot be
> converted to other types.
>
> Anyway Thank you for the help!!!
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl
>


-- 
Rodolfo Borges




More information about the SDL mailing list