[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdegraphics/ksvg/plugin/backends/agg
From:       Rob Buis <rwlbuis () xs4all ! nl>
Date:       2003-10-31 18:55:29
[Download RAW message or body]

CVS commit by buis: 


Fix for some of the nuvola icons.


  M +2 -2      AggCanvasItems.cpp   1.66


--- kdegraphics/ksvg/plugin/backends/agg/AggCanvasItems.cpp  #1.65:1.66
@@ -1549,4 +1549,6 @@ void AggRadialGradient::render(AggCanvas
         agg::affine_matrix mtx_g1;
 
+        mtx_g1 *= agg::translation_matrix(_cx, _cy);
+
         // Adjust to gradient transform
         SVGMatrixImpl *gradTrans = \
radial->gradientTransform()->baseVal()->concatenate(); @@ -1572,6 +1574,4 @@ void \
                AggRadialGradient::render(AggCanvas
                 mtx_g1 *= agg::scaling_matrix((width > height) ? sqrt(2) : ratioX, \
(width > height) ? ratioY :sqrt(2));  }
-
-        mtx_g1 *= agg::translation_matrix(_cx, _cy);
 
         // Respect current transformation matrix (so gradients zoom with...)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic