--- rxvt-unicode/src/rxvtimg.h 2012/06/17 21:58:18 1.43 +++ rxvt-unicode/src/rxvtimg.h 2012/11/13 08:45:35 1.47 @@ -89,10 +89,12 @@ 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); //void conical_gradient (const XConicalGradient *gradient, const XFixed *stops, const XRenderColor *colors, int nstops); + void brightness (int32_t r, int32_t g, int32_t b, int32_t a); void contrast (int32_t r, int32_t g, int32_t b, int32_t a); @@ -129,8 +131,9 @@ rxvt_img *convert_format (XRenderPictFormat *format, const rgba &bg); rxvt_img *tint (const rgba &c); rxvt_img *filter (const char *name, int nparams = 0, nv *params = 0); + rxvt_img *muladd (nv mul, nv add); // general multiply and add, implemented as the biggest hack ever :/ - // egregiuous helper category + // egregious helper category rxvt_img *replace (rxvt_img *&p) { delete p;