22 references to IsEmpty
PresentationCore (22)
MS\Internal\Ink\EllipticalNodeOperations.cs (7)
177
if (quad.
IsEmpty
)
219
if (beginNode.IsEmpty || (quad.
IsEmpty
&& (endNode.PressureFactor > beginNode.PressureFactor)))
252
else if (quad.
IsEmpty
== false)
286
if (beginNode.IsEmpty || (quad.
IsEmpty
&& (endNode.PressureFactor > beginNode.PressureFactor)))
353
if (quad.
IsEmpty
== false)
428
if (result.IsFull || quad.
IsEmpty
550
if (beginNode.IsEmpty || (!isHit && (quad.
IsEmpty
||
MS\Internal\Ink\Quad.cs (1)
89
get { return
IsEmpty
? Rect.Empty : Rect.Union(new Rect(_A, _B), new Rect(_C, _D)); }
MS\Internal\Ink\StrokeNode.cs (2)
435
if (!quad1.
IsEmpty
)
438
if (!quad2.
IsEmpty
)
MS\Internal\Ink\StrokeNodeOperations.cs (6)
128
if (quad.
IsEmpty
)
302
if (quad.
IsEmpty
)
447
if (quad.
IsEmpty
)
517
if (result.IsEmpty && (quad.
IsEmpty
|| !HitTestQuadSegment(quad, hitBeginPoint, hitEndPoint)))
596
if (!quad.
IsEmpty
)
1021
System.Diagnostics.Debug.Assert(!quad.
IsEmpty
);
MS\Internal\Ink\StrokeNodeOperations2.cs (1)
82
System.Diagnostics.Debug.Assert(quad.
IsEmpty
== false);
MS\Internal\Ink\StrokeRenderer.cs (5)
148
if (!quad.
IsEmpty
)
351
Debug.Assert(!prevStrokeNode.GetConnectingQuad().
IsEmpty
, "prevStrokeNode.GetConnectingQuad() is Empty!");
419
if (!strokeNode.GetConnectingQuad().
IsEmpty
)
457
Debug.Assert(!strokeNode.GetConnectingQuad().
IsEmpty
, "strokeNode.GetConnectingQuad was empty, this is unexpected");
772
if (!quad.
IsEmpty
)