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

Comparing rxvt-unicode/src/perl/background (file contents):
Revision 1.61 by root, Fri Jun 15 19:50:56 2012 UTC vs.
Revision 1.62 by root, Sun Jun 17 21:58:18 2012 UTC

258 } 258 }
259 259
260=item root 260=item root
261 261
262Returns the root window pixmap, that is, hopefully, the background image 262Returns the root window pixmap, that is, hopefully, the background image
263of your screen. The image is set to extend mode. 263of your screen.
264 264
265This function makes your expression root sensitive, that means it will be 265This function makes your expression root sensitive, that means it will be
266reevaluated when the bg image changes. 266reevaluated when the bg image changes.
267 267
268=cut 268=cut
304 } 304 }
305 305
306=item merge $img ... 306=item merge $img ...
307 307
308Takes any number of images and merges them together, creating a single 308Takes any number of images and merges them together, creating a single
309image containing them all. 309image containing them all. The tiling mode of the first image is used as
310the tiling mdoe of the resulting image.
310 311
311This function is called automatically when an expression returns multiple 312This function is called automatically when an expression returns multiple
312images. 313images.
313 314
314=cut 315=cut
335 $x1 = $x if $x1 < $x; 336 $x1 = $x if $x1 < $x;
336 $y1 = $y if $y1 < $y; 337 $y1 = $y if $y1 < $y;
337 } 338 }
338 339
339 my $base = $self->new_img (urxvt::PictStandardARGB32, $x0, $y0, $x1 - $x0, $y1 - $y0); 340 my $base = $self->new_img (urxvt::PictStandardARGB32, $x0, $y0, $x1 - $x0, $y1 - $y0);
341 $base->repeat_mode ($_[0]->repeat_mode);
340 $base->fill ([0, 0, 0, 0]); 342 $base->fill ([0, 0, 0, 0]);
341 343
342 $base->draw ($_) 344 $base->draw ($_)
343 for @_; 345 for @_;
344 346

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines