5 instantiations of ColorMatrix
System.Drawing.Common.Tests (2)
System\Drawing\Imaging\ColorMatrixTests.cs (1)
38
ColorMatrix cm =
new
();
System\Drawing\Imaging\Effects\EffectsTests.cs (1)
243
using ColorMatrixEffect effect = new(new
ColorMatrix
(buffer));
System.Windows.Forms (3)
System\Windows\Forms\Rendering\ControlPaint.cs (3)
1627
ColorMatrix grayMatrix =
new
(array);
2313
return new
ColorMatrix
(result);
2482
ColorMatrix 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)
2428
public void SetColorMatrices(System.Drawing.Imaging.
ColorMatrix
newColorMatrix, System.Drawing.Imaging.
ColorMatrix
? grayMatrix) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
2429
public 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); }
2430
public 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); }
2431
public void SetColorMatrix(System.Drawing.Imaging.
ColorMatrix
newColorMatrix) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
2432
public void SetColorMatrix(System.Drawing.Imaging.
ColorMatrix
newColorMatrix, System.Drawing.Imaging.ColorMatrixFlag flags) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
2433
public 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)
38
ColorMatrix
cm = new();
System\Drawing\Imaging\ImageAttributesTests.cs (3)
37
private readonly
ColorMatrix
_greenComponentToZeroColorMatrix = new(
46
private readonly
ColorMatrix
_grayMatrix = new(
117
ColorMatrix
colorMatrix = new(
System.Windows.Forms (6)
System\Windows\Forms\Controls\ToolStrips\ToolStripRenderer.cs (2)
36
private static
ColorMatrix
? s_disabledImageColorMatrix;
75
private static
ColorMatrix
DisabledImageColorMatrix
System\Windows\Forms\Rendering\ControlPaint.cs (4)
1627
ColorMatrix
grayMatrix = new(array);
2281
internal static
ColorMatrix
MultiplyColorMatrix(float[][] matrix1, float[][] matrix2)
2449
private static
ColorMatrix
RemapBlackAndWhitePreserveTransparentMatrix(Color replaceBlack, Color replaceWhite)
2482
ColorMatrix
matrix = new ColorMatrix