Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RgbWorkingSpace"/> struct.
 /// </summary>
 /// <param name="referenceWhite">The reference white point.</param>
 /// <param name="companding">The function pair for converting to <see cref="CieXyz"/> and back.</param>
 /// <param name="chromaticityCoordinates">The chromaticity of the rgb primaries.</param>
 public RgbWorkingSpace(CieXyz referenceWhite, ICompanding companding, RgbPrimariesChromaticityCoordinates chromaticityCoordinates)
 {
     this.WhitePoint = referenceWhite;
     this.Companding = companding;
     this.ChromaticityCoordinates = chromaticityCoordinates;
 }
Exemple #2
0
 public int GetHashCode(RgbPrimariesChromaticityCoordinates obj)
 {
     throw new NotImplementedException();
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="RgbWorkingSpaceBase"/> class.
 /// </summary>
 /// <param name="referenceWhite">The reference white point.</param>
 /// <param name="chromaticityCoordinates">The chromaticity of the rgb primaries.</param>
 protected RgbWorkingSpaceBase(CieXyz referenceWhite, RgbPrimariesChromaticityCoordinates chromaticityCoordinates)
 {
     this.WhitePoint = referenceWhite;
     this.ChromaticityCoordinates = chromaticityCoordinates;
 }
Exemple #4
0
 public bool Equals(RgbPrimariesChromaticityCoordinates x, RgbPrimariesChromaticityCoordinates y)
 {
     return(this.Equals(x.R, y.R) && this.Equals(x.G, y.G) && this.Equals(x.B, y.B));
 }