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 [EMAIL PROTECTED]

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

--- shadow/77926        2006-05-21 15:47:19.000000000 -0400
+++ shadow/77926.tmp.15330      2006-05-21 16:33:22.000000000 -0400
@@ -116,6 +116,45 @@
 
 
 ------- Additional Comments From [EMAIL PROTECTED]  2006-05-21 15:47 -------
 Created an attachment (id=17080)
 Source code
 
+
+------- Additional Comments From [EMAIL PROTECTED]  2006-05-21 16:33 -------
+Alexander, don't make a judgement based on the screen outputs. By
+doing this you add the complexity of X and drivers into the problem -
+which is why I didn't see (and closed) the problem on NLD9 the first time.
+
+Instead save a PNG of your output to a file and compare the bitmaps.
+You'll see that the problem exist without filling (first sample)
+inside Cairo.
+
+// mcs 77926b.cs -r:System.Drawing.dll
+ 
+using System;
+using System.Drawing;
+using System.Drawing.Drawing2D;
+using System.Drawing.Imaging;
+ 
+class Bug77926 {
+ 
+        public static void Main (string[] args)
+        {
+                Bitmap bm = new Bitmap (100, 100);
+                Graphics g = Graphics.FromImage (bm);
+ 
+                Point[] area = new Point[3];
+                area[0].X = 20;
+                area[0].Y = 20;
+                area[1].X = 20;
+                area[1].Y = 29;
+                area[2].X = 16;
+                area[2].Y = 24;
+ 
+                //g.FillPolygon (Brushes.Black, area, FillMode.Winding);
+                g.DrawPolygon (Pens.Black, area);
+ 
+                bm.Save ("77926.png", ImageFormat.Png);
+        }
+}
+
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to