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