49 references to Brush
ReachFramework (49)
AlphaFlattener\BrushProxy.cs (24)
243if ((_brush.Brush != null) && (BrushProxy.IsOpaqueWhite(_brush.Brush) || BrushProxy.IsOpaqueBlack(_brush.Brush))) 868SolidColorBrush sB = brushB.Brush as SolidColorBrush; 887if (brushB.Brush is ImageBrush) 942else if (Brush != null) 1196TileBrush tileBrush = (TileBrush)Brush; 1227if (Brush != null) 1229TileBrush tileBrush = Brush as TileBrush; 2320if ((ib != null) && (brushB.Brush != null) && Supercede(ib, brushB.Brush)) // Check for compatibility 2692GradientBrush gb = brushProxy.Brush as GradientBrush; 2699TileBrush tb = brushProxy.Brush as TileBrush; 3260Debug.Assert(brushB.Brush != null, "null brush not expected"); 3285if (brushB.Brush is SolidColorBrush) 3287SolidColorBrush sB = brushB.Brush as SolidColorBrush; 3320if (brushB.Brush is TileBrush && !brushB._opacityOnly) 3322TileBrush tileBrush = (TileBrush)brushB.Brush; 3330if (brushB.Brush is GradientBrush) 3332GradientBrush gradientBrush = (GradientBrush)brushB.Brush; 3337if (brushB.Brush is ImageBrush) 3343if (brushB.Brush is DrawingBrush) 3572if (brush.Brush != null) 3574Brush b = brush.Brush.CloneCurrentValue();
AlphaFlattener\DrawingContext.cs (8)
239b = linear.Brush as LinearGradientBrush; 250b = saveMask.Brush as LinearGradientBrush; 362b = radial.Brush as RadialGradientBrush; 373b = saveMask.Brush as RadialGradientBrush; 781if ((brush.Brush != null) && (brush.Brush is DrawingBrush)) 783b = brush.Brush; 936Brush b = bp.Brush;
AlphaFlattener\Flattener.cs (1)
66if ((gp.Pen != null) && (gp.Pen.StrokeBrush.Brush is DrawingBrush))
AlphaFlattener\ImageProxy.cs (5)
172TileBrush opacityBrush = opacityMask.Brush as TileBrush; 268if (brush.Brush is SolidColorBrush) 270SolidColorBrush sb = brush.Brush as SolidColorBrush; 309if (brush.Brush is SolidColorBrush) 311SolidColorBrush sb = brush.Brush as SolidColorBrush;
AlphaFlattener\MetroDevice.cs (1)
202if (g.OpacityMask.BrushList == null && !(g.OpacityMask.Brush is SolidColorBrush))
AlphaFlattener\Optimizer.cs (1)
361Brush b = bp.Brush;
AlphaFlattener\Primitive.cs (7)
600if ((OpacityMask != null) && (OpacityMask.Brush != null)) 602SolidColorBrush sb = OpacityMask.Brush as SolidColorBrush; 786if (_pen != null && _pen.StrokeBrush != null && _pen.StrokeBrush.Brush is DrawingBrush) 1356if ((Pen != null) && (Pen.StrokeBrush.Brush is TileBrush)) 1370TileBrush tb = Brush.Brush as TileBrush; 1382tb = Brush.Brush as TileBrush; 2200if (!(bp.Brush is TileBrush))
AlphaFlattener\PrimitiveList.cs (1)
195Brush b = gp.Brush.Brush;
AlphaFlattener\Utility.cs (1)
1500if (! (bp.Brush as TileBrush).Viewport.Contains(maskBounds))