ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/src/rxvtimg.h
(Generate patch)

Comparing rxvt-unicode/src/rxvtimg.h (file contents):
Revision 1.2 by root, Sun Jun 3 10:01:32 2012 UTC vs.
Revision 1.4 by root, Sun Jun 3 16:54:04 2012 UTC

15 Pixmap pm; 15 Pixmap pm;
16 int w, h; 16 int w, h;
17 XRenderPictFormat *format; 17 XRenderPictFormat *format;
18 18
19 rxvt_img (rxvt_screen *screen, XRenderPictFormat *format, int width, int height); 19 rxvt_img (rxvt_screen *screen, XRenderPictFormat *format, int width, int height);
20 rxvt_img (rxvt_screen *screen, Pixmap *pixmap, XRenderPictFormat *format, int width, int height); 20 rxvt_img (rxvt_screen *screen, XRenderPictFormat *format, int width, int height, Pixmap pixmap);
21 rxvt_img (rxvt_screen *screen); // get root pixmap
22 rxvt_img (const char *filename); // from pixbuf
23
21 ~rxvt_img (); 24 ~rxvt_img ();
22
23 void render (GdkPixbuf *pixbuf, int src_x, int src_y, int width, int height, int dst_x, int dst_y);
24 25
25 Pixmap steal () 26 Pixmap steal ()
26 { 27 {
27 Pixmap res = pm; 28 Pixmap res = pm;
28 pm = 0; 29 pm = 0;
32 // inplace 33 // inplace
33 void fill (const rxvt_color &c); 34 void fill (const rxvt_color &c);
34 void blur (int rh, int rv); 35 void blur (int rh, int rv);
35 void brightness (double r, double g, double b, double a = 1.); 36 void brightness (double r, double g, double b, double a = 1.);
36 void contrast (double r, double g, double b, double a = 1.); 37 void contrast (double r, double g, double b, double a = 1.);
38 void render (GdkPixbuf *pixbuf, int src_x, int src_y, int width, int height, int dst_x, int dst_y);
37 39
38 // copy 40 // copy
39 rxvt_img *copy (); 41 rxvt_img *copy ();
40 rxvt_img *scale (int new_width, int new_height); 42 rxvt_img *scale (int new_width, int new_height);
41 rxvt_img *transform (int new_width, int new_height, double matrix[16]); 43 rxvt_img *transform (int new_width, int new_height, double matrix[16]);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines