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