48 references to Brush
ReachFramework (48)
AlphaFlattener\BrushProxy.cs (23)
239
if ((_brush.
Brush
!= null) && (BrushProxy.IsOpaqueWhite(_brush.
Brush
) || BrushProxy.IsOpaqueBlack(_brush.
Brush
)))
862
SolidColorBrush sB = brushB.
Brush
as SolidColorBrush;
881
if (brushB.
Brush
is ImageBrush)
936
else if (
Brush
!= null)
1190
TileBrush tileBrush = (TileBrush)
Brush
;
1221
if (
Brush
!= null)
1223
TileBrush tileBrush =
Brush
as TileBrush;
2315
if ((ib != null) && (brushB.
Brush
!= null) && Supercede(ib, brushB.
Brush
)) // Check for compatibility
2688
GradientBrush gb = brushProxy.
Brush
as GradientBrush;
2695
TileBrush tb = brushProxy.
Brush
as TileBrush;
3259
Debug.Assert(brushB.
Brush
!= null, "null brush not expected");
3284
if (brushB.
Brush
is SolidColorBrush)
3286
SolidColorBrush sB = brushB.
Brush
as SolidColorBrush;
3319
if (brushB.
Brush
is TileBrush && !brushB._opacityOnly)
3321
TileBrush tileBrush = (TileBrush)brushB.
Brush
;
3329
if (brushB.
Brush
is GradientBrush gradientBrush)
3335
if (brushB.
Brush
is ImageBrush)
3341
if (brushB.
Brush
is DrawingBrush)
3570
if (brush.
Brush
!= null)
3572
Brush b = brush.
Brush
.CloneCurrentValue();
AlphaFlattener\DrawingContext.cs (8)
237
b = linear.
Brush
as LinearGradientBrush;
248
b = saveMask.
Brush
as LinearGradientBrush;
360
b = radial.
Brush
as RadialGradientBrush;
371
b = saveMask.
Brush
as RadialGradientBrush;
779
if ((brush.
Brush
!= null) && (brush.
Brush
is DrawingBrush))
781
b = brush.
Brush
;
934
Brush b = bp.
Brush
;
AlphaFlattener\Flattener.cs (1)
61
if ((gp.Pen != null) && (gp.Pen.StrokeBrush.
Brush
is DrawingBrush))
AlphaFlattener\ImageProxy.cs (5)
165
TileBrush opacityBrush = opacityMask.
Brush
as TileBrush;
261
if (brush.
Brush
is SolidColorBrush)
263
SolidColorBrush sb = brush.
Brush
as SolidColorBrush;
302
if (brush.
Brush
is SolidColorBrush)
304
SolidColorBrush sb = brush.
Brush
as SolidColorBrush;
AlphaFlattener\MetroDevice.cs (1)
197
if (g.OpacityMask.BrushList == null && !(g.OpacityMask.
Brush
is SolidColorBrush))
AlphaFlattener\Optimizer.cs (1)
358
Brush b = bp.
Brush
;
AlphaFlattener\Primitive.cs (7)
599
if ((OpacityMask != null) && (OpacityMask.
Brush
!= null))
601
SolidColorBrush sb = OpacityMask.
Brush
as SolidColorBrush;
785
if (_pen != null && _pen.StrokeBrush != null && _pen.StrokeBrush.
Brush
is DrawingBrush)
1350
if ((Pen != null) && (Pen.StrokeBrush.
Brush
is TileBrush))
1364
TileBrush tb = Brush.
Brush
as TileBrush;
1376
tb = Brush.
Brush
as TileBrush;
2201
if (!(bp.
Brush
is TileBrush))
AlphaFlattener\PrimitiveList.cs (1)
188
Brush b = gp.Brush.
Brush
;
AlphaFlattener\Utility.cs (1)
1489
if (! (bp.
Brush
as TileBrush).Viewport.Contains(maskBounds))