16 writes to Brush
ReachFramework (16)
AlphaFlattener\DrawingContext.cs (2)
131geo.Brush = brush.ApplyTransformCopy(brushTrans); 183Brush = foreground
AlphaFlattener\Flattener.cs (4)
213stroke.Brush = null; 262gp.Brush = null; 521gi.Brush = bi.BlendBrush(bj); 721gp.Brush = blendedBrush;
AlphaFlattener\MetroDevice.cs (2)
214g.Brush = BrushProxy.CreateBrush(brush, bounds); 282g.Brush = BrushProxy.CreateBrush(foreground, g.GetRectBounds(needBounds));
AlphaFlattener\Primitive.cs (8)
338gp.Brush = BrushProxy.CreateUserBrush(gd.Brush, bounds, drawingToWorldTransformHint, new TreeWalkProgress()); 394Brush = BrushProxy.CreateUserBrush( 431Brush = BrushProxy.CreateBrush(db, id.Rect), 678Brush = Pen.StrokeBrush; 1095Brush = Brush.Clone(); 1097Brush = Brush.PushOpacity(Opacity, OpacityMask); 1234g.Brush = g.Brush.Clone(); 1237g.Brush = color.BlendBrush(g.Brush);
54 references to Brush
ReachFramework (54)
AlphaFlattener\Flattener.cs (10)
199if (gp != null && gp.Brush != null && gp.Pen != null && 254if ((gp.Brush != null) && (gp.Pen != null)) 265else if ((gp.Pen != null) || (gp.Brush != null)) 514if ((gi != null) && (gi.Brush != null) && 515(gj != null) && (gj.Brush != null)) 518BrushProxy bi = gi.Brush.ApplyTransformCopy(gi.Transform); 519BrushProxy bj = gj.Brush.ApplyTransformCopy(gj.Transform); 685under = qp.Brush; 692BrushProxy blendedBrush = gp.Brush; 1122ri.Brush = p.Brush;
AlphaFlattener\Optimizer.cs (1)
336BrushProxy bp = gp.Brush;
AlphaFlattener\Primitive.cs (38)
349if ((gp.Brush == null) && (gp.Pen == null)) 356if ((gp.Brush != null) && (gp.Pen != null)) // split 676Debug.Assert(Brush == null, "no brush expected"); 1093if (Brush != null) 1095Brush = Brush.Clone(); 1097Brush = Brush.PushOpacity(Opacity, OpacityMask); 1113if ((Geometry != null) && (Pen != null) || (Brush != null)) 1146if (Brush == null) 1152Brush.DrawGeometry(dc, p, Geometry); // BrushProxy.GetRealBrush can't handle OpacityMask 1185BrushProxy b = Brush; 1204BrushProxy b = Brush; 1232if (g.Brush != null) 1234g.Brush = g.Brush.Clone(); 1235g.Brush.OpacityOnly = true; 1237g.Brush = color.BlendBrush(g.Brush); 1255if ((Brush == null) && (Pen == null)) 1265if (Brush == null) 1272return Brush.IsOpaque(); 1275return Pen.IsOpaque() && Brush.IsOpaque(); 1288if ((Brush == null) && (Pen == null)) 1293if (Brush == null) 1300return Brush.IsTransparent(); 1303return Pen.IsTransparent() && Brush.IsTransparent(); 1312Debug.Assert((Brush != null) || (Pen != null), "empty primitive"); 1335Brush?.ApplyTransform(Transform); 1362if (Brush != null) 1364TileBrush tb = Brush.Brush as TileBrush; 1372if (!Brush.IsTiled(geometryBounds)) 1374Brush.CloneRealBrush(); 1376tb = Brush.Brush as TileBrush; 1436if (!empty && !Brush.IsViewportCoverBounds(geometryBounds)) 1507if (Brush != null) 1511Brush realBrush = Brush.GetRealBrush(); 1513opacity *= Brush.Opacity; 1680if ((GlyphRun != null) && (Pen != null) || (Brush != null)) 1686dc.DrawGlyphRun(Brush.GetRealBrush(), GlyphRun); 2197if ((gp != null) && (gp.Brush != null) && (gp.Pen == null)) 2199BrushProxy bp = gp.Brush;
AlphaFlattener\PrimitiveList.cs (5)
186if ((gp != null) && (gp.Brush != null) && (gp.Pen == null)) 188Brush b = gp.Brush.Brush; 223if ((gp.Brush != null) && (gp.Pen == null)) 225return gp.Brush.IsWhite(); 228if ((gp.Pen != null) && (gp.Brush == null))