5 instantiations of ColorMatrix
System.Drawing.Common.Tests (2)
System\Drawing\Imaging\ColorMatrixTests.cs (1)
38ColorMatrix cm = new();
System\Drawing\Imaging\Effects\EffectsTests.cs (1)
243using ColorMatrixEffect effect = new(new ColorMatrix(buffer));
System.Windows.Forms (3)
System\Windows\Forms\Rendering\ControlPaint.cs (3)
1627ColorMatrix grayMatrix = new(array); 2313return new ColorMatrix(result); 2482ColorMatrix matrix = new ColorMatrix
20 references to ColorMatrix
System.Drawing (1)
System.Drawing.cs (1)
74[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Drawing.Imaging.ColorMatrix))]
System.Drawing.Common (9)
Special\NotSupported.cs (9)
2428public void SetColorMatrices(System.Drawing.Imaging.ColorMatrix newColorMatrix, System.Drawing.Imaging.ColorMatrix? grayMatrix) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 2429public void SetColorMatrices(System.Drawing.Imaging.ColorMatrix newColorMatrix, System.Drawing.Imaging.ColorMatrix? grayMatrix, System.Drawing.Imaging.ColorMatrixFlag flags) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 2430public void SetColorMatrices(System.Drawing.Imaging.ColorMatrix newColorMatrix, System.Drawing.Imaging.ColorMatrix? grayMatrix, System.Drawing.Imaging.ColorMatrixFlag mode, System.Drawing.Imaging.ColorAdjustType type) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 2431public void SetColorMatrix(System.Drawing.Imaging.ColorMatrix newColorMatrix) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 2432public void SetColorMatrix(System.Drawing.Imaging.ColorMatrix newColorMatrix, System.Drawing.Imaging.ColorMatrixFlag flags) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 2433public void SetColorMatrix(System.Drawing.Imaging.ColorMatrix newColorMatrix, System.Drawing.Imaging.ColorMatrixFlag mode, System.Drawing.Imaging.ColorAdjustType type) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
System.Drawing.Common.Tests (4)
System\Drawing\Imaging\ColorMatrixTests.cs (1)
38ColorMatrix cm = new();
System\Drawing\Imaging\ImageAttributesTests.cs (3)
37private readonly ColorMatrix _greenComponentToZeroColorMatrix = new( 46private readonly ColorMatrix _grayMatrix = new( 117ColorMatrix colorMatrix = new(
System.Windows.Forms (6)
System\Windows\Forms\Controls\ToolStrips\ToolStripRenderer.cs (2)
36private static ColorMatrix? s_disabledImageColorMatrix; 75private static ColorMatrix DisabledImageColorMatrix
System\Windows\Forms\Rendering\ControlPaint.cs (4)
1627ColorMatrix grayMatrix = new(array); 2281internal static ColorMatrix MultiplyColorMatrix(float[][] matrix1, float[][] matrix2) 2449private static ColorMatrix RemapBlackAndWhitePreserveTransparentMatrix(Color replaceBlack, Color replaceWhite) 2482ColorMatrix matrix = new ColorMatrix