14 writes to g
PresentationCore (14)
System\Windows\Media\Color.cs (14)
55c1.sRgbColor.g = 0; 105c1.sRgbColor.g = ScRgbTosRgb(c1.scRgbColor.g); 130c1.sRgbColor.g = (byte)((argb & 0x0000ff00) >> 8); 165c1.sRgbColor.g = ScRgbTosRgb(c1.scRgbColor.g); 188c1.sRgbColor.g = ScRgbTosRgb(c1.scRgbColor.g); 373sRgbColor.g = ScRgbTosRgb(scRgbColor.g); 453c1.sRgbColor.g = 0; 457c1.sRgbColor.g = 255; 461c1.sRgbColor.g = (byte)((sRGBValue[1] * 255.0f) + 0.5f); 572c1.sRgbColor.g = 0; 576c1.sRgbColor.g = 255; 580c1.sRgbColor.g = (byte)((sRGBValue[1] * 255.0f) + 0.5f); 861sRgbColor.g = value; 964sRgbColor.g = ScRgbTosRgb(value);
6 references to g
PresentationCore (6)
System\Windows\Media\Color.cs (6)
134c1.scRgbColor.g = sRgbToScRgb(c1.sRgbColor.g); 282return string.Create(provider, stackalloc char[128], $"#{this.sRgbColor.a:X2}{this.sRgbColor.r:X2}{this.sRgbColor.g:X2}{this.sRgbColor.b:X2}"); 478c1.scRgbColor.g = sRgbToScRgb(c1.sRgbColor.g); 597c1.scRgbColor.g = sRgbToScRgb(c1.sRgbColor.g); 854return sRgbColor.g; 1115Span<float> sRGBValue = [this.sRgbColor.r / 255.0f, this.sRgbColor.g / 255.0f, this.sRgbColor.b / 255.0f];