3 writes to ScA
ReachFramework (3)
AlphaFlattener\Utility.cs (3)
1156y.ScA = 1; 1200color.ScA = (float)(color.ScA * opacity); 2313color.ScA = a;
38 references to ScA
PresentationCore (5)
MS\Internal\AnimatedTypeHelpers.cs (2)
388return Math.Abs(to.ScA - from.ScA)
src\Microsoft.DotNet.Wpf\src\Common\Graphics\exports.cs (2)
2345command.clearColor.a = color.ScA; 2427command.colorKey.a = colorKey.ScA;
System\Windows\Media\Composition.cs (1)
36color.a = c.ScA;
ReachFramework (33)
AlphaFlattener\BrushProxy.cs (24)
612return Utility.IsOpaque(y.Color.ScA); 621if (!Utility.IsOpaque(gs.Color.ScA)) 701double opacity = _opacity * Utility.NormalizeOpacity(y.Color.ScA); 712double opacity = _opacity * Utility.NormalizeOpacity(gs.Color.ScA); 1452if (!Utility.IsTransparent(_beforeDrawing.ScA)) 1469if (!Utility.IsTransparent(_afterDrawing.ScA)) 1507if (!Utility.IsTransparent(_beforeDrawing.ScA) || !Utility.IsTransparent(_afterDrawing.ScA) || _brushList == null) 1523if (!Utility.IsTransparent(_beforeDrawing.ScA)) 1588if (!Utility.IsTransparent(_afterDrawing.ScA)) 1870result = Utility.Scale(color, Utility.NormalizeOpacity(stopColor.ScA) * _opacity); 1994bool colorOpaque = Utility.IsOpaque(color.ScA); 2083a * prevColor.ScA + b * currentColor.ScA, 2432gs.Color = Utility.Scale(gsA.Color, gsB.Color.ScA); 2436gs.Color = Utility.Scale(gsB.Color, gsA.Color.ScA); 2719if (Utility.IsTransparent(color.ScA)) 2835if (Utility.IsTransparent(solidBrush.Color.ScA)) 2958if (!Utility.IsTransparent(gs.Color.ScA)) 3230if (Utility.IsOpaque(colorA.ScA)) 3237b.PushOpacity(colorA.ScA, null); 3264if (Utility.IsOpaque(colorA.ScA)) 3294Utility.NormalizeOpacity(sB.Color.ScA) * brushB._opacity 3663m_a = c.ScA;
AlphaFlattener\DrawingContext.cs (2)
288linear.Opacity = saveOpacity * Utility.NormalizeOpacity(color.ScA); 413radial.Opacity = saveOpacity * Utility.NormalizeOpacity(color.ScA);
AlphaFlattener\ImageProxy.cs (1)
344if (! Utility.IsOpaque(c.ScA))
AlphaFlattener\Primitive.cs (1)
606Opacity *= Utility.NormalizeOpacity(sb.Color.ScA) * OpacityMask.Opacity;
AlphaFlattener\Utility.cs (3)
1116return Utility.IsOpaque(sb.Color.ScA); 1200color.ScA = (float)(color.ScA * opacity); 2306float a = NormalizeOpacityIfChanged(color.ScA);
Serialization\ColorTypeConverter.cs (1)
187sb.AppendFormat(provider, "{1:R}{0}", separator, color.ScA);
Serialization\VisualSerializer.cs (1)
2259opacity *= Utility.NormalizeOpacity(sb.Color.ScA) * Utility.NormalizeOpacity(opacityMask.Opacity);