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