16 writes to Brush
ReachFramework (16)
AlphaFlattener\DrawingContext.cs (2)
131geo.Brush = brush.ApplyTransformCopy(brushTrans); 183Brush = foreground
AlphaFlattener\Flattener.cs (4)
216stroke.Brush = null; 265gp.Brush = null; 527gi.Brush = bi.BlendBrush(bj); 727gp.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); 1237g.Brush = g.Brush.Clone(); 1240g.Brush = color.BlendBrush(g.Brush);
55 references to Brush
ReachFramework (55)
AlphaFlattener\Flattener.cs (10)
202if (gp != null && gp.Brush != null && gp.Pen != null && 257if ((gp.Brush != null) && (gp.Pen != null)) 268else if ((gp.Pen != null) || (gp.Brush != null)) 520if ((gi != null) && (gi.Brush != null) && 521(gj != null) && (gj.Brush != null)) 524BrushProxy bi = gi.Brush.ApplyTransformCopy(gi.Transform); 525BrushProxy bj = gj.Brush.ApplyTransformCopy(gj.Transform); 691under = qp.Brush; 698BrushProxy blendedBrush = gp.Brush; 1128ri.Brush = p.Brush;
AlphaFlattener\Optimizer.cs (1)
336BrushProxy bp = gp.Brush;
AlphaFlattener\Primitive.cs (39)
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); 1116if ((Geometry != null) && (Pen != null) || (Brush != null)) 1149if (Brush == null) 1155Brush.DrawGeometry(dc, p, Geometry); // BrushProxy.GetRealBrush can't handle OpacityMask 1188BrushProxy b = Brush; 1207BrushProxy b = Brush; 1235if (g.Brush != null) 1237g.Brush = g.Brush.Clone(); 1238g.Brush.OpacityOnly = true; 1240g.Brush = color.BlendBrush(g.Brush); 1258if ((Brush == null) && (Pen == null)) 1268if (Brush == null) 1275return Brush.IsOpaque(); 1278return Pen.IsOpaque() && Brush.IsOpaque(); 1291if ((Brush == null) && (Pen == null)) 1296if (Brush == null) 1303return Brush.IsTransparent(); 1306return Pen.IsTransparent() && Brush.IsTransparent(); 1315Debug.Assert((Brush != null) || (Pen != null), "empty primitive"); 1338if (Brush != null) 1340Brush.ApplyTransform(Transform); 1368if (Brush != null) 1370TileBrush tb = Brush.Brush as TileBrush; 1378if (!Brush.IsTiled(geometryBounds)) 1380Brush.CloneRealBrush(); 1382tb = Brush.Brush as TileBrush; 1442if (!empty && !Brush.IsViewportCoverBounds(geometryBounds)) 1513if (Brush != null) 1517Brush realBrush = Brush.GetRealBrush(); 1519opacity *= Brush.Opacity; 1686if ((GlyphRun != null) && (Pen != null) || (Brush != null)) 1692dc.DrawGlyphRun(Brush.GetRealBrush(), GlyphRun); 2203if ((gp != null) && (gp.Brush != null) && (gp.Pen == null)) 2205BrushProxy 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))