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

List:       kde-commits
Subject:    koffice/lib/kopainter
From:       Rob Buis <rwlbuis () xs4all ! nl>
Date:       2003-11-12 18:07:36
[Download RAW message or body]

CVS commit by buis: 


Applying Adrians' commmit to fix jigsaw-static.svg here as well;karbon svg import
uses this...


  M +4 -0      svgpathparser.cc   1.4


--- koffice/lib/kopainter/svgpathparser.cc  #1.3:1.4
@@ -347,4 +347,8 @@ SVGPathParser::parseSVG( const QString &
                                         ptr = getCoord( ptr, toy );
 
+                                        // Spec: radii are nonnegative numbers
+                                        rx = fabs(rx);
+                                        ry = fabs(ry);
+
                                         if( process )
                                                 calculateArc( relative, curx, cury, \
angle, tox, toy, rx, ry, largeArc, sweep );


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

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