src/render/software/SDL_rotate.h
changeset 12366 c46e72bd9950
parent 11811 5d94cb6b24d3
child 12503 806492103856
equal deleted inserted replaced
12365:09e3ef028bc8 12366:c46e72bd9950
    17   2. Altered source versions must be plainly marked as such, and must not be
    17   2. Altered source versions must be plainly marked as such, and must not be
    18      misrepresented as being the original software.
    18      misrepresented as being the original software.
    19   3. This notice may not be removed or altered from any source distribution.
    19   3. This notice may not be removed or altered from any source distribution.
    20 */
    20 */
    21 
    21 
       
    22 #ifndef SDL_rotate_h_
       
    23 #define SDL_rotate_h_
       
    24 
    22 #ifndef MIN
    25 #ifndef MIN
    23 #define MIN(a,b)    (((a) < (b)) ? (a) : (b))
    26 #define MIN(a,b)    (((a) < (b)) ? (a) : (b))
    24 #endif
    27 #endif
    25 
    28 
    26 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);
    29 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);
    27 extern void SDLgfx_rotozoomSurfaceSizeTrig(int width, int height, double angle, int *dstwidth, int *dstheight, double *cangle, double *sangle);
    30 extern void SDLgfx_rotozoomSurfaceSizeTrig(int width, int height, double angle, int *dstwidth, int *dstheight, double *cangle, double *sangle);
    28 
    31 
       
    32 #endif /* SDL_rotate_h_ */