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