14 writes to a
PresentationCore (14)
System\Windows\Media\Color.cs (14)
40c1.scRgbColor.a = 1.0f; 84c1.scRgbColor.a = a; 123c1.scRgbColor.a = (float)c1.sRgbColor.a / 255.0f; 144c1.scRgbColor.a = a; 172c1.scRgbColor.a = (float)a / 255.0f; 361scRgbColor.a = (scRgbColor.a < 0) ? 0 : (scRgbColor.a > 1.0f) ? 1.0f : scRgbColor.a; 469c1.scRgbColor.a = color1.scRgbColor.a + color2.scRgbColor.a; 472c1.scRgbColor.a = 0.0f; 477c1.scRgbColor.a = 1.0f; 586c1.scRgbColor.a = color1.scRgbColor.a - color2.scRgbColor.a; 589c1.scRgbColor.a = 0.0f; 594c1.scRgbColor.a = 1.0f; 800scRgbColor.a = (float)value / 255.0f; 890scRgbColor.a = value;
29 references to a
PresentationCore (29)
System\Windows\Media\Color.cs (29)
281separator, scRgbColor.a, scRgbColor.r, scRgbColor.g, scRgbColor.b); 298sb.AppendFormat(provider,"{1:" + format + "}{0}",separator,scRgbColor.a); 348return result && FloatUtil.AreClose(scRgbColor.a, color.scRgbColor.a); 361scRgbColor.a = (scRgbColor.a < 0) ? 0 : (scRgbColor.a > 1.0f) ? 1.0f : scRgbColor.a; 362sRgbColor.a = (byte)(scRgbColor.a * 255f); 402color1.scRgbColor.a + color2.scRgbColor.a, 469c1.scRgbColor.a = color1.scRgbColor.a + color2.scRgbColor.a; 470if (c1.scRgbColor.a < 0.0f) 475else if (c1.scRgbColor.a > 1.0f) 482c1.sRgbColor.a = (byte)((c1.scRgbColor.a * 255.0f) + 0.5f); 514color1.scRgbColor.a - color2.scRgbColor.a, 586c1.scRgbColor.a = color1.scRgbColor.a - color2.scRgbColor.a; 587if (c1.scRgbColor.a < 0.0f) 592else if (c1.scRgbColor.a > 1.0f) 599c1.sRgbColor.a = (byte)((c1.scRgbColor.a * 255.0f) + 0.5f); 627Color c1 = FromScRgb(color.scRgbColor.a * coefficient, color.scRgbColor.r * coefficient, color.scRgbColor.g * coefficient, color.scRgbColor.b * coefficient); 714if (color1.scRgbColor.a != color2.scRgbColor.a) 750if (color1.scRgbColor.a != color2.scRgbColor.a) 886return scRgbColor.a; 1135return a.GetHashCode() ^ r.GetHashCode() ^ g.GetHashCode() ^ b.GetHashCode();