18 references to sRgbToScRgb
PresentationCore (18)
System\Windows\Media\Color.cs (18)
125
c1.scRgbColor.r =
sRgbToScRgb
(c1.sRgbColor.r); // note that context is undefined and thus unloaded
126
c1.scRgbColor.g =
sRgbToScRgb
(c1.sRgbColor.g);
127
c1.scRgbColor.b =
sRgbToScRgb
(c1.sRgbColor.b);
174
c1.scRgbColor.r =
sRgbToScRgb
(r); // note that context is undefined and thus unloaded
175
c1.scRgbColor.g =
sRgbToScRgb
(g);
176
c1.scRgbColor.b =
sRgbToScRgb
(b);
469
c1.scRgbColor.r =
sRgbToScRgb
(c1.sRgbColor.r);
470
c1.scRgbColor.g =
sRgbToScRgb
(c1.sRgbColor.g);
471
c1.scRgbColor.b =
sRgbToScRgb
(c1.sRgbColor.b);
588
c1.scRgbColor.r =
sRgbToScRgb
(c1.sRgbColor.r);
589
c1.scRgbColor.g =
sRgbToScRgb
(c1.sRgbColor.g);
590
c1.scRgbColor.b =
sRgbToScRgb
(c1.sRgbColor.b);
828
scRgbColor.r =
sRgbToScRgb
(value);
852
scRgbColor.g =
sRgbToScRgb
(value);
876
scRgbColor.b =
sRgbToScRgb
(value);
1096
this.scRgbColor.r =
sRgbToScRgb
((byte)((255.0f * scRGBValue[0]) + 0.5f));
1097
this.scRgbColor.g =
sRgbToScRgb
((byte)((255.0f * scRGBValue[1]) + 0.5f));
1098
this.scRgbColor.b =
sRgbToScRgb
((byte)((255.0f * scRGBValue[2]) + 0.5f));