15 writes to Opacity
ReachFramework (15)
AlphaFlattener\Flattener.cs (1)
160ntree.Opacity = 1.0;
AlphaFlattener\MetroDevice.cs (6)
171Opacity = _opacity, 257Opacity = _opacity, 283g.Opacity = _opacity; 349c.Opacity = opacity * _opacity; 353c.Opacity = 0; // Invisible 362c.Opacity = opacity * _opacity * op;
AlphaFlattener\Primitive.cs (8)
50Opacity = 1.0; 523primitive.Opacity = Utility.NormalizeOpacity(dg.Opacity); 604Opacity *= Utility.NormalizeOpacity(sb.Color.ScA) * OpacityMask.Opacity; 901Opacity = Opacity * _brush.Opacity, 1101Opacity = 1; 1558Opacity *= opacity; 1809Opacity = 1; 1948Opacity *= opacity;
17 references to Opacity
ReachFramework (17)
AlphaFlattener\BrushProxy.cs (2)
1606if (!Utility.IsOpaque(p.Opacity)) 1671if (Utility.IsTransparent(p.Opacity))
AlphaFlattener\Flattener.cs (2)
86Debug.Assert(Utility.IsValid(opacity) && Utility.IsValid(tree.Opacity), "Invalid opacity encountered, should've been normalized in conversion to Primitive"); 103opacity *= tree.Opacity;
AlphaFlattener\Primitive.cs (13)
120return Opacity; 208if (Utility.IsTransparent(Opacity)) 218if (!Utility.IsOpaque(Opacity)) 901Opacity = Opacity * _brush.Opacity, 1090if (!Utility.IsOpaque(Opacity) || (OpacityMask != null)) 1096Brush = Brush.PushOpacity(Opacity, OpacityMask); 1099Pen?.PushOpacity(Opacity, OpacityMask); 1259if (!Utility.IsOpaque(Opacity)) 1282if (Utility.IsTransparent(Opacity)) 1504double opacity = Opacity; 1807Image.PushOpacity(Opacity, OpacityMask, DstRect, Transform); 1916if (Utility.IsTransparent(Opacity)) 2074if (Utility.IsTransparent(Opacity))