14 writes to a
PresentationCore (14)
System\Windows\Media\Color.cs (14)
49c1.scRgbColor.a = 1.0f; 93c1.scRgbColor.a = a; 132c1.scRgbColor.a = (float)c1.sRgbColor.a / 255.0f; 153c1.scRgbColor.a = a; 181c1.scRgbColor.a = (float)a / 255.0f; 370scRgbColor.a = (scRgbColor.a < 0) ? 0 : (scRgbColor.a > 1.0f) ? 1.0f : scRgbColor.a; 480c1.scRgbColor.a = color1.scRgbColor.a + color2.scRgbColor.a; 483c1.scRgbColor.a = 0.0f; 488c1.scRgbColor.a = 1.0f; 599c1.scRgbColor.a = color1.scRgbColor.a - color2.scRgbColor.a; 602c1.scRgbColor.a = 0.0f; 607c1.scRgbColor.a = 1.0f; 816scRgbColor.a = (float)value / 255.0f; 906scRgbColor.a = value;
29 references to a
PresentationCore (29)
System\Windows\Media\Color.cs (29)
290separator, scRgbColor.a, scRgbColor.r, scRgbColor.g, scRgbColor.b); 307sb.AppendFormat(provider,"{1:" + format + "}{0}",separator,scRgbColor.a); 357return result && FloatUtil.AreClose(scRgbColor.a, color.scRgbColor.a); 370scRgbColor.a = (scRgbColor.a < 0) ? 0 : (scRgbColor.a > 1.0f) ? 1.0f : scRgbColor.a; 371sRgbColor.a = (byte)(scRgbColor.a * 255f); 411color1.scRgbColor.a + color2.scRgbColor.a, 480c1.scRgbColor.a = color1.scRgbColor.a + color2.scRgbColor.a; 481if (c1.scRgbColor.a < 0.0f) 486else if (c1.scRgbColor.a > 1.0f) 493c1.sRgbColor.a = (byte)((c1.scRgbColor.a * 255.0f) + 0.5f); 525color1.scRgbColor.a - color2.scRgbColor.a, 599c1.scRgbColor.a = color1.scRgbColor.a - color2.scRgbColor.a; 600if (c1.scRgbColor.a < 0.0f) 605else if (c1.scRgbColor.a > 1.0f) 612c1.sRgbColor.a = (byte)((c1.scRgbColor.a * 255.0f) + 0.5f); 640Color c1 = FromScRgb(color.scRgbColor.a * coefficient, color.scRgbColor.r * coefficient, color.scRgbColor.g * coefficient, color.scRgbColor.b * coefficient); 730if (color1.scRgbColor.a != color2.scRgbColor.a) 766if (color1.scRgbColor.a != color2.scRgbColor.a) 902return scRgbColor.a; 1151return a.GetHashCode() ^ r.GetHashCode() ^ g.GetHashCode() ^ b.GetHashCode();