13 writes to OpacityMask
ReachFramework (13)
AlphaFlattener\Flattener.cs (1)
162
ntree.
OpacityMask
= null;
AlphaFlattener\MetroDevice.cs (5)
173
OpacityMask
= _opacityMask
232
g.
OpacityMask
= BrushProxy.CreateColorBrush(Colors.Transparent);
259
OpacityMask
= _opacityMask
285
g.
OpacityMask
= _opacityMask;
367
c.
OpacityMask
= BrushProxy.CreateOpacityMaskBrush(opacityMask, maskBounds);
AlphaFlattener\Primitive.cs (7)
528
primitive.
OpacityMask
= BrushProxy.CreateOpacityMaskBrush(dg.OpacityMask, dg.Bounds);
607
OpacityMask
= null;
903
OpacityMask
= BrushProxy.BlendBrush(OpacityMask, _brush.OpacityMask),
1106
OpacityMask
= null;
1561
OpacityMask
= BrushProxy.BlendBrush(OpacityMask, opacityMask);
1817
OpacityMask
= null;
1951
OpacityMask
= BrushProxy.BlendBrush(OpacityMask, opacityMask);
18 references to OpacityMask
ReachFramework (18)
AlphaFlattener\Flattener.cs (1)
115
opacityMask = BrushProxy.BlendBrush(opacityMask, tree.
OpacityMask
);
AlphaFlattener\MetroDevice.cs (5)
195
if (g.
OpacityMask
!= null)
197
if (g.
OpacityMask
.BrushList == null && !(g.
OpacityMask
.Brush is SolidColorBrush))
227
if (g.
OpacityMask
!= null)
229
if (!g.
OpacityMask
.MakeBrushAbsolute(bounds))
AlphaFlattener\Primitive.cs (12)
599
if ((
OpacityMask
!= null) && (
OpacityMask
.Brush != null))
601
SolidColorBrush sb =
OpacityMask
.Brush as SolidColorBrush;
605
Opacity *= Utility.NormalizeOpacity(sb.Color.ScA) *
OpacityMask
.Opacity;
887
if (
OpacityMask
!= null)
903
OpacityMask = BrushProxy.BlendBrush(
OpacityMask
, _brush.OpacityMask),
1091
if (!Utility.IsOpaque(Opacity) || (
OpacityMask
!= null))
1097
Brush = Brush.PushOpacity(Opacity,
OpacityMask
);
1102
Pen.PushOpacity(Opacity,
OpacityMask
);
1561
OpacityMask = BrushProxy.BlendBrush(
OpacityMask
, opacityMask);
1814
Image.PushOpacity(Opacity,
OpacityMask
, DstRect, Transform);
1951
OpacityMask = BrushProxy.BlendBrush(
OpacityMask
, opacityMask);