[SDL] The perfect transparent surface. ( Improved question )

Miguel Pragier pragier at gmail.com
Mon Nov 5 08:58:21 PST 2007


Miguel Pragier <pragier <at> gmail.com> writes:

> 
> 
> What's the better way to create a 100% transparent surface?
>  
> If exist a kind of 'design pattern" to create transparent surfaces, can 
anyone point me a code sample?
>  
> And can anyone tell me any information about the color masks?
>  
> 
> 
> _______________________________________________
> SDL mailing list
> SDL <at> lists.libsdl.org
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
> 


What's the best SDL's way to create a 800x600 32Bpp surface 100% transparent?

I know the SDL_CreateRGBSurface, but don't know much about the color mask. 
specially the AMask.


Thank you, everybody.



More information about the SDL mailing list