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

List:       kde-commits
Subject:    kdegraphics/ksvg/plugin/backends/libart
From:       Rob Buis <rwlbuis () xs4all ! nl>
Date:       2003-10-26 9:41:15
[Download RAW message or body]

CVS commit by buis: 


Dont clip outer svg elements, this makes panning around for example tiger2.svg
more accurate.


  M +1 -1      LibartCanvas.cpp   1.38


--- kdegraphics/ksvg/plugin/backends/libart/LibartCanvas.cpp  #1.37:1.38
@@ -356,5 +356,5 @@ ArtSVP *LibartCanvas::clipSingleSVP(ArtS
         SVGSVGElementImpl *svg = dynamic_cast<SVGSVGElementImpl *>(shape);
 
-        if(svg && !svg->getOverflow())
+        if(svg && !svg->isRootElement() && !svg->getOverflow())
         {
                 ArtSVP *svgClip = clippingRect(svg->clip(), svg->screenCTM());


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

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