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