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