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 [EMAIL PROTECTED] http://bugzilla.ximian.com/show_bug.cgi?id=78336 --- shadow/78336 2006-05-10 14:10:27.000000000 -0400 +++ shadow/78336.tmp.32278 2006-05-11 15:58:53.000000000 -0400 @@ -28,6 +28,34 @@ test case with screenshots ------- Additional Comments From [EMAIL PROTECTED] 2006-05-10 14:10 ------- Probably an endianness problem in libgdiplus image attributes handling. + +------- Additional Comments From [EMAIL PROTECTED] 2006-05-11 15:58 ------- +I have further information on this bug. It turns out that the first +two rows of the matrix are swapped and the second two rows of the +matrix are swapped. IE: Row 0 is swapped with row 1, Row 2 is +swapped with Row 3. + +Thus, if the following matrix would work on win32: + +// turn red into blue and blue into red +float[][] matrixItems ={ + new float[] {0, 0, 1, 0, 0}, // red input + new float[] {0, 1, 0, 0, 0}, // green input + new float[] {1, 0, 0, 0, 0}, // blue input + new float[] {0, 0, 0, 0, 0}, // alpha input + new float[] {0, 0, 0, 1, 0}}; + +To use it in OSX X11, the following matrix would be required: + +// turn red into blue and blue into red +float[][] matrixItems ={ + new float[] {0, 1, 0, 0, 0}, // GREEN but should be red input + new float[] {0, 0, 1, 0, 0}, // RED but should be green input + new float[] {0, 0, 0, 0, 0}, // ALPHA but should be blue input + new float[] {1, 0, 0, 0, 0}, // BLUE but should be alpha input + new float[] {0, 0, 0, 1, 0}}; + + _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
