Merge commit 'd918f23efaf486293b96418fe5deaff8a5583304' into upstream-merge
[qemu-kvm/fedora.git] / sdl_zoom.h
blob33dc63408b43a37fd6b1acde3fa62b1a51315e75
1 /*
2 * SDL_zoom - surface scaling
3 *
4 * Copyright (c) 2009 Citrix Systems, Inc.
6 * Derived from: SDL_rotozoom, LGPL (c) A. Schiffler from the SDL_gfx library.
7 * Modifications by Stefano Stabellini.
9 * This work is licensed under the terms of the GNU GPL version 2.
10 * See the COPYING file in the top-level directory.
14 #ifndef _SDL_zoom_h
15 #define _SDL_zoom_h
17 #include <SDL/SDL.h>
19 #define SMOOTHING_OFF 0
20 #define SMOOTHING_ON 1
22 int sdl_zoom_blit(SDL_Surface *src_sfc, SDL_Surface *dst_sfc,
23 int smooth, SDL_Rect *src_rect);
25 #endif /* _SDL_zoom_h */