48 references to Brush
ReachFramework (48)
AlphaFlattener\BrushProxy.cs (23)
238if ((_brush.Brush != null) && (BrushProxy.IsOpaqueWhite(_brush.Brush) || BrushProxy.IsOpaqueBlack(_brush.Brush))) 861SolidColorBrush sB = brushB.Brush as SolidColorBrush; 880if (brushB.Brush is ImageBrush) 935else if (Brush != null) 1189TileBrush tileBrush = (TileBrush)Brush; 1220if (Brush != null) 1222TileBrush tileBrush = Brush as TileBrush; 2314if ((ib != null) && (brushB.Brush != null) && Supercede(ib, brushB.Brush)) // Check for compatibility 2687GradientBrush gb = brushProxy.Brush as GradientBrush; 2694TileBrush tb = brushProxy.Brush as TileBrush; 3258Debug.Assert(brushB.Brush != null, "null brush not expected"); 3283if (brushB.Brush is SolidColorBrush) 3285SolidColorBrush sB = brushB.Brush as SolidColorBrush; 3318if (brushB.Brush is TileBrush && !brushB._opacityOnly) 3320TileBrush tileBrush = (TileBrush)brushB.Brush; 3328if (brushB.Brush is GradientBrush gradientBrush) 3334if (brushB.Brush is ImageBrush) 3340if (brushB.Brush is DrawingBrush) 3569if (brush.Brush != null) 3571Brush b = brush.Brush.CloneCurrentValue();
AlphaFlattener\DrawingContext.cs (8)
236b = linear.Brush as LinearGradientBrush; 247b = saveMask.Brush as LinearGradientBrush; 359b = radial.Brush as RadialGradientBrush; 370b = saveMask.Brush as RadialGradientBrush; 778if ((brush.Brush != null) && (brush.Brush is DrawingBrush)) 780b = brush.Brush; 933Brush b = bp.Brush;
AlphaFlattener\Flattener.cs (1)
60if ((gp.Pen != null) && (gp.Pen.StrokeBrush.Brush is DrawingBrush))
AlphaFlattener\ImageProxy.cs (5)
164TileBrush opacityBrush = opacityMask.Brush as TileBrush; 260if (brush.Brush is SolidColorBrush) 262SolidColorBrush sb = brush.Brush as SolidColorBrush; 301if (brush.Brush is SolidColorBrush) 303SolidColorBrush sb = brush.Brush as SolidColorBrush;
AlphaFlattener\MetroDevice.cs (1)
196if (g.OpacityMask.BrushList == null && !(g.OpacityMask.Brush is SolidColorBrush))
AlphaFlattener\Optimizer.cs (1)
357Brush b = bp.Brush;
AlphaFlattener\Primitive.cs (7)
598if ((OpacityMask != null) && (OpacityMask.Brush != null)) 600SolidColorBrush sb = OpacityMask.Brush as SolidColorBrush; 784if (_pen != null && _pen.StrokeBrush != null && _pen.StrokeBrush.Brush is DrawingBrush) 1349if ((Pen != null) && (Pen.StrokeBrush.Brush is TileBrush)) 1363TileBrush tb = Brush.Brush as TileBrush; 1375tb = Brush.Brush as TileBrush; 2200if (!(bp.Brush is TileBrush))
AlphaFlattener\PrimitiveList.cs (1)
187Brush b = gp.Brush.Brush;
AlphaFlattener\Utility.cs (1)
1488if (! (bp.Brush as TileBrush).Viewport.Contains(maskBounds))