9 references to SetGamma
System.Drawing.Common (1)
System\Drawing\Imaging\ImageAttributes.cs (1)
204public void SetGamma(float gamma) => SetGamma(gamma, ColorAdjustType.Default);
System.Drawing.Common.Tests (8)
System\Drawing\Imaging\ImageAttributesTests.cs (8)
598imageAttr.SetGamma(2.2f, type); 611imageAttr.SetGamma(2.2f, type); 624AssertExtensions.Throws<ArgumentException>(null, () => imageAttr.SetGamma(2.2f, ColorAdjustType.Default)); 632AssertExtensions.Throws<ArgumentException>(null, () => imageAttr.SetGamma(2.2f, type)); 642imageAttr.SetGamma(2.2f, type); 688imageAttr.SetGamma(2.2f, type); 738imageAttr.SetGamma(2.2f, type); 755imageAttr.SetGamma(2.2f, type);