2006-04-27 Sebastien Pouliot <sebastien@ximian.com>
authorSebastien Pouliot <sebastien@ximian.com>
Thu, 27 Apr 2006 18:35:17 +0000 (18:35 -0000)
committerSebastien Pouliot <sebastien@ximian.com>
Thu, 27 Apr 2006 18:35:17 +0000 (18:35 -0000)
* gdipFunctions.cs: Added wrappers for GdipAddPathLine2 and
GdipAddPathLine2I methods (to allow adding a single point).

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

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

index 7ec193b33b8a717e32c86071a873c3d70206bed7..b1e211c881b605fa9438b2e52e36069247feb466 100644 (file)
@@ -1,3 +1,8 @@
+2006-04-27  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * gdipFunctions.cs: Added wrappers for GdipAddPathLine2 and 
+       GdipAddPathLine2I methods (to allow adding a single point).
+
 2006-04-27  Sebastien Pouliot  <sebastien@ximian.com> 
 
        * gdipFunctions.cs: Added CharSet=CharSet.Unicode to GdipAddString and
index c17ef7a10440a91f35b25ea501fed14f0588ab3c..aa37036bc0ef84d41edb97acc4953f623eac8a8d 100644 (file)
@@ -1214,6 +1214,10 @@ namespace System.Drawing
                 internal static extern Status GdipGetPathLastPoint (IntPtr path, out PointF lastPoint);
                 [DllImport ("gdiplus.dll")]                                                
                 internal static extern Status GdipAddPathLine (IntPtr path, float x1, float y1, float x2, float y2);
+                [DllImport ("gdiplus.dll")]
+                internal static extern Status GdipAddPathLine2 (IntPtr path, PointF[] points, int count);
+                [DllImport ("gdiplus.dll")]
+                internal static extern Status GdipAddPathLine2I (IntPtr path, Point[] points, int count);
                 [DllImport ("gdiplus.dll")]                                                
                 internal static extern Status GdipAddPathArc (IntPtr path, float x, float y, float width, float height, float startAngle, float sweepAngle);
                 [DllImport ("gdiplus.dll")]