4 writes to nativeColorValue
PresentationCore (4)
System\Windows\Media\Color.cs (4)
50
c1.
nativeColorValue
= new float[c1.context.NumChannels];
412
c1.
nativeColorValue
= new float[c1.context.NumChannels];
529
c1.
nativeColorValue
= new float[c1.context.NumChannels];
1096
this.
nativeColorValue
= new float[numChannels];
34 references to nativeColorValue
PresentationCore (34)
System\Windows\Media\Color.cs (34)
51
for (int i = 0; i < c1.
nativeColorValue
.Length; i++)
53
c1.
nativeColorValue
[i] = 0.0f;
74
if (values.Length != c1.
nativeColorValue
.Length)
81
c1.
nativeColorValue
[numChannels] = values[numChannels];
299
for (int i = 0; i <
nativeColorValue
.Length; ++i )
301
sb.AppendFormat(provider,"{0:" + format + "}",
nativeColorValue
[i]);
302
if (i <
nativeColorValue
.Length - 1)
336
if (context == null || color.
nativeColorValue
== null)
344
for (int i = 0; i < color.
nativeColorValue
.Length; i++)
345
result = result && FloatUtil.AreClose(
nativeColorValue
[i], color.
nativeColorValue
[i]);
377
return (float[])
nativeColorValue
.Clone();
413
for (int i = 0; i < c1.
nativeColorValue
.Length; i++)
415
c1.
nativeColorValue
[i] = color1.
nativeColorValue
[i] + color2.
nativeColorValue
[i];
425
colorTransform.Translate(c1.
nativeColorValue
, sRGBValue);
530
for (int i = 0; i < c1.
nativeColorValue
.Length; i++)
532
c1.
nativeColorValue
[i] = color1.
nativeColorValue
[i] - color2.
nativeColorValue
[i];
542
colorTransform.Translate(c1.
nativeColorValue
, sRGBValue);
727
if (color1.
nativeColorValue
== null && color2.
nativeColorValue
== null)
732
if (color1.
nativeColorValue
== null || color2.
nativeColorValue
== null)
737
if (color1.
nativeColorValue
.Length != color2.
nativeColorValue
.Length)
742
for (int i = 0; i < color1.
nativeColorValue
.Length; i++)
744
if (color1.
nativeColorValue
[i] != color2.
nativeColorValue
[i])
1086
colorTransform.Translate(this.
nativeColorValue
, scRGBValue);
1097
if (this.
nativeColorValue
.Length > 0)
1102
colorTransform.Translate(sRGBValue, this.
nativeColorValue
);