root / sdl_zoom.h @ 67f0875e
History | View | Annotate | Download (578 Bytes)
1 | c18a2c36 | Stefano Stabellini | /*
|
---|---|---|---|
2 | c18a2c36 | Stefano Stabellini | * SDL_zoom - surface scaling
|
3 | c18a2c36 | Stefano Stabellini | *
|
4 | c18a2c36 | Stefano Stabellini | * Copyright (c) 2009 Citrix Systems, Inc.
|
5 | c18a2c36 | Stefano Stabellini | *
|
6 | c18a2c36 | Stefano Stabellini | * Derived from: SDL_rotozoom, LGPL (c) A. Schiffler from the SDL_gfx library.
|
7 | c18a2c36 | Stefano Stabellini | * Modifications by Stefano Stabellini.
|
8 | c18a2c36 | Stefano Stabellini | *
|
9 | c18a2c36 | Stefano Stabellini | * This work is licensed under the terms of the GNU GPL version 2.
|
10 | c18a2c36 | Stefano Stabellini | * See the COPYING file in the top-level directory.
|
11 | c18a2c36 | Stefano Stabellini | *
|
12 | c18a2c36 | Stefano Stabellini | */
|
13 | c18a2c36 | Stefano Stabellini | |
14 | 1447379b | malc | #ifndef SDL_zoom_h
|
15 | 1447379b | malc | #define SDL_zoom_h
|
16 | c18a2c36 | Stefano Stabellini | |
17 | e2b19c85 | malc | #include <SDL.h> |
18 | c18a2c36 | Stefano Stabellini | |
19 | c18a2c36 | Stefano Stabellini | #define SMOOTHING_OFF 0 |
20 | c18a2c36 | Stefano Stabellini | #define SMOOTHING_ON 1 |
21 | c18a2c36 | Stefano Stabellini | |
22 | c18a2c36 | Stefano Stabellini | int sdl_zoom_blit(SDL_Surface *src_sfc, SDL_Surface *dst_sfc,
|
23 | c18a2c36 | Stefano Stabellini | int smooth, SDL_Rect *src_rect);
|
24 | c18a2c36 | Stefano Stabellini | |
25 | 1447379b | malc | #endif /* SDL_zoom_h */ |