22 references to IsEmpty
PresentationCore (22)
Core\CSharp\MS\Internal\Ink\EllipticalNodeOperations.cs (7)
178
if (quad.
IsEmpty
)
220
if (beginNode.IsEmpty || (quad.
IsEmpty
&& (endNode.PressureFactor > beginNode.PressureFactor)))
253
else if (quad.
IsEmpty
== false)
287
if (beginNode.IsEmpty || (quad.
IsEmpty
&& (endNode.PressureFactor > beginNode.PressureFactor)))
354
if (quad.
IsEmpty
== false)
429
if (result.IsFull || quad.
IsEmpty
551
if (beginNode.IsEmpty || (!isHit && (quad.
IsEmpty
||
Core\CSharp\MS\Internal\Ink\Quad.cs (1)
91
get { return
IsEmpty
? Rect.Empty : Rect.Union(new Rect(_A, _B), new Rect(_C, _D)); }
Core\CSharp\MS\Internal\Ink\StrokeNode.cs (2)
435
if (!quad1.
IsEmpty
)
438
if (!quad2.
IsEmpty
)
Core\CSharp\MS\Internal\Ink\StrokeNodeOperations.cs (6)
131
if (quad.
IsEmpty
)
305
if (quad.
IsEmpty
)
450
if (quad.
IsEmpty
)
526
if (result.IsEmpty && (quad.
IsEmpty
|| !HitTestQuadSegment(quad, hitBeginPoint, hitEndPoint)))
607
if (!quad.
IsEmpty
)
1035
System.Diagnostics.Debug.Assert(!quad.
IsEmpty
);
Core\CSharp\MS\Internal\Ink\StrokeNodeOperations2.cs (1)
83
System.Diagnostics.Debug.Assert(quad.
IsEmpty
== false);
Core\CSharp\MS\Internal\Ink\StrokeRenderer.cs (5)
151
if (!quad.
IsEmpty
)
357
Debug.Assert(!prevStrokeNode.GetConnectingQuad().
IsEmpty
, "prevStrokeNode.GetConnectingQuad() is Empty!");
426
if (!strokeNode.GetConnectingQuad().
IsEmpty
)
464
Debug.Assert(!strokeNode.GetConnectingQuad().
IsEmpty
, "strokeNode.GetConnectingQuad was empty, this is unexpected");
784
if (!quad.
IsEmpty
)