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.88 by root, Thu Jun 14 19:42:01 2012 UTC vs.
Revision 1.89 by root, Thu Jun 14 19:44:31 2012 UTC

641 v = mat_apply (matrix, i, w+x, 0+y); min_it (rmin [i], v); max_it (rmax [i], v); 641 v = mat_apply (matrix, i, w+x, 0+y); min_it (rmin [i], v); max_it (rmax [i], v);
642 v = mat_apply (matrix, i, 0+x, h+y); min_it (rmin [i], v); max_it (rmax [i], v); 642 v = mat_apply (matrix, i, 0+x, h+y); min_it (rmin [i], v); max_it (rmax [i], v);
643 v = mat_apply (matrix, i, w+x, h+y); min_it (rmin [i], v); max_it (rmax [i], v); 643 v = mat_apply (matrix, i, w+x, h+y); min_it (rmin [i], v); max_it (rmax [i], v);
644 } 644 }
645 645
646 // TODO: adjust matrix for subpixel accuracy
646 int dx = floor (rmin [0]); 647 int dx = floor (rmin [0]);
647 int dy = floor (rmin [1]); 648 int dy = floor (rmin [1]);
648 649
649 int new_width = ceil (rmax [0] - dx); 650 int new_width = ceil (rmax [0] - dx);
650 int new_height = ceil (rmax [1] - dy); 651 int new_height = ceil (rmax [1] - dy);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines