2007-11-13 Atsushi Enomoto <atsushi@ximian.com>
authorAtsushi Eno <atsushieno@gmail.com>
Tue, 13 Nov 2007 10:33:27 +0000 (10:33 -0000)
committerAtsushi Eno <atsushieno@gmail.com>
Tue, 13 Nov 2007 10:33:27 +0000 (10:33 -0000)
* GraphicsPath.cs : AddBeziers(Point[]) arg is "params" in 2.0.

svn path=/trunk/mcs/; revision=89541

mcs/class/System.Drawing/System.Drawing.Drawing2D/ChangeLog
mcs/class/System.Drawing/System.Drawing.Drawing2D/GraphicsPath.cs

index 28735fbd684f0c64cbed45f8fb00f200b6533d22..47169ca9ae2867b36b742b01ba86ee854362c52c 100644 (file)
@@ -1,3 +1,7 @@
+2007-11-13  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * GraphicsPath.cs : AddBeziers(Point[]) arg is "params" in 2.0.
+
 2007-10-30  Sebastien Pouliot  <sebastien@ximian.com>
 
        * GraphicsPath.cs: Remove some TODO specific to libgdiplus.
index f6a7def733c37c565e1254cb64e7de96f94e25b3..ee0f5913aa3498e170a8e168890738680441f79b 100644 (file)
@@ -279,7 +279,11 @@ namespace System.Drawing.Drawing2D
                 //
                 // AddBeziers
                 //
+#if NET_2_0
+                public void AddBeziers (params Point [] pts)
+#else
                 public void AddBeziers (Point [] pts)
+#endif
                 {
                        if (pts == null)
                                throw new ArgumentNullException ("pts");