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