Author: pbartok
Date: 2005-03-18 23:43:32 -0500 (Fri, 18 Mar 2005)
New Revision: 42028

Modified:
   trunk/libgdiplus/src/ChangeLog
   trunk/libgdiplus/src/imageattributes.c
Log:
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/ChangeLog
===================================================================
--- trunk/libgdiplus/src/ChangeLog      2005-03-19 04:34:45 UTC (rev 42027)
+++ trunk/libgdiplus/src/ChangeLog      2005-03-19 04:43:32 UTC (rev 42028)
@@ -1,5 +1,11 @@
 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
+
+2005-03-18  Peter Bartok  <[EMAIL PROTECTED]>
+
        * graphics-path.c: Instead of throwing NotImpl exception, we display a 
          message that the function isn't implemented yet on the Bounds 
functions
 

Modified: trunk/libgdiplus/src/imageattributes.c
===================================================================
--- trunk/libgdiplus/src/imageattributes.c      2005-03-19 04:34:45 UTC (rev 
42027)
+++ trunk/libgdiplus/src/imageattributes.c      2005-03-19 04:43:32 UTC (rev 
42028)
@@ -359,7 +359,13 @@
 GdipSetImageAttributesColorMatrix (GpImageAttributes *imageattr, 
ColorAdjustType type, BOOL enableFlag,  GpColorMatrix* colorMatrix,
        GpColorMatrix* grayMatrix, GpColorMatrixFlags flags)
 {
-       return NotImplemented;
+       static int      called = 0;
+
+       if (!called) {
+               printf("NOT IMPLEMENTED YET: GdipSetImageAttributesColorMatrix 
(GpImageAttributes *imageattr, ColorAdjustType type, BOOL enableFlag,  
GpColorMatrix* colorMatrix, GpColorMatrix* grayMatrix, GpColorMatrixFlags 
flags)\n");
+       }
+       //return NotImplemented;
+       return Ok;
 }
        
 GpStatus 

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

Reply via email to