src/render/software/SDL_rotate.h
author Gabriel Jacobo
Fri, 01 Jun 2012 19:51:08 -0300
changeset 6320 6077a1310907
child 6375 93f9a24d1c02
permissions -rw-r--r--
RenderCopyEx,rotation and flipping for all hardware/software backends (#1308)
     1 #ifndef MIN
     2 #define MIN(a,b)    (((a) < (b)) ? (a) : (b))
     3 #endif
     4 
     5 extern SDL_Surface *_rotateSurface(SDL_Surface * src, double angle, int centerx, int centery, int smooth, int flipx, int flipy, int dstwidth, int dstheight, double cangle, double sangle);
     6 extern void _rotozoomSurfaceSizeTrig(int width, int height, double angle, int *dstwidth, int *dstheight, double *cangle, double *sangle);