5 references to SetColorMatrix
System.Drawing.Common.Tests (5)
System\Drawing\Imaging\ImageAttributesTests.cs (5)
151
imageAttr.
SetColorMatrix
(_greenComponentToZeroColorMatrix, ColorMatrixFlag.Default);
156
imageAttr.
SetColorMatrix
(_greenComponentToZeroColorMatrix, ColorMatrixFlag.SkipGrays);
221
AssertExtensions.Throws<ArgumentException>(null, () => imageAttr.
SetColorMatrix
(_greenComponentToZeroColorMatrix, ColorMatrixFlag.Default));
231
AssertExtensions.Throws<ArgumentNullException>("newColorMatrix", () => imageAttr.
SetColorMatrix
(null, ColorMatrixFlag.Default));
266
AssertExtensions.Throws<ArgumentException>(null, () => imageAttr.
SetColorMatrix
(_greenComponentToZeroColorMatrix, flag));