10 writes to g
PresentationCore (10)
System\Windows\Media\Color.cs (10)
41
c1.scRgbColor.
g
= 0.0f;
124
c1.scRgbColor.
g
= sRgbToScRgb(c1.sRgbColor.g);
141
c1.scRgbColor.
g
= g;
173
c1.scRgbColor.
g
= sRgbToScRgb(g);
358
scRgbColor.
g
= (scRgbColor.g < 0) ? 0 : (scRgbColor.g > 1.0f) ? 1.0f : scRgbColor.g;
466
c1.scRgbColor.
g
= sRgbToScRgb(c1.sRgbColor.g);
583
c1.scRgbColor.
g
= sRgbToScRgb(c1.sRgbColor.g);
843
scRgbColor.
g
= sRgbToScRgb(value);
946
scRgbColor.
g
= value;
1088
this.scRgbColor.
g
= sRgbToScRgb((byte)((255.0f * scRGBValue[1]) + 0.5f));
19 references to g
PresentationCore (19)
System\Windows\Media\Color.cs (19)
95
c1.sRgbColor.g = ScRgbTosRgb(c1.scRgbColor.
g
);
155
c1.sRgbColor.g = ScRgbTosRgb(c1.scRgbColor.
g
);
178
c1.sRgbColor.g = ScRgbTosRgb(c1.scRgbColor.
g
);
280
separator, scRgbColor.a, scRgbColor.r, scRgbColor.
g
, scRgbColor.b);
338
result = result && FloatUtil.AreClose(scRgbColor.
g
, color.scRgbColor.
g
);
358
scRgbColor.g = (scRgbColor.
g
< 0) ? 0 : (scRgbColor.
g
> 1.0f) ? 1.0f : scRgbColor.
g
;
363
sRgbColor.g = ScRgbTosRgb(scRgbColor.
g
);
403
color1.scRgbColor.
g
+ color2.scRgbColor.
g
,
515
color1.scRgbColor.
g
- color2.scRgbColor.
g
,
626
Color c1 = FromScRgb(color.scRgbColor.a * coefficient, color.scRgbColor.r * coefficient, color.scRgbColor.
g
* coefficient, color.scRgbColor.b * coefficient);
703
if (color1.scRgbColor.
g
!= color2.scRgbColor.
g
)
939
return scRgbColor.
g
;
1134
return a.GetHashCode() ^ r.GetHashCode() ^
g
.GetHashCode() ^ b.GetHashCode();