Mercurial > otakunoraifu
diff window/picture.h @ 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.h +++ b/window/picture.h @@ -216,7 +216,7 @@ struct PicRoot { Surface* NewSurfaceFromRGBAData(int w, int h, char* data, MaskType with_mask) const; // data は malloc されたものであること(SDLの内部仕様) Surface* NewSurface(int w, int h, MaskType with_mask) const; Surface* NewSurface(const char* filename, MaskType with_mask = ALPHA_MASK); - Surface* RotZoomSurface(Surface* from, double zoom, double rotate_angle); + Surface* RotZoomSurface(Surface* from, double zoomx, double zoomy, double rotate_angle); void DeleteSurface(Surface* s); void BlitSurface(Surface* src, const Rect& src_rpos, const unsigned char* alpha, const Rect& alpha_r, Surface* dest, const Rect& dest_rpos, int attribute) const; void BlitSurface(Surface* src, const Rect& src_rpos, Surface* dest, const Rect& dest_rpos) const {