15 writes to Opacity
ReachFramework (15)
AlphaFlattener\Flattener.cs (1)
166ntree.Opacity = 1.0;
AlphaFlattener\MetroDevice.cs (6)
178g.Opacity = _opacity; 263g.Opacity = _opacity; 288g.Opacity = _opacity; 354c.Opacity = opacity * _opacity; 358c.Opacity = 0; // Invisible 367c.Opacity = opacity * _opacity * op;
AlphaFlattener\Primitive.cs (8)
56Opacity = 1.0; 525primitive.Opacity = Utility.NormalizeOpacity(dg.Opacity); 606Opacity *= Utility.NormalizeOpacity(sb.Color.ScA) * OpacityMask.Opacity; 903canvas.Opacity = Opacity * _brush.Opacity; 1105Opacity = 1; 1559Opacity *= opacity; 1810Opacity = 1; 1948Opacity *= opacity;
17 references to Opacity
ReachFramework (17)
AlphaFlattener\BrushProxy.cs (2)
1612if (!Utility.IsOpaque(p.Opacity)) 1677if (Utility.IsTransparent(p.Opacity))
AlphaFlattener\Flattener.cs (2)
92Debug.Assert(Utility.IsValid(opacity) && Utility.IsValid(tree.Opacity), "Invalid opacity encountered, should've been normalized in conversion to Primitive"); 109opacity *= tree.Opacity;
AlphaFlattener\Primitive.cs (13)
126return Opacity; 214if (Utility.IsTransparent(Opacity)) 224if (!Utility.IsOpaque(Opacity)) 903canvas.Opacity = Opacity * _brush.Opacity; 1091if (!Utility.IsOpaque(Opacity) || (OpacityMask != null)) 1097Brush = Brush.PushOpacity(Opacity, OpacityMask); 1102Pen.PushOpacity(Opacity, OpacityMask); 1263if (!Utility.IsOpaque(Opacity)) 1286if (Utility.IsTransparent(Opacity)) 1505double opacity = Opacity; 1808Image.PushOpacity(Opacity, OpacityMask, DstRect, Transform); 1916if (Utility.IsTransparent(Opacity)) 2074if (Utility.IsTransparent(Opacity))