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

Comparing rxvt-unicode/src/rxvtimg.C (file contents):
Revision 1.44 by root, Thu Jun 7 13:12:08 2012 UTC vs.
Revision 1.45 by root, Thu Jun 7 17:21:56 2012 UTC

515 515
516 return transform (new_width, new_height, matrix); 516 return transform (new_width, new_height, matrix);
517} 517}
518 518
519rxvt_img * 519rxvt_img *
520rxvt_img::convert_to (XRenderPictFormat *new_format, const rxvt_color &bg) 520rxvt_img::convert_format (XRenderPictFormat *new_format, const rxvt_color &bg)
521{ 521{
522 if (new_format == format) 522 if (new_format == format)
523 return clone (); 523 return clone ();
524 524
525 rxvt_img *img = new rxvt_img (s, new_format, 0, 0, w, h, repeat); 525 rxvt_img *img = new rxvt_img (s, new_format, x, y, w, h, repeat);
526 img->alloc (); 526 img->alloc ();
527 527
528 Display *dpy = s->display->dpy; 528 Display *dpy = s->display->dpy;
529 Picture src = src_picture (); 529 Picture src = src_picture ();
530 Picture dst = XRenderCreatePicture (dpy, img->pm, new_format, 0, 0); 530 Picture dst = XRenderCreatePicture (dpy, img->pm, new_format, 0, 0);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines