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

List:       kde-commits
Subject:    koffice/filters/karbon/svg
From:       Jan Hambrecht <jaham () gmx ! net>
Date:       2009-01-11 17:10:58
Message-ID: 1231693858.929557.31831.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 909470 by jaham:

convert stroke width to user space before saving so that loading gets the correct width back



 M  +1 -1      svgexport.cc  


--- trunk/koffice/filters/karbon/svg/svgexport.cc #909469:909470
@@ -549,7 +549,7 @@
     *stream << "\"";
 
     *stream << " stroke-opacity=\"" << line->color().alphaF() << "\"";
-    *stream << " stroke-width=\"" << line->lineWidth() << "\"";
+    *stream << " stroke-width=\"" << toUserSpace(line->lineWidth()) << "\"";
 
     if( line->capStyle() == Qt::FlatCap )
         *stream << " stroke-linecap=\"butt\"";
[prev in list] [next in list] [prev in thread] [next in thread] 

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