10 references to IsEmpty
ReachFramework (10)
AlphaFlattener\BrushProxy.cs (3)
2737
if (
IsEmpty
(brush))
2755
if (
IsEmpty
(brush))
2935
if (brush == null ||
IsEmpty
(brush))
AlphaFlattener\Utility.cs (1)
2142
if (BrushProxy.
IsEmpty
(drawing.OpacityMask))
Serialization\DrawingContextFlattener.cs (1)
101
Debug.Assert(!BrushProxy.
IsEmpty
(opacityMask), "empty opacity mask should not result in Push");
Serialization\VisualSerializer.cs (4)
265
Debug.Assert(!BrushProxy.
IsEmpty
(brush), "Should not be serializing empty brush");
1157
if (!BrushProxy.
IsEmpty
(brush))
1165
if ((pen.Brush != null) && !BrushProxy.
IsEmpty
(pen.Brush))
2269
if (opacityMask != null && !BrushProxy.
IsEmpty
(opacityMask))
Serialization\VisualTreeFlattener.cs (1)
483
if (effect == null && (Utility.IsTransparent(opacity) || BrushProxy.
IsEmpty
(mask)))