4 writes to nativeColorValue
PresentationCore (4)
System\Windows\Media\Color.cs (4)
59c1.nativeColorValue = new float[c1.context.NumChannels]; 423c1.nativeColorValue = new float[c1.context.NumChannels]; 542c1.nativeColorValue = new float[c1.context.NumChannels]; 1112this.nativeColorValue = new float[numChannels];
34 references to nativeColorValue
PresentationCore (34)
System\Windows\Media\Color.cs (34)
60for (int i = 0; i < c1.nativeColorValue.GetLength(0); i++) 62c1.nativeColorValue[i] = 0.0f; 83if (values.GetLength(0) != c1.nativeColorValue.GetLength(0)) 90c1.nativeColorValue[numChannels] = values[numChannels]; 308for (int i= 0; i< nativeColorValue.GetLength(0); ++i ) 310sb.AppendFormat(provider,"{0:" + format + "}",nativeColorValue[i]); 311if (i< nativeColorValue.GetLength(0)-1 ) 345if (context == null || color.nativeColorValue == null) 353for (int i = 0; i < color.nativeColorValue.GetLength(0); i++) 354result = result && FloatUtil.AreClose(nativeColorValue[i], color.nativeColorValue[i]); 386return (float[])nativeColorValue.Clone(); 424for (int i = 0; i < c1.nativeColorValue.GetLength(0); i++) 426c1.nativeColorValue[i] = color1.nativeColorValue[i] + color2.nativeColorValue[i] ; 436colorTransform.Translate(c1.nativeColorValue, sRGBValue); 543for (int i = 0; i < c1.nativeColorValue.GetLength(0); i++) 545c1.nativeColorValue[i] = color1.nativeColorValue[i] - color2.nativeColorValue[i]; 555colorTransform.Translate(c1.nativeColorValue, sRGBValue); 743if (color1.nativeColorValue == null && color2.nativeColorValue == null) 748if (color1.nativeColorValue == null || color2.nativeColorValue == null) 753if (color1.nativeColorValue.GetLength(0) != color2.nativeColorValue.GetLength(0)) 758for (int i = 0; i < color1.nativeColorValue.GetLength(0); i++) 760if (color1.nativeColorValue[i] != color2.nativeColorValue[i]) 1102colorTransform.Translate(this.nativeColorValue, scRGBValue); 1113if (this.nativeColorValue.GetLength(0) > 0) 1123colorTransform.Translate(sRGBValue, this.nativeColorValue);