10 writes to r
PresentationCore (10)
System\Windows\Media\Color.cs (10)
41
c1.scRgbColor.
r
= 0.0f;
124
c1.scRgbColor.
r
= sRgbToScRgb(c1.sRgbColor.r); // note that context is undefined and thus unloaded
141
c1.scRgbColor.
r
= r;
173
c1.scRgbColor.
r
= sRgbToScRgb(r); // note that context is undefined and thus unloaded
358
scRgbColor.
r
= (scRgbColor.r < 0) ? 0 : (scRgbColor.r > 1.0f) ? 1.0f : scRgbColor.r;
466
c1.scRgbColor.
r
= sRgbToScRgb(c1.sRgbColor.r);
583
c1.scRgbColor.
r
= sRgbToScRgb(c1.sRgbColor.r);
820
scRgbColor.
r
= sRgbToScRgb(value);
922
scRgbColor.
r
= value;
1088
this.scRgbColor.
r
= sRgbToScRgb((byte)((255.0f * scRGBValue[0]) + 0.5f));
19 references to r
PresentationCore (19)
System\Windows\Media\Color.cs (19)
95
c1.sRgbColor.r = ScRgbTosRgb(c1.scRgbColor.
r
);
155
c1.sRgbColor.r = ScRgbTosRgb(c1.scRgbColor.
r
);
178
c1.sRgbColor.r = ScRgbTosRgb(c1.scRgbColor.
r
);
281
separator, scRgbColor.a, scRgbColor.
r
, scRgbColor.g, scRgbColor.b);
338
result = result && FloatUtil.AreClose(scRgbColor.
r
, color.scRgbColor.
r
);
358
scRgbColor.r = (scRgbColor.
r
< 0) ? 0 : (scRgbColor.
r
> 1.0f) ? 1.0f : scRgbColor.
r
;
363
sRgbColor.r = ScRgbTosRgb(scRgbColor.
r
);
403
color1.scRgbColor.
r
+ color2.scRgbColor.
r
,
515
color1.scRgbColor.
r
- color2.scRgbColor.
r
,
627
Color c1 = FromScRgb(color.scRgbColor.a * coefficient, color.scRgbColor.
r
* coefficient, color.scRgbColor.g * coefficient, color.scRgbColor.b * coefficient);
699
if (color1.scRgbColor.
r
!= color2.scRgbColor.
r
)
915
return scRgbColor.
r
;
1135
return a.GetHashCode() ^
r
.GetHashCode() ^ g.GetHashCode() ^ b.GetHashCode();