--- rxvt-unicode/src/rxvtimg.h 2012/06/07 10:22:55 1.20 +++ rxvt-unicode/src/rxvtimg.h 2012/06/07 21:28:10 1.24 @@ -37,12 +37,12 @@ int x, y, w, h, repeat; XRenderPictFormat *format; - rxvt_img (rxvt_screen *screen, XRenderPictFormat *format, int x, int y, int width, int height); + rxvt_img (rxvt_screen *screen, XRenderPictFormat *format, int x, int y, int width, int height, int repeat = RepeatNormal); rxvt_img (const rxvt_img &img); - //rxvt_img (rxvt_screen *screen, XRenderPictFormat *format, int width, int height, Pixmap pixmap); + static rxvt_img *new_from_pixbuf (rxvt_screen *s, GdkPixbuf *pb); // from pixbuf + static rxvt_img *new_from_file (rxvt_screen *s, const char *filename); // via pixbuf static rxvt_img *new_from_root (rxvt_screen *s); // get root pixmap - static rxvt_img *new_from_file (rxvt_screen *s, const char *filename); // from pixbuf ~rxvt_img (); @@ -85,8 +85,6 @@ float_to_component (a)); } - bool render_pixbuf (GdkPixbuf *pixbuf, int src_x, int src_y, int width, int height, int dst_x, int dst_y); - // copy rxvt_img *reify (); // make x, y 0, make real width/height rxvt_img *blur (int rh, int rv); @@ -95,7 +93,7 @@ rxvt_img *transform (int new_width, int new_height, double matrix[9]); 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_to (XRenderPictFormat *format, const rxvt_color &bg); + rxvt_img *convert_format (XRenderPictFormat *format, const rxvt_color &bg); rxvt_img *blend (rxvt_img *img, double factor); };