14 writes to r
PresentationCore (14)
System\Windows\Media\Color.cs (14)
54
c1.sRgbColor.
r
= 0;
104
c1.sRgbColor.
r
= ScRgbTosRgb(c1.scRgbColor.r);
129
c1.sRgbColor.
r
= (byte)((argb & 0x00ff0000) >> 16);
164
c1.sRgbColor.
r
= ScRgbTosRgb(c1.scRgbColor.r);
187
c1.sRgbColor.
r
= ScRgbTosRgb(c1.scRgbColor.r);
372
sRgbColor.
r
= ScRgbTosRgb(scRgbColor.r);
440
c1.sRgbColor.
r
= 0;
444
c1.sRgbColor.
r
= 255;
448
c1.sRgbColor.
r
= (byte)((sRGBValue[0] * 255.0f) + 0.5f);
559
c1.sRgbColor.
r
= 0;
563
c1.sRgbColor.
r
= 255;
567
c1.sRgbColor.
r
= (byte)((sRGBValue[0] * 255.0f) + 0.5f);
837
sRgbColor.
r
= value;
939
sRgbColor.
r
= ScRgbTosRgb(value);
6 references to r
PresentationCore (6)
System\Windows\Media\Color.cs (6)
133
c1.scRgbColor.r = sRgbToScRgb(c1.sRgbColor.
r
); // note that context is undefined and thus unloaded
282
return string.Create(provider, stackalloc char[128], $"#{this.sRgbColor.a:X2}{this.sRgbColor.
r
:X2}{this.sRgbColor.g:X2}{this.sRgbColor.b:X2}");
477
c1.scRgbColor.r = sRgbToScRgb(c1.sRgbColor.
r
);
596
c1.scRgbColor.r = sRgbToScRgb(c1.sRgbColor.
r
);
830
return sRgbColor.
r
;
1115
Span<float> sRGBValue = [this.sRgbColor.
r
/ 255.0f, this.sRgbColor.g / 255.0f, this.sRgbColor.b / 255.0f];