13 writes to OpacityMask
ReachFramework (13)
AlphaFlattener\Flattener.cs (1)
161
ntree.
OpacityMask
= null;
AlphaFlattener\MetroDevice.cs (5)
172
OpacityMask
= _opacityMask
231
g.
OpacityMask
= BrushProxy.CreateColorBrush(Colors.Transparent);
258
OpacityMask
= _opacityMask
284
g.
OpacityMask
= _opacityMask;
366
c.
OpacityMask
= BrushProxy.CreateOpacityMaskBrush(opacityMask, maskBounds);
AlphaFlattener\Primitive.cs (7)
527
primitive.
OpacityMask
= BrushProxy.CreateOpacityMaskBrush(dg.OpacityMask, dg.Bounds);
606
OpacityMask
= null;
902
OpacityMask
= BrushProxy.BlendBrush(OpacityMask, _brush.OpacityMask),
1102
OpacityMask
= null;
1554
OpacityMask
= BrushProxy.BlendBrush(OpacityMask, opacityMask);
1810
OpacityMask
= null;
1944
OpacityMask
= BrushProxy.BlendBrush(OpacityMask, opacityMask);
18 references to OpacityMask
ReachFramework (18)
AlphaFlattener\Flattener.cs (1)
114
opacityMask = BrushProxy.BlendBrush(opacityMask, tree.
OpacityMask
);
AlphaFlattener\MetroDevice.cs (5)
194
if (g.
OpacityMask
!= null)
196
if (g.
OpacityMask
.BrushList == null && !(g.
OpacityMask
.Brush is SolidColorBrush))
226
if (g.
OpacityMask
!= null)
228
if (!g.
OpacityMask
.MakeBrushAbsolute(bounds))
AlphaFlattener\Primitive.cs (12)
598
if ((
OpacityMask
!= null) && (
OpacityMask
.Brush != null))
600
SolidColorBrush sb =
OpacityMask
.Brush as SolidColorBrush;
604
Opacity *= Utility.NormalizeOpacity(sb.Color.ScA) *
OpacityMask
.Opacity;
886
if (
OpacityMask
!= null)
902
OpacityMask = BrushProxy.BlendBrush(
OpacityMask
, _brush.OpacityMask),
1090
if (!Utility.IsOpaque(Opacity) || (
OpacityMask
!= null))
1096
Brush = Brush.PushOpacity(Opacity,
OpacityMask
);
1099
Pen?.PushOpacity(Opacity,
OpacityMask
);
1554
OpacityMask = BrushProxy.BlendBrush(
OpacityMask
, opacityMask);
1807
Image.PushOpacity(Opacity,
OpacityMask
, DstRect, Transform);
1944
OpacityMask = BrushProxy.BlendBrush(
OpacityMask
, opacityMask);