10 writes to g
PresentationCore (10)
Core\CSharp\System\Windows\Media\Color.cs (10)
52
c1.scRgbColor.
g
= 0.0f;
135
c1.scRgbColor.
g
= sRgbToScRgb(c1.sRgbColor.g);
152
c1.scRgbColor.
g
= g;
184
c1.scRgbColor.
g
= sRgbToScRgb(g);
376
scRgbColor.
g
= (scRgbColor.g < 0) ? 0 : (scRgbColor.g > 1.0f) ? 1.0f : scRgbColor.g;
486
c1.scRgbColor.
g
= sRgbToScRgb(c1.sRgbColor.g);
605
c1.scRgbColor.
g
= sRgbToScRgb(c1.sRgbColor.g);
868
scRgbColor.
g
= sRgbToScRgb(value);
971
scRgbColor.
g
= value;
1113
this.scRgbColor.
g
= sRgbToScRgb((byte)((255.0f * scRGBValue[1]) + 0.5f));
18 references to g
PresentationCore (18)
Core\CSharp\System\Windows\Media\Color.cs (18)
106
c1.sRgbColor.g = ScRgbTosRgb(c1.scRgbColor.
g
);
166
c1.sRgbColor.g = ScRgbTosRgb(c1.scRgbColor.
g
);
189
c1.sRgbColor.g = ScRgbTosRgb(c1.scRgbColor.
g
);
298
scRgbColor.
g
, scRgbColor.b);
356
result = result && FloatUtil.AreClose(scRgbColor.
g
, color.scRgbColor.
g
);
376
scRgbColor.g = (scRgbColor.
g
< 0) ? 0 : (scRgbColor.
g
> 1.0f) ? 1.0f : scRgbColor.
g
;
381
sRgbColor.g = ScRgbTosRgb(scRgbColor.
g
);
421
color1.scRgbColor.
g
+ color2.scRgbColor.
g
,
535
color1.scRgbColor.
g
- color2.scRgbColor.
g
,
648
Color c1 = FromScRgb(color.scRgbColor.a * coefficient, color.scRgbColor.r * coefficient, color.scRgbColor.
g
* coefficient, color.scRgbColor.b * coefficient);
728
if (color1.scRgbColor.
g
!= color2.scRgbColor.
g
)
964
return scRgbColor.
g
;