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