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-03-27 23:21:40.000000000 -0500
+++ shadow/77926.tmp.25882      2006-04-27 15:13:49.000000000 -0400
@@ -52,6 +52,39 @@
 ------- Additional Comments From [EMAIL PROTECTED]  2006-03-27 16:35 -------
 Not fixed, sorry. 
 
 ------- Additional Comments From [EMAIL PROTECTED]  2006-03-27 23:21 -------
 hmm... my output is (still) correct on NLD9 but isn't on SuSE 10.0.
 same bat-source, same bat-man :|
+
+------- Additional Comments From [EMAIL PROTECTED]  2006-04-27 15:13 -------
+Miguel suggested (on IRC) that the X server may the source of the
+difference (explaining the correct result with NLD9).
+
+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);
+
+               bm.Save ("77926.png", ImageFormat.Png);
+       }
+}
+
+This code save the same arrow in a PNG file - and the arrow looks bad
+(even on NLD9). It's not a fix but now I know why it looks good to me ;-)
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to