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