Author: pbartok
Date: 2005-03-18 23:48:24 -0500 (Fri, 18 Mar 2005)
New Revision: 42029

Modified:
   trunk/libgdiplus/src/ChangeLog
   trunk/libgdiplus/src/graphics.c
Log:
2005-03-18  Peter Bartok  <[EMAIL PROTECTED]>

        * graphics.c: Instead of throwing NotImpl exception, we display a 
          message that the function isn't implemented yet on the TransformPoints
          functions


Modified: trunk/libgdiplus/src/ChangeLog
===================================================================
--- trunk/libgdiplus/src/ChangeLog      2005-03-19 04:43:32 UTC (rev 42028)
+++ trunk/libgdiplus/src/ChangeLog      2005-03-19 04:48:24 UTC (rev 42029)
@@ -1,5 +1,11 @@
 2005-03-18  Peter Bartok  <[EMAIL PROTECTED]>
 
+       * graphics.c: Instead of throwing NotImpl exception, we display a 
+         message that the function isn't implemented yet on the TransformPoints
+         functions
+
+2005-03-18  Peter Bartok  <[EMAIL PROTECTED]>
+
        * imageattributes.c: Instead of throwing NotImpl exception, we display 
a 
          message that the function isn't implemented yet on the SetColorMatrix 
          function

Modified: trunk/libgdiplus/src/graphics.c
===================================================================
--- trunk/libgdiplus/src/graphics.c     2005-03-19 04:43:32 UTC (rev 42028)
+++ trunk/libgdiplus/src/graphics.c     2005-03-19 04:48:24 UTC (rev 42029)
@@ -3666,12 +3666,23 @@
 GpStatus
 GdipTransformPoints (GpGraphics *graphics, GpCoordinateSpace destSpace, 
GpCoordinateSpace srcSpace, GpPointF *points, int count)
 {
-               
-       return NotImplemented;
+        static int      called = 0;
+
+        if (!called) {
+                printf("NOT IMPLEMENTED YET:GdipTransformPoints (GpGraphics 
*graphics, GpCoordinateSpace destSpace, GpCoordinateSpace srcSpace, GpPointF 
*points, int count)\n");
+        }
+        //return NotImplemented;
+        return Ok;
 }
 
 GpStatus
 GdipTransformPointsI (GpGraphics *graphics, GpCoordinateSpace destSpace, 
GpCoordinateSpace srcSpace, GpPoint *points, int count)
 {
-       return NotImplemented;
+        static int      called = 0;
+
+        if (!called) {
+                printf("NOT IMPLEMENTED YET:GdipTransformPointsI (GpGraphics 
*graphics, GpCoordinateSpace destSpace, GpCoordinateSpace srcSpace, GpPoint 
*points, int count)\n");
+        }
+        //return NotImplemented;
+        return Ok;
 }

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

Reply via email to