--- rxvt-unicode/src/rxvtimg.h 2012/06/09 17:28:03 1.29 +++ rxvt-unicode/src/rxvtimg.h 2012/06/12 10:45:53 1.31 @@ -13,7 +13,6 @@ class rxvt_img { - void alloc (); void destroy (); Picture src_picture (); @@ -39,6 +38,7 @@ rxvt_img (rxvt_screen *screen, XRenderPictFormat *format, int x, int y, int width, int height, int repeat = RepeatNormal); rxvt_img (const rxvt_img &img); + void alloc (); # if HAVE_PIXBUF static rxvt_img *new_from_pixbuf (rxvt_screen *s, GdkPixbuf *pb); // from pixbuf @@ -95,9 +95,9 @@ rxvt_img *blur (int rh, int rv); rxvt_img *clone (); rxvt_img *sub_rect (int x, int y, int width, int height); - rxvt_img *transform (int new_width, int new_height, double matrix[9]); + rxvt_img *transform (double matrix[9], int new_width = 0, int new_height = 0); 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 *rotate (int x, int y, double phi, int new_width = 0, int new_height = 0); rxvt_img *convert_format (XRenderPictFormat *format, const rxvt_color &bg); rxvt_img *blend (rxvt_img *img, double factor);