18 references to sRgbToScRgb
PresentationCore (18)
System\Windows\Media\Color.cs (18)
124
c1.scRgbColor.r =
sRgbToScRgb
(c1.sRgbColor.r); // note that context is undefined and thus unloaded
125
c1.scRgbColor.g =
sRgbToScRgb
(c1.sRgbColor.g);
126
c1.scRgbColor.b =
sRgbToScRgb
(c1.sRgbColor.b);
173
c1.scRgbColor.r =
sRgbToScRgb
(r); // note that context is undefined and thus unloaded
174
c1.scRgbColor.g =
sRgbToScRgb
(g);
175
c1.scRgbColor.b =
sRgbToScRgb
(b);
466
c1.scRgbColor.r =
sRgbToScRgb
(c1.sRgbColor.r);
467
c1.scRgbColor.g =
sRgbToScRgb
(c1.sRgbColor.g);
468
c1.scRgbColor.b =
sRgbToScRgb
(c1.sRgbColor.b);
583
c1.scRgbColor.r =
sRgbToScRgb
(c1.sRgbColor.r);
584
c1.scRgbColor.g =
sRgbToScRgb
(c1.sRgbColor.g);
585
c1.scRgbColor.b =
sRgbToScRgb
(c1.sRgbColor.b);
820
scRgbColor.r =
sRgbToScRgb
(value);
844
scRgbColor.g =
sRgbToScRgb
(value);
868
scRgbColor.b =
sRgbToScRgb
(value);
1088
this.scRgbColor.r =
sRgbToScRgb
((byte)((255.0f * scRGBValue[0]) + 0.5f));
1089
this.scRgbColor.g =
sRgbToScRgb
((byte)((255.0f * scRGBValue[1]) + 0.5f));
1090
this.scRgbColor.b =
sRgbToScRgb
((byte)((255.0f * scRGBValue[2]) + 0.5f));