https://bugzilla.novell.com/show_bug.cgi?id=325502#c1





--- Comment #1 from Sebastien Pouliot <[EMAIL PROTECTED]>  2007-10-26 11:50:19 
MST ---
Strangely it works for some shapes (like rectangles) but not for ellipses.
Smaller test case:

using System;
using System.Drawing;
using System.Drawing.Drawing2D;

class Program {

        static void Main ()
        {
                using (GraphicsPath path = new GraphicsPath ()) {
//                      path.AddEllipse (new Rectangle (20, 20, 50, 50));
                        path.AddRectangle (new Rectangle (20, 20, 50, 50));
                        for (int y=0; y < 80; y++) {
                                for (int x=0; x < 80; x++) {
                                        Console.Write (path.IsVisible (x, y) ?
"X" : " ");
                                }
                                Console.WriteLine (".");
                        }
                }
        }
}


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to