14 writes to a
PresentationCore (14)
System\Windows\Media\Color.cs (14)
41c1.scRgbColor.a = 1.0f; 85c1.scRgbColor.a = a; 124c1.scRgbColor.a = (float)c1.sRgbColor.a / 255.0f; 145c1.scRgbColor.a = a; 173c1.scRgbColor.a = (float)a / 255.0f; 362scRgbColor.a = (scRgbColor.a < 0) ? 0 : (scRgbColor.a > 1.0f) ? 1.0f : scRgbColor.a; 472c1.scRgbColor.a = color1.scRgbColor.a + color2.scRgbColor.a; 475c1.scRgbColor.a = 0.0f; 480c1.scRgbColor.a = 1.0f; 591c1.scRgbColor.a = color1.scRgbColor.a - color2.scRgbColor.a; 594c1.scRgbColor.a = 0.0f; 599c1.scRgbColor.a = 1.0f; 808scRgbColor.a = (float)value / 255.0f; 898scRgbColor.a = value;
29 references to a
PresentationCore (29)
System\Windows\Media\Color.cs (29)
282separator, scRgbColor.a, scRgbColor.r, scRgbColor.g, scRgbColor.b); 299sb.AppendFormat(provider,"{1:" + format + "}{0}",separator,scRgbColor.a); 349return result && FloatUtil.AreClose(scRgbColor.a, color.scRgbColor.a); 362scRgbColor.a = (scRgbColor.a < 0) ? 0 : (scRgbColor.a > 1.0f) ? 1.0f : scRgbColor.a; 363sRgbColor.a = (byte)(scRgbColor.a * 255f); 403color1.scRgbColor.a + color2.scRgbColor.a, 472c1.scRgbColor.a = color1.scRgbColor.a + color2.scRgbColor.a; 473if (c1.scRgbColor.a < 0.0f) 478else if (c1.scRgbColor.a > 1.0f) 485c1.sRgbColor.a = (byte)((c1.scRgbColor.a * 255.0f) + 0.5f); 517color1.scRgbColor.a - color2.scRgbColor.a, 591c1.scRgbColor.a = color1.scRgbColor.a - color2.scRgbColor.a; 592if (c1.scRgbColor.a < 0.0f) 597else if (c1.scRgbColor.a > 1.0f) 604c1.sRgbColor.a = (byte)((c1.scRgbColor.a * 255.0f) + 0.5f); 632Color c1 = FromScRgb(color.scRgbColor.a * coefficient, color.scRgbColor.r * coefficient, color.scRgbColor.g * coefficient, color.scRgbColor.b * coefficient); 722if (color1.scRgbColor.a != color2.scRgbColor.a) 758if (color1.scRgbColor.a != color2.scRgbColor.a) 894return scRgbColor.a; 1143return a.GetHashCode() ^ r.GetHashCode() ^ g.GetHashCode() ^ b.GetHashCode();