4 writes to nativeColorValue
PresentationCore (4)
Core\CSharp\System\Windows\Media\Color.cs (4)
60c1.nativeColorValue = new float[c1.context.NumChannels]; 431c1.nativeColorValue = new float[c1.context.NumChannels]; 550c1.nativeColorValue = new float[c1.context.NumChannels]; 1120this.nativeColorValue = new float[numChannels];
34 references to nativeColorValue
PresentationCore (34)
Core\CSharp\System\Windows\Media\Color.cs (34)
61for (int i = 0; i < c1.nativeColorValue.GetLength(0); i++) 63c1.nativeColorValue[i] = 0.0f; 84if (values.GetLength(0) != c1.nativeColorValue.GetLength(0)) 91c1.nativeColorValue[numChannels] = values[numChannels]; 315for (int i= 0; i< nativeColorValue.GetLength(0); ++i ) 317sb.AppendFormat(provider,"{0:" + format + "}",nativeColorValue[i]); 318if (i< nativeColorValue.GetLength(0)-1 ) 353if (context == null || color.nativeColorValue == null) 361for (int i = 0; i < color.nativeColorValue.GetLength(0); i++) 362result = result && FloatUtil.AreClose(nativeColorValue[i], color.nativeColorValue[i]); 394return (float[])nativeColorValue.Clone(); 432for (int i = 0; i < c1.nativeColorValue.GetLength(0); i++) 434c1.nativeColorValue[i] = color1.nativeColorValue[i] + color2.nativeColorValue[i] ; 444colorTransform.Translate(c1.nativeColorValue, sRGBValue); 551for (int i = 0; i < c1.nativeColorValue.GetLength(0); i++) 553c1.nativeColorValue[i] = color1.nativeColorValue[i] - color2.nativeColorValue[i]; 563colorTransform.Translate(c1.nativeColorValue, sRGBValue); 751if (color1.nativeColorValue == null && color2.nativeColorValue == null) 756if (color1.nativeColorValue == null || color2.nativeColorValue == null) 761if (color1.nativeColorValue.GetLength(0) != color2.nativeColorValue.GetLength(0)) 766for (int i = 0; i < color1.nativeColorValue.GetLength(0); i++) 768if (color1.nativeColorValue[i] != color2.nativeColorValue[i]) 1110colorTransform.Translate(this.nativeColorValue, scRGBValue); 1121if (this.nativeColorValue.GetLength(0) > 0) 1131colorTransform.Translate(sRGBValue, this.nativeColorValue);