QEMU main repository: Please see https://www.qemu.org/docs/master/devel/submitting-a-patch.html for how to submit changes to QEMU. Pull Requests are ignored. Please only use release tarballs from the QEMU website. http://www.qemu.org
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
578 B
25 lines
578 B
/*
|
|
* 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.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 */
|
|
|