1 #ifndef __ROTATE 2 #define __ROTATE 1 3 4 #include "common.h" 5 #include "image.h" 6 #include "colormod.h" 7 #include "blend.h" 8 9 /*\ Calc precision \*/ 10 #define _ROTATE_PREC 12 11 #define _ROTATE_PREC_MAX (1 << _ROTATE_PREC) 12 #define _ROTATE_PREC_BITS (_ROTATE_PREC_MAX - 1) 13 14 void __imlib_RotateSample(DATA32 * src, DATA32 * dest, 15 int sow, int sw, int sh, 16 int dow, int dw, int dh, 17 int x, int y, 18 int dxh, int dyh, int dxv, int dyv); 19 void __imlib_RotateAA(DATA32 * src, DATA32 * dest, 20 int sow, int sw, int sh, 21 int dow, int dw, int dh, 22 int x, int y, int dx, int dy, 23 int dxv, int dyv); 24 void __imlib_BlendImageToImageSkewed(ImlibImage * im_src, 25 ImlibImage * im_dst, 26 char aa, char blend, 27 char merge_alpha, 28 int ssx, int ssy, 29 int ssw, int ssh, 30 int ddx, int ddy, 31 int hsx, int hsy, 32 int vsx, int vsy, 33 ImlibColorModifier * cm, 34 ImlibOp op, 35 int clx, int cly, 36 int clw, int clh); 37 38 #ifdef DO_MMX_ASM 39 void __imlib_mmx_RotateAA(DATA32 * src, DATA32 * dest, int sow, 40 int sw, int sh, int dow, int dw, 41 int dh, int x, int y, int dx, int dy, 42 int dxv, int dyv); 43 #endif 44 #endif 45