src/render/software/SDL_rotate.h
author Sam Lantinga
Sun, 20 Oct 2013 21:34:38 -0700
changeset 7859 af63b63e7aac
parent 6375 93f9a24d1c02
child 8616 ec011c16e2fd
permissions -rw-r--r--
Prevent conflicts when linking both SDL2 and SDL2_gfx
     1 #ifndef MIN
     2 #define MIN(a,b)    (((a) < (b)) ? (a) : (b))
     3 #endif
     4 
     5 extern SDL_Surface *SDLgfx_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 SDLgfx_rotozoomSurfaceSizeTrig(int width, int height, double angle, int *dstwidth, int *dstheight, double *cangle, double *sangle);
     7