4 writes to nativeColorValue
PresentationCore (4)
System\Windows\Media\Color.cs (4)
51
c1.
nativeColorValue
= new float[c1.context.NumChannels];
415
c1.
nativeColorValue
= new float[c1.context.NumChannels];
534
c1.
nativeColorValue
= new float[c1.context.NumChannels];
1104
this.
nativeColorValue
= new float[numChannels];
34 references to nativeColorValue
PresentationCore (34)
System\Windows\Media\Color.cs (34)
52
for (int i = 0; i < c1.
nativeColorValue
.Length; i++)
54
c1.
nativeColorValue
[i] = 0.0f;
75
if (values.Length != c1.
nativeColorValue
.Length)
82
c1.
nativeColorValue
[numChannels] = values[numChannels];
300
for (int i = 0; i <
nativeColorValue
.Length; ++i )
302
sb.AppendFormat(provider,"{0:" + format + "}",
nativeColorValue
[i]);
303
if (i <
nativeColorValue
.Length - 1)
337
if (context == null || color.
nativeColorValue
== null)
345
for (int i = 0; i < color.
nativeColorValue
.Length; i++)
346
result = result && FloatUtil.AreClose(
nativeColorValue
[i], color.
nativeColorValue
[i]);
378
return (float[])
nativeColorValue
.Clone();
416
for (int i = 0; i < c1.
nativeColorValue
.Length; i++)
418
c1.
nativeColorValue
[i] = color1.
nativeColorValue
[i] + color2.
nativeColorValue
[i];
428
colorTransform.Translate(c1.
nativeColorValue
, sRGBValue);
535
for (int i = 0; i < c1.
nativeColorValue
.Length; i++)
537
c1.
nativeColorValue
[i] = color1.
nativeColorValue
[i] - color2.
nativeColorValue
[i];
547
colorTransform.Translate(c1.
nativeColorValue
, sRGBValue);
735
if (color1.
nativeColorValue
== null && color2.
nativeColorValue
== null)
740
if (color1.
nativeColorValue
== null || color2.
nativeColorValue
== null)
745
if (color1.
nativeColorValue
.Length != color2.
nativeColorValue
.Length)
750
for (int i = 0; i < color1.
nativeColorValue
.Length; i++)
752
if (color1.
nativeColorValue
[i] != color2.
nativeColorValue
[i])
1094
colorTransform.Translate(this.
nativeColorValue
, scRGBValue);
1105
if (this.
nativeColorValue
.Length > 0)
1110
colorTransform.Translate(sRGBValue, this.
nativeColorValue
);