10 writes to r
PresentationCore (10)
Core\CSharp\System\Windows\Media\Color.cs (10)
51
c1.scRgbColor.
r
= 0.0f;
134
c1.scRgbColor.
r
= sRgbToScRgb(c1.sRgbColor.r); // note that context is undefined and thus unloaded
151
c1.scRgbColor.
r
= r;
183
c1.scRgbColor.
r
= sRgbToScRgb(r); // note that context is undefined and thus unloaded
375
scRgbColor.
r
= (scRgbColor.r < 0) ? 0 : (scRgbColor.r > 1.0f) ? 1.0f : scRgbColor.r;
485
c1.scRgbColor.
r
= sRgbToScRgb(c1.sRgbColor.r);
604
c1.scRgbColor.
r
= sRgbToScRgb(c1.sRgbColor.r);
844
scRgbColor.
r
= sRgbToScRgb(value);
946
scRgbColor.
r
= value;
1112
this.scRgbColor.
r
= sRgbToScRgb((byte)((255.0f * scRGBValue[0]) + 0.5f));
18 references to r
PresentationCore (18)
Core\CSharp\System\Windows\Media\Color.cs (18)
105
c1.sRgbColor.r = ScRgbTosRgb(c1.scRgbColor.
r
);
165
c1.sRgbColor.r = ScRgbTosRgb(c1.scRgbColor.
r
);
188
c1.sRgbColor.r = ScRgbTosRgb(c1.scRgbColor.
r
);
297
separator, scRgbColor.a, scRgbColor.
r
,
355
result = result && FloatUtil.AreClose(scRgbColor.
r
, color.scRgbColor.
r
);
375
scRgbColor.r = (scRgbColor.
r
< 0) ? 0 : (scRgbColor.
r
> 1.0f) ? 1.0f : scRgbColor.
r
;
380
sRgbColor.r = ScRgbTosRgb(scRgbColor.
r
);
420
color1.scRgbColor.
r
+ color2.scRgbColor.
r
,
534
color1.scRgbColor.
r
- color2.scRgbColor.
r
,
648
Color c1 = FromScRgb(color.scRgbColor.a * coefficient, color.scRgbColor.
r
* coefficient, color.scRgbColor.g * coefficient, color.scRgbColor.b * coefficient);
723
if (color1.scRgbColor.
r
!= color2.scRgbColor.
r
)
939
return scRgbColor.
r
;