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.15 by root, Mon Jun 4 16:03:32 2012 UTC vs.
Revision 1.16 by root, Mon Jun 4 16:12:55 2012 UTC

359 359
360rxvt_img * 360rxvt_img *
361rxvt_img::scale (int new_width, int new_height) 361rxvt_img::scale (int new_width, int new_height)
362{ 362{
363 double matrix[9] = { 363 double matrix[9] = {
364 new_width / (double)w, 0, 0, 364 w / (double)new_width, 0, 0,
365 0, new_height / (double)h, 0, 365 0, h / (double)new_height, 0,
366 0, 0, 1 366 0, 0, 1
367 }; 367 };
368 368
369 return transform (new_width, new_height, RepeatNormal, matrix); 369 return transform (new_width, new_height, RepeatNormal, matrix);
370} 370}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines