… | |
… | |
31 | } |
31 | } |
32 | |
32 | |
33 | // inplace |
33 | // inplace |
34 | void unshare (); // create a copy of the pixmap if !shared |
34 | void unshare (); // create a copy of the pixmap if !shared |
35 | void fill (const rxvt_color &c); |
35 | void fill (const rxvt_color &c); |
36 | void blur (int rh, int rv); |
|
|
37 | void brightness (double r, double g, double b, double a = 1.); |
36 | void brightness (double r, double g, double b, double a = 1.); |
38 | void contrast (double r, double g, double b, double a = 1.); |
37 | void contrast (double r, double g, double b, double a = 1.); |
39 | bool render_pixbuf (GdkPixbuf *pixbuf, int src_x, int src_y, int width, int height, int dst_x, int dst_y); |
38 | bool render_pixbuf (GdkPixbuf *pixbuf, int src_x, int src_y, int width, int height, int dst_x, int dst_y); |
40 | |
39 | |
41 | // copy |
40 | // copy |
|
|
41 | rxvt_img *blur (int rh, int rv); |
42 | rxvt_img *clone (); |
42 | rxvt_img *clone (); |
43 | rxvt_img *sub_rect (int x, int y, int width, int height, int repeat = RepeatNormal); |
43 | rxvt_img *sub_rect (int x, int y, int width, int height, int repeat = RepeatNormal); |
44 | rxvt_img *transform (int new_width, int new_height, double matrix[9], int repeat = RepeatNormal); |
44 | rxvt_img *transform (int new_width, int new_height, double matrix[9], int repeat = RepeatNormal); |
45 | rxvt_img *scale (int new_width, int new_height); |
45 | rxvt_img *scale (int new_width, int new_height); |
46 | rxvt_img *rotate (int new_width, int new_height, int x, int y, double phi, int repeat = RepeatNormal); |
46 | rxvt_img *rotate (int new_width, int new_height, int x, int y, double phi, int repeat = RepeatNormal); |