blob: 74955bc944faaa2c1c9799db0e798acb96209691 [file] [log] [blame]
Stefano Stabellinic18a2c32009-06-24 11:58:25 +01001/*
2 * SDL_zoom - surface scaling
3 *
4 * Copyright (c) 2009 Citrix Systems, Inc.
5 *
6 * Derived from: SDL_rotozoom, LGPL (c) A. Schiffler from the SDL_gfx library.
7 * Modifications by Stefano Stabellini.
8 *
9 * This work is licensed under the terms of the GNU GPL version 2.
10 * See the COPYING file in the top-level directory.
11 *
12 */
13
malc14473792009-07-02 18:19:31 +040014#ifndef SDL_zoom_h
15#define SDL_zoom_h
Stefano Stabellinic18a2c32009-06-24 11:58:25 +010016
malce2b19c82009-07-08 18:25:37 +040017#include <SDL.h>
Stefano Stabellinic18a2c32009-06-24 11:58:25 +010018
19#define SMOOTHING_OFF 0
20#define SMOOTHING_ON 1
21
22int sdl_zoom_blit(SDL_Surface *src_sfc, SDL_Surface *dst_sfc,
23 int smooth, SDL_Rect *src_rect);
24
malc14473792009-07-02 18:19:31 +040025#endif /* SDL_zoom_h */