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