Author: spouliot
Date: 2006-08-10 20:19:34 -0400 (Thu, 10 Aug 2006)
New Revision: 63628

Modified:
   trunk/libgdiplus/src/ChangeLog
   trunk/libgdiplus/src/graphics-path.c
   trunk/libgdiplus/src/graphics.c
Log:
2006-08-10  Sebastien Pouliot  <[EMAIL PROTECTED]> 
        * graphics.c: Don't loose track of user supplied tension in function
        GdipDrawClosedCurve2I.
        * graphics-path.c: Fix stupid typo made after removing that 
        unrequired line.


Modified: trunk/libgdiplus/src/ChangeLog
===================================================================
--- trunk/libgdiplus/src/ChangeLog      2006-08-10 22:06:30 UTC (rev 63627)
+++ trunk/libgdiplus/src/ChangeLog      2006-08-11 00:19:34 UTC (rev 63628)
@@ -1,6 +1,10 @@
-2006-08-10  Sebastien Pouliot  <[EMAIL PROTECTED]>
+2006-08-10  Sebastien Pouliot  <[EMAIL PROTECTED]> 
 
        * region.c: Test to see if this help remove a false positive.
+       * graphics.c: Don't loose track of user supplied tension in function
+       GdipDrawClosedCurve2I.
+       * graphics-path.c: Fix stupid typo made after removing that 
+       unrequired line.
 
 2006-08-10  Sebastien Pouliot  <[EMAIL PROTECTED]> 
 

Modified: trunk/libgdiplus/src/graphics-path.c
===================================================================
--- trunk/libgdiplus/src/graphics-path.c        2006-08-10 22:06:30 UTC (rev 
63627)
+++ trunk/libgdiplus/src/graphics-path.c        2006-08-11 00:19:34 UTC (rev 
63628)
@@ -769,7 +769,7 @@
        if (!path || !points || (count < 2))
                return InvalidParameter;
 
-       tangents = gdip_open_curve_tangents (CURVE_MIN_TERMS, points, count - 
1, tension);
+       tangents = gdip_open_curve_tangents (CURVE_MIN_TERMS, points, count, 
tension);
        if (!tangents)
                return OutOfMemory;
 

Modified: trunk/libgdiplus/src/graphics.c
===================================================================
--- trunk/libgdiplus/src/graphics.c     2006-08-10 22:06:30 UTC (rev 63627)
+++ trunk/libgdiplus/src/graphics.c     2006-08-11 00:19:34 UTC (rev 63628)
@@ -1513,7 +1513,7 @@
        if (!pt)
                return OutOfMemory;
 
-       s = GdipDrawClosedCurve (graphics, pen, pt, count);
+       s = GdipDrawClosedCurve2 (graphics, pen, pt, count, tension);
 
         GdipFree (pt);
 

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

Reply via email to