10 writes to g
PresentationCore (10)
System\Windows\Media\Color.cs (10)
51
c1.scRgbColor.
g
= 0.0f;
134
c1.scRgbColor.
g
= sRgbToScRgb(c1.sRgbColor.g);
151
c1.scRgbColor.
g
= g;
183
c1.scRgbColor.
g
= sRgbToScRgb(g);
368
scRgbColor.
g
= (scRgbColor.g < 0) ? 0 : (scRgbColor.g > 1.0f) ? 1.0f : scRgbColor.g;
478
c1.scRgbColor.
g
= sRgbToScRgb(c1.sRgbColor.g);
597
c1.scRgbColor.
g
= sRgbToScRgb(c1.sRgbColor.g);
860
scRgbColor.
g
= sRgbToScRgb(value);
963
scRgbColor.
g
= value;
1105
this.scRgbColor.
g
= sRgbToScRgb((byte)((255.0f * scRGBValue[1]) + 0.5f));
19 references to g
PresentationCore (19)
System\Windows\Media\Color.cs (19)
105
c1.sRgbColor.g = ScRgbTosRgb(c1.scRgbColor.
g
);
165
c1.sRgbColor.g = ScRgbTosRgb(c1.scRgbColor.
g
);
188
c1.sRgbColor.g = ScRgbTosRgb(c1.scRgbColor.
g
);
290
separator, scRgbColor.a, scRgbColor.r, scRgbColor.
g
, scRgbColor.b);
348
result = result && FloatUtil.AreClose(scRgbColor.
g
, color.scRgbColor.
g
);
368
scRgbColor.g = (scRgbColor.
g
< 0) ? 0 : (scRgbColor.
g
> 1.0f) ? 1.0f : scRgbColor.
g
;
373
sRgbColor.g = ScRgbTosRgb(scRgbColor.
g
);
413
color1.scRgbColor.
g
+ color2.scRgbColor.
g
,
527
color1.scRgbColor.
g
- color2.scRgbColor.
g
,
640
Color c1 = FromScRgb(color.scRgbColor.a * coefficient, color.scRgbColor.r * coefficient, color.scRgbColor.
g
* coefficient, color.scRgbColor.b * coefficient);
720
if (color1.scRgbColor.
g
!= color2.scRgbColor.
g
)
956
return scRgbColor.
g
;
1151
return a.GetHashCode() ^ r.GetHashCode() ^
g
.GetHashCode() ^ b.GetHashCode();