Author: kostat
Date: 2005-09-07 12:06:03 -0400 (Wed, 07 Sep 2005)
New Revision: 49642

Modified:
   trunk/mcs/class/System.Drawing/System.Drawing.Drawing2D/ChangeLog
   trunk/mcs/class/System.Drawing/System.Drawing.Drawing2D/GraphicsPath.jvm.cs
Log:
correct angle to compute the quarter

Modified: trunk/mcs/class/System.Drawing/System.Drawing.Drawing2D/ChangeLog
===================================================================
--- trunk/mcs/class/System.Drawing/System.Drawing.Drawing2D/ChangeLog   
2005-09-07 15:50:43 UTC (rev 49641)
+++ trunk/mcs/class/System.Drawing/System.Drawing.Drawing2D/ChangeLog   
2005-09-07 16:06:03 UTC (rev 49642)
@@ -1,5 +1,9 @@
 2005-09-07 Konstantin Triger <[EMAIL PROTECTED]>
 
+       * GraphicsPath.jvm.cs: correct angle to compute the quarter
+
+2005-09-07 Konstantin Triger <[EMAIL PROTECTED]>
+
        * Matrix.jvm.cs: Fix copy order in CopyTo
 
 2005-09-07 Boris Kirzner <[EMAIL PROTECTED]>

Modified: 
trunk/mcs/class/System.Drawing/System.Drawing.Drawing2D/GraphicsPath.jvm.cs
===================================================================
--- trunk/mcs/class/System.Drawing/System.Drawing.Drawing2D/GraphicsPath.jvm.cs 
2005-09-07 15:50:43 UTC (rev 49641)
+++ trunk/mcs/class/System.Drawing/System.Drawing.Drawing2D/GraphicsPath.jvm.cs 
2005-09-07 16:06:03 UTC (rev 49642)
@@ -203,7 +203,7 @@
                        double cosx = 1/Math.Sqrt( sqrd1Tod2 * (tan*tan) + 1);
                        double xRad = Math.Acos(cosx);
                        double x = java.lang.Math.toDegrees(xRad);
-                       int q = ((int)x)/90;
+                       int q = ((int)angle)/90;
 
                        switch (q&3) {
                                case 1:

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to