14 writes to r
PresentationCore (14)
System\Windows\Media\Color.cs (14)
46c1.sRgbColor.r = 0; 96c1.sRgbColor.r = ScRgbTosRgb(c1.scRgbColor.r); 121c1.sRgbColor.r = (byte)((argb & 0x00ff0000) >> 16); 156c1.sRgbColor.r = ScRgbTosRgb(c1.scRgbColor.r); 179c1.sRgbColor.r = ScRgbTosRgb(c1.scRgbColor.r); 364sRgbColor.r = ScRgbTosRgb(scRgbColor.r); 432c1.sRgbColor.r = 0; 436c1.sRgbColor.r = 255; 440c1.sRgbColor.r = (byte)((sRGBValue[0] * 255.0f) + 0.5f); 551c1.sRgbColor.r = 0; 555c1.sRgbColor.r = 255; 559c1.sRgbColor.r = (byte)((sRGBValue[0] * 255.0f) + 0.5f); 829sRgbColor.r = value; 931sRgbColor.r = ScRgbTosRgb(value);
6 references to r
PresentationCore (6)
System\Windows\Media\Color.cs (6)
125c1.scRgbColor.r = sRgbToScRgb(c1.sRgbColor.r); // note that context is undefined and thus unloaded 274return string.Create(provider, stackalloc char[128], $"#{this.sRgbColor.a:X2}{this.sRgbColor.r:X2}{this.sRgbColor.g:X2}{this.sRgbColor.b:X2}"); 469c1.scRgbColor.r = sRgbToScRgb(c1.sRgbColor.r); 588c1.scRgbColor.r = sRgbToScRgb(c1.sRgbColor.r); 822return sRgbColor.r; 1107Span<float> sRGBValue = [this.sRgbColor.r / 255.0f, this.sRgbColor.g / 255.0f, this.sRgbColor.b / 255.0f];