How to rotate, mirror and zoom a picture with sdl

Hi all!

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.

I will appreciate any helpful reply.

Thanks in advance

COMPILER

COMPILER <riccardo.cianci 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 .

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

Sam Crow wrote:> COMPILER <riccardo.cianci 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

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

Sam Crow wrote:> COMPILER <riccardo.cianci 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