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)
gabomdq@6320
     1
#ifndef MIN
gabomdq@6320
     2
#define MIN(a,b)    (((a) < (b)) ? (a) : (b))
gabomdq@6320
     3
#endif
gabomdq@6320
     4
gabomdq@6320
     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);
gabomdq@6320
     6
extern void _rotozoomSurfaceSizeTrig(int width, int height, double angle, int *dstwidth, int *dstheight, double *cangle, double *sangle);