22 references to IsEmpty
PresentationCore (22)
MS\Internal\Ink\EllipticalNodeOperations.cs (7)
173
if (quad.
IsEmpty
)
215
if (beginNode.IsEmpty || (quad.
IsEmpty
&& (endNode.PressureFactor > beginNode.PressureFactor)))
248
else if (quad.
IsEmpty
== false)
282
if (beginNode.IsEmpty || (quad.
IsEmpty
&& (endNode.PressureFactor > beginNode.PressureFactor)))
349
if (quad.
IsEmpty
== false)
424
if (result.IsFull || quad.
IsEmpty
546
if (beginNode.IsEmpty || (!isHit && (quad.
IsEmpty
||
MS\Internal\Ink\Quad.cs (1)
81
get { return
IsEmpty
? Rect.Empty : Rect.Union(new Rect(_A, _B), new Rect(_C, _D)); }
MS\Internal\Ink\StrokeNode.cs (2)
429
if (!quad1.
IsEmpty
)
432
if (!quad2.
IsEmpty
)
MS\Internal\Ink\StrokeNodeOperations.cs (6)
121
if (quad.
IsEmpty
)
295
if (quad.
IsEmpty
)
440
if (quad.
IsEmpty
)
510
if (result.IsEmpty && (quad.
IsEmpty
|| !HitTestQuadSegment(quad, hitBeginPoint, hitEndPoint)))
589
if (!quad.
IsEmpty
)
1014
System.Diagnostics.Debug.Assert(!quad.
IsEmpty
);
MS\Internal\Ink\StrokeNodeOperations2.cs (1)
78
System.Diagnostics.Debug.Assert(quad.
IsEmpty
== false);
MS\Internal\Ink\StrokeRenderer.cs (5)
143
if (!quad.
IsEmpty
)
348
Debug.Assert(!prevStrokeNode.GetConnectingQuad().
IsEmpty
, "prevStrokeNode.GetConnectingQuad() is Empty!");
416
if (!strokeNode.GetConnectingQuad().
IsEmpty
)
454
Debug.Assert(!strokeNode.GetConnectingQuad().
IsEmpty
, "strokeNode.GetConnectingQuad was empty, this is unexpected");
769
if (!quad.
IsEmpty
)