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