13 writes to OpacityMask
ReachFramework (13)
AlphaFlattener\Flattener.cs (1)
167
ntree.
OpacityMask
= null;
AlphaFlattener\MetroDevice.cs (5)
179
g.
OpacityMask
= _opacityMask;
237
g.
OpacityMask
= BrushProxy.CreateColorBrush(Colors.Transparent);
264
g.
OpacityMask
= _opacityMask;
289
g.
OpacityMask
= _opacityMask;
371
c.
OpacityMask
= BrushProxy.CreateOpacityMaskBrush(opacityMask, maskBounds);
AlphaFlattener\Primitive.cs (7)
529
primitive.
OpacityMask
= BrushProxy.CreateOpacityMaskBrush(dg.OpacityMask, dg.Bounds);
608
OpacityMask
= null;
904
canvas.
OpacityMask
= BrushProxy.BlendBrush(OpacityMask, _brush.OpacityMask);
1106
OpacityMask
= null;
1555
OpacityMask
= BrushProxy.BlendBrush(OpacityMask, opacityMask);
1811
OpacityMask
= null;
1944
OpacityMask
= BrushProxy.BlendBrush(OpacityMask, opacityMask);
18 references to OpacityMask
ReachFramework (18)
AlphaFlattener\Flattener.cs (1)
120
opacityMask = BrushProxy.BlendBrush(opacityMask, tree.
OpacityMask
);
AlphaFlattener\MetroDevice.cs (5)
200
if (g.
OpacityMask
!= null)
202
if (g.
OpacityMask
.BrushList == null && !(g.
OpacityMask
.Brush is SolidColorBrush))
232
if (g.
OpacityMask
!= null)
234
if (!g.
OpacityMask
.MakeBrushAbsolute(bounds))
AlphaFlattener\Primitive.cs (12)
600
if ((
OpacityMask
!= null) && (
OpacityMask
.Brush != null))
602
SolidColorBrush sb =
OpacityMask
.Brush as SolidColorBrush;
606
Opacity *= Utility.NormalizeOpacity(sb.Color.ScA) *
OpacityMask
.Opacity;
888
if (
OpacityMask
!= null)
904
canvas.OpacityMask = BrushProxy.BlendBrush(
OpacityMask
, _brush.OpacityMask);
1091
if (!Utility.IsOpaque(Opacity) || (
OpacityMask
!= null))
1097
Brush = Brush.PushOpacity(Opacity,
OpacityMask
);
1102
Pen.PushOpacity(Opacity,
OpacityMask
);
1555
OpacityMask = BrushProxy.BlendBrush(
OpacityMask
, opacityMask);
1808
Image.PushOpacity(Opacity,
OpacityMask
, DstRect, Transform);
1944
OpacityMask = BrushProxy.BlendBrush(
OpacityMask
, opacityMask);