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