11 references to SetColorMatrix
System.Drawing.Common.Tests (8)
System\Drawing\Imaging\ImageAttributesTests.cs (8)
73
imageAttr.
SetColorMatrix
(_greenComponentToZeroColorMatrix);
97
imageAttr.
SetColorMatrix
(_greenComponentToZeroColorMatrix);
135
imageAttr.
SetColorMatrix
(colorMatrix);
220
AssertExtensions.Throws<ArgumentException>(null, () => imageAttr.
SetColorMatrix
(_greenComponentToZeroColorMatrix));
230
AssertExtensions.Throws<ArgumentNullException>("newColorMatrix", () => imageAttr.
SetColorMatrix
(null));
276
imageAttr.
SetColorMatrix
(_greenComponentToZeroColorMatrix);
673
imageAttr.
SetColorMatrix
(_greenComponentToZeroColorMatrix);
721
imageAttr.
SetColorMatrix
(_greenComponentToZeroColorMatrix);
System.Windows.Forms (3)
System\Windows\Forms\Controls\ToolStrips\ToolStripRenderer.cs (1)
1033
imgAttrib.
SetColorMatrix
(DisabledImageColorMatrix);
System\Windows\Forms\Rendering\ControlPaint.cs (2)
1564
attributes.
SetColorMatrix
(RemapBlackAndWhitePreserveTransparentMatrix(replaceBlack, Color.White));
1631
t_disabledImageAttr.
SetColorMatrix
(grayMatrix);