10 writes to g
PresentationCore (10)
System\Windows\Media\Color.cs (10)
43
c1.scRgbColor.
g
= 0.0f;
126
c1.scRgbColor.
g
= sRgbToScRgb(c1.sRgbColor.g);
143
c1.scRgbColor.
g
= g;
175
c1.scRgbColor.
g
= sRgbToScRgb(g);
360
scRgbColor.
g
= (scRgbColor.g < 0) ? 0 : (scRgbColor.g > 1.0f) ? 1.0f : scRgbColor.g;
470
c1.scRgbColor.
g
= sRgbToScRgb(c1.sRgbColor.g);
589
c1.scRgbColor.
g
= sRgbToScRgb(c1.sRgbColor.g);
852
scRgbColor.
g
= sRgbToScRgb(value);
955
scRgbColor.
g
= value;
1097
this.scRgbColor.
g
= sRgbToScRgb((byte)((255.0f * scRGBValue[1]) + 0.5f));
19 references to g
PresentationCore (19)
System\Windows\Media\Color.cs (19)
97
c1.sRgbColor.g = ScRgbTosRgb(c1.scRgbColor.
g
);
157
c1.sRgbColor.g = ScRgbTosRgb(c1.scRgbColor.
g
);
180
c1.sRgbColor.g = ScRgbTosRgb(c1.scRgbColor.
g
);
282
separator, scRgbColor.a, scRgbColor.r, scRgbColor.
g
, scRgbColor.b);
340
result = result && FloatUtil.AreClose(scRgbColor.
g
, color.scRgbColor.
g
);
360
scRgbColor.g = (scRgbColor.
g
< 0) ? 0 : (scRgbColor.
g
> 1.0f) ? 1.0f : scRgbColor.
g
;
365
sRgbColor.g = ScRgbTosRgb(scRgbColor.
g
);
405
color1.scRgbColor.
g
+ color2.scRgbColor.
g
,
519
color1.scRgbColor.
g
- color2.scRgbColor.
g
,
632
Color c1 = FromScRgb(color.scRgbColor.a * coefficient, color.scRgbColor.r * coefficient, color.scRgbColor.
g
* coefficient, color.scRgbColor.b * coefficient);
712
if (color1.scRgbColor.
g
!= color2.scRgbColor.
g
)
948
return scRgbColor.
g
;
1143
return a.GetHashCode() ^ r.GetHashCode() ^
g
.GetHashCode() ^ b.GetHashCode();