--- rxvt-unicode/src/rxvtimg.h 2012/06/10 10:29:26 1.30 +++ rxvt-unicode/src/rxvtimg.h 2012/06/14 18:06:15 1.34 @@ -67,7 +67,8 @@ } void unshare (); // prepare for write - void fill (const rxvt_color &c); + void fill (const rgba &c); + void add_alpha (); //void linear_gradient (const XLinearGradient *gradient, const XFixed *stops, const XRenderColor *colors, int nstops); //void radial_gradient (const XRadialGradient *gradient, const XFixed *stops, const XRenderColor *colors, int nstops); //void conical_gradient (const XConicalGradient *gradient, const XFixed *stops, const XRenderColor *colors, int nstops); @@ -95,10 +96,10 @@ 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[3][3]); 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_format (XRenderPictFormat *format, const rxvt_color &bg); + rxvt_img *rotate (int cx, int cy, double phi); + rxvt_img *convert_format (XRenderPictFormat *format, const rgba &bg); rxvt_img *blend (rxvt_img *img, double factor); // egregiuous helper category