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

Comparing rxvt-unicode/src/xpm.C (file contents):
Revision 1.52 by sasha, Fri Jul 27 22:52:08 2007 UTC vs.
Revision 1.53 by sasha, Tue Jul 31 22:24:36 2007 UTC

952 tint = shading2tint32 (&as_shade); 952 tint = shading2tint32 (&as_shade);
953 } 953 }
954 954
955 if (rs[Rs_blurradius] && back_im) 955 if (rs[Rs_blurradius] && back_im)
956 { 956 {
957 double r = atof(rs[Rs_blurradius]); 957 ASImage* tmp;
958 int junk;
959 unsigned int hr = 1, vr = 1;
960 int flags = XParseGeometry (rs[Rs_blurradius], &junk, &junk, &hr, &vr);
961 if (!(flags&WidthValue))
962 hr = 1;
963 if (!(flags&HeightValue))
964 vr = hr;
958 ASImage* tmp = blur_asimage_gauss (asv, back_im, r, r, 0xFFFFFFFF, 965 tmp = blur_asimage_gauss (asv, back_im, hr, vr, 0xFFFFFFFF,
959 (original_asim == NULL || tint == TINT_LEAVE_SAME)?ASA_XImage:ASA_ASImage, 966 (original_asim == NULL || tint == TINT_LEAVE_SAME)?ASA_XImage:ASA_ASImage,
960 100, ASIMAGE_QUALITY_DEFAULT); 967 100, ASIMAGE_QUALITY_DEFAULT);
961 if (tmp) 968 if (tmp)
962 { 969 {
963 destroy_asimage (&back_im); 970 destroy_asimage (&back_im);
964 back_im = tmp; 971 back_im = tmp;
965 } 972 }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines