Edit

kc3-lang/SDL/src/render/software/SDL_rotate.h

Branch :

  • Show log

    Commit

  • Author : Sam Lantinga
    Date : 2013-10-20 21:34:38
    Hash : 4ca34ad4
    Message : Prevent conflicts when linking both SDL2 and SDL2_gfx

  • src/render/software/SDL_rotate.h
  • #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);