--- rxvt-unicode/src/rxvtimg.h 2012/06/04 18:17:25 1.10 +++ rxvt-unicode/src/rxvtimg.h 2012/06/06 20:20:23 1.14 @@ -33,17 +33,19 @@ // inplace void unshare (); // create a copy of the pixmap if !shared void fill (const rxvt_color &c); - void blur (int rh, int rv); void brightness (double r, double g, double b, double a = 1.); void contrast (double r, double g, double b, double a = 1.); bool render_pixbuf (GdkPixbuf *pixbuf, int src_x, int src_y, int width, int height, int dst_x, int dst_y); // copy + rxvt_img *blur (int rh, int rv); rxvt_img *clone (); - rxvt_img *transform (int new_width, int new_height, int repeat, double matrix[9]); + rxvt_img *sub_rect (int x, int y, int width, int height, int repeat = RepeatNormal); + rxvt_img *transform (int new_width, int new_height, double matrix[9], int repeat = RepeatNormal); rxvt_img *scale (int new_width, int new_height); - rxvt_img *rotate (int new_width, int new_height, int repeat, int x, int y, double phi); - rxvt_img *convert_to (XRenderPictFormat *format); + rxvt_img *rotate (int new_width, int new_height, int x, int y, double phi, int repeat = RepeatNormal); + rxvt_img *convert_to (XRenderPictFormat *format, const rxvt_color &bg); + rxvt_img *blend (rxvt_img *img, double factor); }; #endif