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