sdl_zoom.h 578 Bytes
Newer Older
Stefano Stabellini's avatar
Stefano Stabellini committed
1 2 3 4 5 6 7 8 9 10 11 12 13
/*
 * 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.
 *
 */

malc's avatar
malc committed
14 15
#ifndef SDL_zoom_h
#define SDL_zoom_h
Stefano Stabellini's avatar
Stefano Stabellini committed
16

malc's avatar
malc committed
17
#include <SDL.h>
Stefano Stabellini's avatar
Stefano Stabellini committed
18 19 20 21 22 23 24

#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);

malc's avatar
malc committed
25
#endif /* SDL_zoom_h */