[Mono-bugs] [Bug 58885][Nor] Changed - Graphics class is drawing with wrong colors

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 26 May 2004 06:31:18 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by rkumar@novell.com.

http://bugzilla.ximian.com/show_bug.cgi?id=58885

--- shadow/58885	2004-05-26 03:45:11.000000000 -0400
+++ shadow/58885.tmp.11607	2004-05-26 06:31:18.000000000 -0400
@@ -74,6 +74,24 @@
 This is strange, i would have G expexted to be 255.
 Png is transparent, jpeg has RGB value 127, 0, 255
 
 ------- Additional Comments From domo@domnanovits.at  2004-05-26 03:45 -------
 I haven't read the doc about the bug status, sorry about that. Changing status back to 
 needinfo.
+
+------- Additional Comments From rkumar@novell.com  2004-05-26 06:31 -------
+Stefan, could you do me a favor?
+I want to see the argb values that are getting down to libgdiplus. For
+that I would like to see the output of your test, for different colors
+as you did yesterday. To do this, you would need to update/rebuild
+your libgdiplus after copying following line,
+
+     printf ("a=%f, r=%f, g=%f, b=%f\n", alpha, red, green, blue);
+
+to cvs/libgdiplus/graphics.c file: GdipGraphicsClear (GpGraphics
+*graphics, ARGB color) function: before line 2040: cairo_save
+(graphics->ct);
+
+FYI, we depend on libtiff and libungif respectively for TIFF and GIF
+support.
+
+Thanks!