[Mono-bugs] [Bug 63360][Nor] Changed - FillPie hangs

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 9 May 2005 12:55:38 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by duncan@ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=63360

--- shadow/63360	2005-05-06 19:31:30.000000000 -0400
+++ shadow/63360.tmp.6725	2005-05-09 12:55:38.000000000 -0400
@@ -1,13 +1,13 @@
 Bug#: 63360
 Product: Mono: Class Libraries
 Version: unspecified
 OS: unknown
 OS Details: 
-Status: NEW   
-Resolution: 
+Status: RESOLVED   
+Resolution: FIXED
 Severity: Unknown
 Priority: Normal
 Component: Sys.Drawing.
 AssignedTo: duncan@ximian.com                            
 ReportedBy: rkumar@novell.com               
 QAContact: mono-bugs@ximian.com
@@ -106,6 +106,23 @@
 
 ------- Additional Comments From miguel@ximian.com  2005-02-18 16:25 -------
 Duncan, Ping.
 
 ------- Additional Comments From miguel@ximian.com  2005-05-06 19:31 -------
 Duncan, ping again
+
+------- Additional Comments From duncan@ximian.com  2005-05-09 12:55 -------
+Fixed in r44289.
+
+2005-05-09  Duncan Mak  <duncan@novell.com>
+
+	* graphics.c (make_pie, GdipDrawArc): when evaluating angles,
+	always use abs(). This fixes the drawing of arcs and pies when the
+	sweep angle is negative.
+
+	Bug #63360 has also been fixed. This was a bug reported by
+	Ravindra in August '04 about a hang when "the difference between
+	width and height of rectangle is 1 and angles sum is close to
+	360". My change doesn't affect this bug. #63360 didn't hang in
+	libgdiplus 1.1.7 as is, so it was actually fixed by the Cairo
+	guys.
+