22 references to IsEmpty
PresentationCore (22)
MS\Internal\Ink\EllipticalNodeOperations.cs (7)
172if (quad.IsEmpty) 214if (beginNode.IsEmpty || (quad.IsEmpty && (endNode.PressureFactor > beginNode.PressureFactor))) 247else if (!quad.IsEmpty) 281if (beginNode.IsEmpty || (quad.IsEmpty && (endNode.PressureFactor > beginNode.PressureFactor))) 348if (!quad.IsEmpty) 423if (result.IsFull || quad.IsEmpty 545if (beginNode.IsEmpty || (!isHit && (quad.IsEmpty ||
MS\Internal\Ink\Quad.cs (1)
80get { return IsEmpty ? Rect.Empty : Rect.Union(new Rect(_A, _B), new Rect(_C, _D)); }
MS\Internal\Ink\StrokeNode.cs (2)
428if (!quad1.IsEmpty) 431if (!quad2.IsEmpty)
MS\Internal\Ink\StrokeNodeOperations.cs (6)
120if (quad.IsEmpty) 294if (quad.IsEmpty) 439if (quad.IsEmpty) 509if (result.IsEmpty && (quad.IsEmpty || !HitTestQuadSegment(quad, hitBeginPoint, hitEndPoint))) 588if (!quad.IsEmpty) 1013System.Diagnostics.Debug.Assert(!quad.IsEmpty);
MS\Internal\Ink\StrokeNodeOperations2.cs (1)
77System.Diagnostics.Debug.Assert(!quad.IsEmpty);
MS\Internal\Ink\StrokeRenderer.cs (5)
142if (!quad.IsEmpty) 347Debug.Assert(!prevStrokeNode.GetConnectingQuad().IsEmpty, "prevStrokeNode.GetConnectingQuad() is Empty!"); 415if (!strokeNode.GetConnectingQuad().IsEmpty) 453Debug.Assert(!strokeNode.GetConnectingQuad().IsEmpty, "strokeNode.GetConnectingQuad was empty, this is unexpected"); 768if (!quad.IsEmpty)