[dia] diasvg.py: merging fill and stroke broke ellipse



commit 4f42fa82ff90f6678a3e7e62ce69326ef10eeb22
Author: Hans Breuer <hans breuer org>
Date:   Sat May 31 17:34:21 2014 +0200

    diasvg.py: merging fill and stroke broke ellipse
    
    just a single space missing

 plug-ins/python/diasvg.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/python/diasvg.py b/plug-ins/python/diasvg.py
index ba6d6e4..a3fca9f 100644
--- a/plug-ins/python/diasvg.py
+++ b/plug-ins/python/diasvg.py
@@ -148,7 +148,7 @@ class SvgRenderer :
        def fill_arc (self, center, width, height, angle1, angle2, color) :
                self._arc(center, width, height, angle1, angle2, color, 1)
        def draw_ellipse (self, center, width, height, fill, stroke) :
-               self.f.write('<ellipse cx="%.3f" cy="%.3f" rx="%.3f" ry="%.3f"' \
+               self.f.write('<ellipse cx="%.3f" cy="%.3f" rx="%.3f" ry="%.3f" ' \
                                'fill="%s" stroke="%s"  stroke-width="%.3f" %s/>\n' \
                                % (center.x, center.y, width / 2, height / 2,
                                   self._rgb(fill), self._rgb(stroke),


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]