4 writes to nativeColorValue
PresentationCore (4)
System\Windows\Media\Color.cs (4)
49
c1.
nativeColorValue
= new float[c1.context.NumChannels];
411
c1.
nativeColorValue
= new float[c1.context.NumChannels];
528
c1.
nativeColorValue
= new float[c1.context.NumChannels];
1095
this.
nativeColorValue
= new float[numChannels];
34 references to nativeColorValue
PresentationCore (34)
System\Windows\Media\Color.cs (34)
50
for (int i = 0; i < c1.
nativeColorValue
.Length; i++)
52
c1.
nativeColorValue
[i] = 0.0f;
73
if (values.Length != c1.
nativeColorValue
.Length)
80
c1.
nativeColorValue
[numChannels] = values[numChannels];
298
for (int i = 0; i <
nativeColorValue
.Length; ++i )
300
sb.AppendFormat(provider,"{0:" + format + "}",
nativeColorValue
[i]);
301
if (i <
nativeColorValue
.Length - 1)
335
if (context == null || color.
nativeColorValue
== null)
343
for (int i = 0; i < color.
nativeColorValue
.Length; i++)
344
result = result && FloatUtil.AreClose(
nativeColorValue
[i], color.
nativeColorValue
[i]);
376
return (float[])
nativeColorValue
.Clone();
412
for (int i = 0; i < c1.
nativeColorValue
.Length; i++)
414
c1.
nativeColorValue
[i] = color1.
nativeColorValue
[i] + color2.
nativeColorValue
[i];
424
colorTransform.Translate(c1.
nativeColorValue
, sRGBValue);
529
for (int i = 0; i < c1.
nativeColorValue
.Length; i++)
531
c1.
nativeColorValue
[i] = color1.
nativeColorValue
[i] - color2.
nativeColorValue
[i];
541
colorTransform.Translate(c1.
nativeColorValue
, sRGBValue);
726
if (color1.
nativeColorValue
== null && color2.
nativeColorValue
== null)
731
if (color1.
nativeColorValue
== null || color2.
nativeColorValue
== null)
736
if (color1.
nativeColorValue
.Length != color2.
nativeColorValue
.Length)
741
for (int i = 0; i < color1.
nativeColorValue
.Length; i++)
743
if (color1.
nativeColorValue
[i] != color2.
nativeColorValue
[i])
1085
colorTransform.Translate(this.
nativeColorValue
, scRGBValue);
1096
if (this.
nativeColorValue
.Length > 0)
1101
colorTransform.Translate(sRGBValue, this.
nativeColorValue
);