14 writes to r
PresentationCore (14)
Core\CSharp\System\Windows\Media\Color.cs (14)
55
c1.sRgbColor.
r
= 0;
105
c1.sRgbColor.
r
= ScRgbTosRgb(c1.scRgbColor.r);
130
c1.sRgbColor.
r
= (byte)((argb & 0x00ff0000) >> 16);
165
c1.sRgbColor.
r
= ScRgbTosRgb(c1.scRgbColor.r);
188
c1.sRgbColor.
r
= ScRgbTosRgb(c1.scRgbColor.r);
380
sRgbColor.
r
= ScRgbTosRgb(scRgbColor.r);
448
c1.sRgbColor.
r
= 0;
452
c1.sRgbColor.
r
= 255;
456
c1.sRgbColor.
r
= (byte)((sRGBValue[0] * 255.0f) + 0.5f);
567
c1.sRgbColor.
r
= 0;
571
c1.sRgbColor.
r
= 255;
575
c1.sRgbColor.
r
= (byte)((sRGBValue[0] * 255.0f) + 0.5f);
845
sRgbColor.
r
= value;
947
sRgbColor.
r
= ScRgbTosRgb(value);
6 references to r
PresentationCore (6)
Core\CSharp\System\Windows\Media\Color.cs (6)
134
c1.scRgbColor.r = sRgbToScRgb(c1.sRgbColor.
r
); // note that context is undefined and thus unloaded
286
sb.AppendFormat(provider, "{0:X2}", this.sRgbColor.
r
);
485
c1.scRgbColor.r = sRgbToScRgb(c1.sRgbColor.
r
);
604
c1.scRgbColor.r = sRgbToScRgb(c1.sRgbColor.
r
);
838
return sRgbColor.
r
;
1125
sRGBValue[0] = this.sRgbColor.
r
/ 255.0f;