diff options
Diffstat (limited to 'sdl_zoom.h')
-rw-r--r-- | sdl_zoom.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/sdl_zoom.h b/sdl_zoom.h new file mode 100644 index 0000000000..33dc63408b --- /dev/null +++ b/sdl_zoom.h @@ -0,0 +1,25 @@ +/* + * SDL_zoom - surface scaling + * + * Copyright (c) 2009 Citrix Systems, Inc. + * + * Derived from: SDL_rotozoom, LGPL (c) A. Schiffler from the SDL_gfx library. + * Modifications by Stefano Stabellini. + * + * This work is licensed under the terms of the GNU GPL version 2. + * See the COPYING file in the top-level directory. + * + */ + +#ifndef _SDL_zoom_h +#define _SDL_zoom_h + +#include <SDL/SDL.h> + +#define SMOOTHING_OFF 0 +#define SMOOTHING_ON 1 + +int sdl_zoom_blit(SDL_Surface *src_sfc, SDL_Surface *dst_sfc, + int smooth, SDL_Rect *src_rect); + +#endif /* _SDL_zoom_h */ |