00001 #ifndef RAGE_SURFACE_UTILS_ZOOM_H 00002 #define RAGE_SURFACE_UTILS_ZOOM_H 00003 00004 struct RageSurface; 00005 namespace RageSurfaceUtils 00006 { 00007 void Zoom( RageSurface *&src, int width, int height ); 00008 }; 00009 00010 #endif 00011 00012 00013 /* 00014 * (c) A. Schiffler, Glenn Maynard 00015 * All rights reserved. 00016 * 00017 * Permission is hereby granted, free of charge, to any person obtaining a 00018 * copy of this software and associated documentation files (the 00019 * "Software"), to deal in the Software without restriction, including 00020 * without limitation the rights to use, copy, modify, merge, publish, 00021 * distribute, and/or sell copies of the Software, and to permit persons to 00022 * whom the Software is furnished to do so, provided that the above 00023 * copyright notice(s) and this permission notice appear in all copies of 00024 * the Software and that both the above copyright notice(s) and this 00025 * permission notice appear in supporting documentation. 00026 * 00027 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 00028 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 00029 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF 00030 * THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS 00031 * INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT 00032 * OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS 00033 * OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 00034 * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 00035 * PERFORMANCE OF THIS SOFTWARE. 00036 * 00037 * This is based on code from SDL_rotozoom, under the above license with 00038 * permission from Andreas Schiffler. 00039 */