14 writes to r
PresentationCore (14)
System\Windows\Media\Color.cs (14)
44c1.sRgbColor.r = 0; 94c1.sRgbColor.r = ScRgbTosRgb(c1.scRgbColor.r); 119c1.sRgbColor.r = (byte)((argb & 0x00ff0000) >> 16); 154c1.sRgbColor.r = ScRgbTosRgb(c1.scRgbColor.r); 177c1.sRgbColor.r = ScRgbTosRgb(c1.scRgbColor.r); 362sRgbColor.r = ScRgbTosRgb(scRgbColor.r); 428c1.sRgbColor.r = 0; 432c1.sRgbColor.r = 255; 436c1.sRgbColor.r = (byte)((sRGBValue[0] * 255.0f) + 0.5f); 545c1.sRgbColor.r = 0; 549c1.sRgbColor.r = 255; 553c1.sRgbColor.r = (byte)((sRGBValue[0] * 255.0f) + 0.5f); 820sRgbColor.r = value; 922sRgbColor.r = ScRgbTosRgb(value);
6 references to r
PresentationCore (6)
System\Windows\Media\Color.cs (6)
123c1.scRgbColor.r = sRgbToScRgb(c1.sRgbColor.r); // note that context is undefined and thus unloaded 272return string.Create(provider, stackalloc char[128], $"#{this.sRgbColor.a:X2}{this.sRgbColor.r:X2}{this.sRgbColor.g:X2}{this.sRgbColor.b:X2}"); 465c1.scRgbColor.r = sRgbToScRgb(c1.sRgbColor.r); 582c1.scRgbColor.r = sRgbToScRgb(c1.sRgbColor.r); 813return sRgbColor.r; 1098Span<float> sRGBValue = [this.sRgbColor.r / 255.0f, this.sRgbColor.g / 255.0f, this.sRgbColor.b / 255.0f];