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