14 writes to g
PresentationCore (14)
System\Windows\Media\Color.cs (14)
46
c1.sRgbColor.
g
= 0;
96
c1.sRgbColor.
g
= ScRgbTosRgb(c1.scRgbColor.g);
121
c1.sRgbColor.
g
= (byte)((argb & 0x0000ff00) >> 8);
156
c1.sRgbColor.
g
= ScRgbTosRgb(c1.scRgbColor.g);
179
c1.sRgbColor.
g
= ScRgbTosRgb(c1.scRgbColor.g);
364
sRgbColor.
g
= ScRgbTosRgb(scRgbColor.g);
442
c1.sRgbColor.
g
= 0;
446
c1.sRgbColor.
g
= 255;
450
c1.sRgbColor.
g
= (byte)((sRGBValue[1] * 255.0f) + 0.5f);
559
c1.sRgbColor.
g
= 0;
563
c1.sRgbColor.
g
= 255;
567
c1.sRgbColor.
g
= (byte)((sRGBValue[1] * 255.0f) + 0.5f);
845
sRgbColor.
g
= value;
948
sRgbColor.
g
= ScRgbTosRgb(value);
6 references to g
PresentationCore (6)
System\Windows\Media\Color.cs (6)
125
c1.scRgbColor.g = sRgbToScRgb(c1.sRgbColor.
g
);
273
return string.Create(provider, stackalloc char[128], $"#{this.sRgbColor.a:X2}{this.sRgbColor.r:X2}{this.sRgbColor.
g
:X2}{this.sRgbColor.b:X2}");
467
c1.scRgbColor.g = sRgbToScRgb(c1.sRgbColor.
g
);
584
c1.scRgbColor.g = sRgbToScRgb(c1.sRgbColor.
g
);
838
return sRgbColor.
g
;
1099
Span<float> sRGBValue = [this.sRgbColor.r / 255.0f, this.sRgbColor.
g
/ 255.0f, this.sRgbColor.b / 255.0f];