[SDL] HOW TO ROTATE, MIRROR AND ZOOM A PICTURE WITH SDL
Sam Crow
samuraileumas at yahoo.com
Sat Sep 1 08:57:33 PDT 2007
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 .
More information about the SDL
mailing list