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.6 by root, Sun Jun 3 18:14:13 2012 UTC vs.
Revision 1.8 by root, Mon Jun 4 15:15:49 2012 UTC

1#ifndef IMG_H 1#ifndef IMG_H
2#define IMG_H 2#define IMG_H
3 3
4#if defined HAVE_BG_PIXMAP && defined BG_IMAGE_FROM_FILE && defined ENABLE_TRANSPARENCY && defined HAVE_PIXBUF 4#if HAVE_BG_PIXMAP && BG_IMAGE_FROM_FILE && ENABLE_TRANSPARENCY && HAVE_PIXBUF
5 #define HAVE_IMG 1 5 #define HAVE_IMG 1
6#endif 6#endif
7 7
8#if HAVE_IMG 8#if HAVE_IMG
9 9
29 shared = true; 29 shared = true;
30 return pm; 30 return pm;
31 } 31 }
32 32
33 // inplace 33 // inplace
34 void unshare (); // create a copy of the pixmap if !shared
34 void fill (const rxvt_color &c); 35 void fill (const rxvt_color &c);
35 void blur (int rh, int rv); 36 void blur (int rh, int rv);
36 void brightness (double r, double g, double b, double a = 1.); 37 void brightness (double r, double g, double b, double a = 1.);
37 void contrast (double r, double g, double b, double a = 1.); 38 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); 39 void render (GdkPixbuf *pixbuf, int src_x, int src_y, int width, int height, int dst_x, int dst_y);
39 40
40 // copy 41 // copy
41 rxvt_img *copy (); 42 rxvt_img *clone ();
42 rxvt_img *scale (int new_width, int new_height); 43 rxvt_img *scale (int new_width, int new_height);
43 rxvt_img *transform (int new_width, int new_height, double matrix[16]); 44 rxvt_img *transform (int new_width, int new_height, int repeat, double matrix[9]);
45 rxvt_img *convert_to (XRenderPictFormat *format);
44}; 46};
45 47
46#endif 48#endif
47 49
48#endif 50#endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines