Skip to content

Latest commit

 

History

History
7 lines (5 loc) · 405 Bytes

SDL_rotate.h

File metadata and controls

7 lines (5 loc) · 405 Bytes
 
1
2
3
4
5
6
#ifndef MIN
#define MIN(a,b) (((a) < (b)) ? (a) : (b))
#endif
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);
extern void SDLgfx_rotozoomSurfaceSizeTrig(int width, int height, double angle, int *dstwidth, int *dstheight, double *cangle, double *sangle);