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.19 by root, Thu Jun 7 08:36:09 2012 UTC vs.
Revision 1.22 by root, Thu Jun 7 17:21:56 2012 UTC

35 Pixmap pm; 35 Pixmap pm;
36 pixref *ref; // shared refcnt 36 pixref *ref; // shared refcnt
37 int x, y, w, h, repeat; 37 int x, y, w, h, repeat;
38 XRenderPictFormat *format; 38 XRenderPictFormat *format;
39 39
40 rxvt_img (rxvt_screen *screen, XRenderPictFormat *format, int x, int y, int width, int height); 40 rxvt_img (rxvt_screen *screen, XRenderPictFormat *format, int x, int y, int width, int height, int repeat = RepeatNormal);
41 rxvt_img (const rxvt_img &img); 41 rxvt_img (const rxvt_img &img);
42 42
43 //rxvt_img (rxvt_screen *screen, XRenderPictFormat *format, int width, int height, Pixmap pixmap); 43 //rxvt_img (rxvt_screen *screen, XRenderPictFormat *format, int width, int height, Pixmap pixmap);
44 static rxvt_img *new_from_root (rxvt_screen *s); // get root pixmap 44 static rxvt_img *new_from_root (rxvt_screen *s); // get root pixmap
45 static rxvt_img *new_from_file (rxvt_screen *s, const char *filename); // from pixbuf 45 static rxvt_img *new_from_file (rxvt_screen *s, const char *filename); // from pixbuf
53 } 53 }
54 54
55 // inplace 55 // inplace
56 void move (int dx, int dy) 56 void move (int dx, int dy)
57 { 57 {
58 x += dx; 58 x -= dx;
59 y += dy; 59 y -= dy;
60 } 60 }
61 61
62 void repeat_mode (int repeat) 62 void repeat_mode (int repeat)
63 { 63 {
64 this->repeat = repeat; 64 this->repeat = repeat;
93 rxvt_img *clone (); 93 rxvt_img *clone ();
94 rxvt_img *sub_rect (int x, int y, int width, int height); 94 rxvt_img *sub_rect (int x, int y, int width, int height);
95 rxvt_img *transform (int new_width, int new_height, double matrix[9]); 95 rxvt_img *transform (int new_width, int new_height, double matrix[9]);
96 rxvt_img *scale (int new_width, int new_height); 96 rxvt_img *scale (int new_width, int new_height);
97 rxvt_img *rotate (int new_width, int new_height, int x, int y, double phi); 97 rxvt_img *rotate (int new_width, int new_height, int x, int y, double phi);
98 rxvt_img *convert_to (XRenderPictFormat *format, const rxvt_color &bg); 98 rxvt_img *convert_format (XRenderPictFormat *format, const rxvt_color &bg);
99 rxvt_img *blend (rxvt_img *img, double factor); 99 rxvt_img *blend (rxvt_img *img, double factor);
100}; 100};
101 101
102#endif 102#endif
103 103

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines