--- rxvt-unicode/src/rxvtimg.h 2012/06/07 08:36:09 1.19 +++ rxvt-unicode/src/rxvtimg.h 2012/06/07 17:21:56 1.22 @@ -37,7 +37,7 @@ int x, y, w, h, repeat; XRenderPictFormat *format; - rxvt_img (rxvt_screen *screen, XRenderPictFormat *format, int x, int y, int width, int height); + rxvt_img (rxvt_screen *screen, XRenderPictFormat *format, int x, int y, int width, int height, int repeat = RepeatNormal); rxvt_img (const rxvt_img &img); //rxvt_img (rxvt_screen *screen, XRenderPictFormat *format, int width, int height, Pixmap pixmap); @@ -55,8 +55,8 @@ // inplace void move (int dx, int dy) { - x += dx; - y += dy; + x -= dx; + y -= dy; } void repeat_mode (int repeat) @@ -95,7 +95,7 @@ rxvt_img *transform (int new_width, int new_height, double matrix[9]); rxvt_img *scale (int new_width, int new_height); rxvt_img *rotate (int new_width, int new_height, int x, int y, double phi); - rxvt_img *convert_to (XRenderPictFormat *format, const rxvt_color &bg); + rxvt_img *convert_format (XRenderPictFormat *format, const rxvt_color &bg); rxvt_img *blend (rxvt_img *img, double factor); };