[monet/monet-xml] mn-style: fix circle drawing



commit 0d399db8eb68b6531d760ee66089164e3fae4460
Author: Thomas Wood <thomas wood intel com>
Date:   Wed May 5 21:38:46 2010 +0100

    mn-style: fix circle drawing

 monet/mn-style.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/monet/mn-style.c b/monet/mn-style.c
index b6ffdbe..40e0182 100644
--- a/monet/mn-style.c
+++ b/monet/mn-style.c
@@ -193,7 +193,7 @@ mn_style_draw_ops (MnStyle   *style,
           x_1 = (circle->x < 0) ? width + circle->x : circle->x;
           y_1 = (circle->y < 0) ? height + circle->y : circle->y;
 
-          cairo_arc (cr, x_1, y_1, circle->radius, 0, M_PI * 360);
+          cairo_arc (cr, x_1, y_1, circle->radius, 0, M_PI * 2);
           break;
 
         case MN_LINE:



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