14 writes to g
PresentationCore (14)
System\Windows\Media\Color.cs (14)
47
c1.sRgbColor.
g
= 0;
97
c1.sRgbColor.
g
= ScRgbTosRgb(c1.scRgbColor.g);
122
c1.sRgbColor.
g
= (byte)((argb & 0x0000ff00) >> 8);
157
c1.sRgbColor.
g
= ScRgbTosRgb(c1.scRgbColor.g);
180
c1.sRgbColor.
g
= ScRgbTosRgb(c1.scRgbColor.g);
365
sRgbColor.
g
= ScRgbTosRgb(scRgbColor.g);
445
c1.sRgbColor.
g
= 0;
449
c1.sRgbColor.
g
= 255;
453
c1.sRgbColor.
g
= (byte)((sRGBValue[1] * 255.0f) + 0.5f);
564
c1.sRgbColor.
g
= 0;
568
c1.sRgbColor.
g
= 255;
572
c1.sRgbColor.
g
= (byte)((sRGBValue[1] * 255.0f) + 0.5f);
853
sRgbColor.
g
= value;
956
sRgbColor.
g
= ScRgbTosRgb(value);
6 references to g
PresentationCore (6)
System\Windows\Media\Color.cs (6)
126
c1.scRgbColor.g = sRgbToScRgb(c1.sRgbColor.
g
);
274
return string.Create(provider, stackalloc char[128], $"#{this.sRgbColor.a:X2}{this.sRgbColor.r:X2}{this.sRgbColor.
g
:X2}{this.sRgbColor.b:X2}");
470
c1.scRgbColor.g = sRgbToScRgb(c1.sRgbColor.
g
);
589
c1.scRgbColor.g = sRgbToScRgb(c1.sRgbColor.
g
);
846
return sRgbColor.
g
;
1107
Span<float> sRGBValue = [this.sRgbColor.r / 255.0f, this.sRgbColor.
g
/ 255.0f, this.sRgbColor.b / 255.0f];