3 writes to ScA
ReachFramework (3)
AlphaFlattener\Utility.cs (3)
1145y.ScA = 1; 1189color.ScA = (float)(color.ScA * opacity); 2302color.ScA = a;
38 references to ScA
PresentationCore (5)
MS\Internal\AnimatedTypeHelpers.cs (2)
387return Math.Abs(to.ScA - from.ScA)
src\Microsoft.DotNet.Wpf\src\Common\Graphics\exports.cs (2)
2328command.clearColor.a = color.ScA; 2410command.colorKey.a = colorKey.ScA;
System\Windows\Media\Composition.cs (1)
20color.a = c.ScA;
ReachFramework (33)
AlphaFlattener\BrushProxy.cs (24)
608return Utility.IsOpaque(y.Color.ScA); 617if (!Utility.IsOpaque(gs.Color.ScA)) 697double opacity = _opacity * Utility.NormalizeOpacity(y.Color.ScA); 708double opacity = _opacity * Utility.NormalizeOpacity(gs.Color.ScA); 1448if (!Utility.IsTransparent(_beforeDrawing.ScA)) 1465if (!Utility.IsTransparent(_afterDrawing.ScA)) 1503if (!Utility.IsTransparent(_beforeDrawing.ScA) || !Utility.IsTransparent(_afterDrawing.ScA) || _brushList == null) 1519if (!Utility.IsTransparent(_beforeDrawing.ScA)) 1584if (!Utility.IsTransparent(_afterDrawing.ScA)) 1866result = Utility.Scale(color, Utility.NormalizeOpacity(stopColor.ScA) * _opacity); 1990bool colorOpaque = Utility.IsOpaque(color.ScA); 2079a * prevColor.ScA + b * currentColor.ScA, 2428gs.Color = Utility.Scale(gsA.Color, gsB.Color.ScA); 2432gs.Color = Utility.Scale(gsB.Color, gsA.Color.ScA); 2715if (Utility.IsTransparent(color.ScA)) 2831if (Utility.IsTransparent(solidBrush.Color.ScA)) 2954if (!Utility.IsTransparent(gs.Color.ScA)) 3226if (Utility.IsOpaque(colorA.ScA)) 3233b.PushOpacity(colorA.ScA, null); 3260if (Utility.IsOpaque(colorA.ScA)) 3290Utility.NormalizeOpacity(sB.Color.ScA) * brushB._opacity 3659m_a = c.ScA;
AlphaFlattener\DrawingContext.cs (2)
284linear.Opacity = saveOpacity * Utility.NormalizeOpacity(color.ScA); 409radial.Opacity = saveOpacity * Utility.NormalizeOpacity(color.ScA);
AlphaFlattener\ImageProxy.cs (1)
337if (! Utility.IsOpaque(c.ScA))
AlphaFlattener\Primitive.cs (1)
601Opacity *= Utility.NormalizeOpacity(sb.Color.ScA) * OpacityMask.Opacity;
AlphaFlattener\Utility.cs (3)
1105return Utility.IsOpaque(sb.Color.ScA); 1189color.ScA = (float)(color.ScA * opacity); 2295float a = NormalizeOpacityIfChanged(color.ScA);
Serialization\ColorTypeConverter.cs (1)
182sb.AppendFormat(provider, "{1:R}{0}", separator, color.ScA);
Serialization\VisualSerializer.cs (1)
2251opacity *= Utility.NormalizeOpacity(sb.Color.ScA) * Utility.NormalizeOpacity(opacityMask.Opacity);