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

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 14 Feb 2005 03:48:24 -0500 (EST)

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.


--- shadow/63360	2004-09-08 11:09:51.000000000 -0400
+++ shadow/63360.tmp.5951	2005-02-14 03:48:24.000000000 -0500
@@ -5,13 +5,13 @@
 OS Details: 
 Status: NEW   
 Severity: Unknown
 Priority: Wishlist
 Component: Sys.Drawing.
-AssignedTo: mono-bugs@ximian.com                            
+AssignedTo: duncan@ximian.com                            
 ReportedBy: rkumar@novell.com               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
 Summary: FillPie hangs
@@ -86,6 +86,20 @@
 in <0x00105> (wrapper remoting-invoke-with-check)
 in <0x00108> Test:Main ()
+------- Additional Comments From duncan@ximian.com  2005-02-14 03:48 -------
+I talked to Carl today and he showed me where to find out how to
+translate from the elliptical circle specification of GDI+ to the
+center+radius specification used by Cairo (it's in the appendix of the
+SVG spec).
+I'm going to try to take away make_pie and make_arc from graphics.c
+and replace them with cairo_arc calls instead.
+No only will it fix this crash, we'll also get nicer outputs, because
+the current technique used by make_arc (using a midpoint, which leads
+to an approximation of at most 3 bezier curves) is kinda lame and
+cairo_arc will do a much better job at it.