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