Mercurial > otakunoraifu
comparison 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 |
comparison
equal
deleted
inserted
replaced
70:281dcd7217df | 71:1fd20d231376 |
---|---|
214 | 214 |
215 // Surface 操作 | 215 // Surface 操作 |
216 Surface* NewSurfaceFromRGBAData(int w, int h, char* data, MaskType with_mask) const; // data は malloc されたものであること(SDLの内部仕様) | 216 Surface* NewSurfaceFromRGBAData(int w, int h, char* data, MaskType with_mask) const; // data は malloc されたものであること(SDLの内部仕様) |
217 Surface* NewSurface(int w, int h, MaskType with_mask) const; | 217 Surface* NewSurface(int w, int h, MaskType with_mask) const; |
218 Surface* NewSurface(const char* filename, MaskType with_mask = ALPHA_MASK); | 218 Surface* NewSurface(const char* filename, MaskType with_mask = ALPHA_MASK); |
219 Surface* RotZoomSurface(Surface* from, double zoom, double rotate_angle); | 219 Surface* RotZoomSurface(Surface* from, double zoomx, double zoomy, double rotate_angle); |
220 void DeleteSurface(Surface* s); | 220 void DeleteSurface(Surface* s); |
221 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; | 221 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; |
222 void BlitSurface(Surface* src, const Rect& src_rpos, Surface* dest, const Rect& dest_rpos) const { | 222 void BlitSurface(Surface* src, const Rect& src_rpos, Surface* dest, const Rect& dest_rpos) const { |
223 BlitSurface(src, src_rpos, 0, Rect(0,0), dest, dest_rpos, 0); | 223 BlitSurface(src, src_rpos, 0, Rect(0,0), dest, dest_rpos, 0); |
224 } | 224 } |