(DrawEllipse): Fix Width, Height ordering.
authorDuncan Mak <duncan@mono-cvs.ximian.com>
Fri, 7 Nov 2003 03:06:50 +0000 (03:06 -0000)
committerDuncan Mak <duncan@mono-cvs.ximian.com>
Fri, 7 Nov 2003 03:06:50 +0000 (03:06 -0000)
svn path=/trunk/mcs/; revision=19703

mcs/class/System.Drawing/System.Drawing/ChangeLog
mcs/class/System.Drawing/System.Drawing/Graphics.cs

index 8f19a319c331eee8f1338ed0b36949388b18ee80..6ebed0886f4782577788395b43a3790fd0b8d8e3 100644 (file)
@@ -3,6 +3,7 @@
        * Graphics.cs (DrawPie): Use DrawPieI instead of DrawPie and fix
        angle parameters for the integer case.
        (DrawBezier): Hook it up with GdipDrawBezier.
+       (DrawEllipse): Fix Width, Height ordering.
 
 2003-11-05  Duncan Mak  <duncan@ximian.com>
 
index 8c70c4205bfa0bde2ade860f3d921aaa1eb964a1..0337a55a57ecdb89713f16c4de725e28f3b14fee 100755 (executable)
@@ -191,13 +191,13 @@ namespace System.Drawing
                [MonoTODO]
                public void DrawEllipse (Pen pen, Rectangle rect)
                {
-                       DrawEllipse (pen, rect.X, rect.Y, rect.Height, rect.Width);
+                       DrawEllipse (pen, rect.X, rect.Y, rect.Width, rect.Height);
                }
 
                [MonoTODO]
                public void DrawEllipse (Pen pen, RectangleF rect)
                {
-                       DrawEllipse (pen, rect.X, rect.Y, rect.Height, rect.Width);
+                       DrawEllipse (pen, rect.X, rect.Y, rect.Width, rect.Height);
                }
 
                public void DrawEllipse (Pen pen, int x, int y, int width, int height)