Mercurial > otakunoraifu
diff window/picture.cc @ 71:1fd20d231376
Fix objScale with 2D zoom; implement objWidth and objHeight.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Fri, 01 Apr 2011 23:49:12 +0200 |
parents | 4416cfac86ae |
children |
line wrap: on
line diff
--- a/window/picture.cc +++ b/window/picture.cc @@ -961,8 +961,8 @@ Surface* PicRoot::NewSurface(const char* return s; } -Surface* PicRoot::RotZoomSurface(Surface* from, double zoom, double rotate) { - Surface* ret = (Surface*)rotozoomSurface( (SDL_Surface*)from, rotate, zoom, SMOOTHING_OFF); +Surface* PicRoot::RotZoomSurface(Surface* from, double zoomx, double zoomy, double rotate) { + Surface* ret = (Surface*)rotozoomSurfaceXY( (SDL_Surface*)from, rotate, zoomx, zoomy, SMOOTHING_OFF); return ret; }