--- rxvt-unicode/src/rxvtimg.h 2012/06/16 15:55:19 1.41 +++ rxvt-unicode/src/rxvtimg.h 2012/07/02 02:01:41 1.44 @@ -1,5 +1,5 @@ /*----------------------------------------------------------------------* - * File: rxvtimg.C + * File: rxvtimg.h *----------------------------------------------------------------------* * * All portions of code are copyright by their respective author/s. @@ -89,6 +89,7 @@ void unshare (); // prepare for write void fill (const rgba &c); + void fill (const rgba &c, int x, int y, int w, int h); 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); @@ -127,7 +128,8 @@ rxvt_img *scale (int new_width, int new_height); rxvt_img *rotate (int cx, int cy, nv phi); rxvt_img *convert_format (XRenderPictFormat *format, const rgba &bg); - rxvt_img *blend (rxvt_img *img, nv factor = 1.); + rxvt_img *tint (const rgba &c); + rxvt_img *filter (const char *name, int nparams = 0, nv *params = 0); // egregiuous helper category rxvt_img *replace (rxvt_img *&p) @@ -137,9 +139,9 @@ return this; } -private: - + /* these are considered private */ void destroy (); + rxvt_img *new_empty (); Picture picture (); rxvt_img *transform (const nv *matrix); };