[dia] vdx: use NoLine=1 to avoid extra lines with fill_*()
- From: Hans Breuer <hans src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dia] vdx: use NoLine=1 to avoid extra lines with fill_*()
- Date: Sun, 26 Jun 2011 10:54:07 +0000 (UTC)
commit 8f786713ae6367bce938d79a00dadfea346205db
Author: Hans Breuer <hans breuer org>
Date: Sun Jun 26 12:53:45 2011 +0200
vdx: use NoLine=1 to avoid extra lines with fill_*()
As mentioned by Ian "identical ovelayed twin (!)" in
https://bugzilla.gnome.org/show_bug.cgi?id=433917#c2
plug-ins/vdx/vdx-export.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/plug-ins/vdx/vdx-export.c b/plug-ins/vdx/vdx-export.c
index fc27a40..aecd504 100644
--- a/plug-ins/vdx/vdx-export.c
+++ b/plug-ins/vdx/vdx-export.c
@@ -859,6 +859,7 @@ static void fill_polygon(DiaRenderer *self,
/* A Line (colour etc) */
create_Fill(renderer, color, &Fill);
+ Geom.NoLine = 1;
/* Setup children */
Geom.any.children = g_slist_append(Geom.any.children, &MoveTo);
for (i=0; i<num_points; i++)
@@ -1239,6 +1240,7 @@ static void fill_ellipse(DiaRenderer *self,
/* Standard Geom object */
memset(&Geom, 0, sizeof(Geom));
Geom.any.type = vdx_types_Geom;
+ Geom.NoLine = 1;
/* One child - Ellipse */
memset(&Ellipse, 0, sizeof(Ellipse));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]