[dia/dia-0-97] Bug #587967 - line artifacts with ellipse
- From: Hans Breuer <hans src gnome org>
- To: svn-commits-list gnome org
- Subject: [dia/dia-0-97] Bug #587967 - line artifacts with ellipse
- Date: Tue, 7 Jul 2009 21:09:02 +0000 (UTC)
commit b4a36214837f9ff2ed402a7a662176f2768ed90a
Author: Hans Breuer <hans breuer org>
Date: Tue Jul 7 22:33:11 2009 +0200
Bug #587967 - line artifacts with ellipse
plug-ins/cairo/diacairo-renderer.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/plug-ins/cairo/diacairo-renderer.c b/plug-ins/cairo/diacairo-renderer.c
index be1495d..09610a3 100644
--- a/plug-ins/cairo/diacairo-renderer.c
+++ b/plug-ins/cairo/diacairo-renderer.c
@@ -559,6 +559,9 @@ _ellipse(DiaRenderer *self,
#if 1
cairo_save (renderer->cr);
+ /* don't create a line from the current point to the beginning
+ * of the ellipse */
+ cairo_new_sub_path (renderer->cr);
/* copied straight from cairo's documentation, and fixed the bug there */
cairo_translate (renderer->cr, center->x, center->y);
cairo_scale (renderer->cr, width / 2., height / 2.);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]