[dia] svg: set fill-rule also for polygon rendering



commit 5516542778b9d87e56cccd608f3dc88b3a5ccfc5
Author: Hans Breuer <hans breuer org>
Date:   Sun Aug 25 10:56:09 2013 +0200

    svg: set fill-rule also for polygon rendering

 lib/diasvgrenderer.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/lib/diasvgrenderer.c b/lib/diasvgrenderer.c
index 953d172..d637942 100644
--- a/lib/diasvgrenderer.c
+++ b/lib/diasvgrenderer.c
@@ -361,6 +361,8 @@ fill_polygon(DiaRenderer *self,
                      dia_svg_dtostr(py_buf, points[i].y) );
   xmlSetProp(node, (const xmlChar *)"points", (xmlChar *)str->str);
   g_string_free(str, TRUE);
+  /* change this if our rendering model allows more */
+  xmlSetProp(node, (const xmlChar *)"fill-rule", (const xmlChar *) "evenodd");
 }
 
 static void


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