Files
itgmania212121/stepmania/src/SDL_rotozoom.h
T

29 lines
537 B
C

/*
SDL_rotozoom - rotozoomer
LGPL (c) A. Schiffler
*/
#ifndef SDL_ROTOZOOM_H
#define SDL_ROTOZOOM_H 1
#include "SDL.h"
/*
zoomSurface()
Zoomes a 32bit or 8bit 'src' surface to newly created 'dst' surface.
'zoomx' and 'zoomy' are scaling factors for width and height. If 'smooth' is 1
then the destination 32bit surface is anti-aliased. If the surface is not 8bit
or 32bit RGBA/ABGR it will be converted into a 32bit RGBA format on the fly.
*/
void zoomSurface(SDL_Surface *&src, int dstwidth, int dstheight);
#endif