[SDL] HOW TO ROTATE, MIRROR AND ZOOM A PICTURE WITH SDL

Leo M. Cabrera leo28c at gmail.com
Sat Sep 1 14:40:06 PDT 2007


I never could get SDL_gfx to install/compile properly on Winders, so I 
use SGE which is the same thing. :-P

Sam Crow wrote:
> COMPILER <riccardo.cianci <at> alice.it> writes:
>   
>> As specified in the subject, I'd like to know how to rotate a picture uaing the
>> desired angle,get its mirrored copy (specular as the feature included in the
>> professional photoediting softwares)and zoom it in and out.
>>     
>
> There are two ways to do this.  The slow but easy way is to use the rotozoom
> feature of SDL_GFX.
>
> The faster and more efficient way is to use a wrapper for OpenGL and let the
> graphics card do the work for you.  One such wrapper is hxRender and it is found
> at http://joel.slylabs.com/?q=node/4 .
>
> _______________________________________________
> SDL mailing list
> SDL at lists.libsdl.org
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>
>   



More information about the SDL mailing list