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