27 references to IsEmpty
PresentationCore (27)
MS\Internal\Ink\EllipticalNodeOperations.cs (14)
91if (beginNode.IsEmpty || endNode.IsEmpty || DoubleUtil.AreClose(beginNode.Position, endNode.Position)) 175System.Diagnostics.Debug.Assert(node.IsEmpty == false); 200Quad quad = beginNode.IsEmpty ? Quad.Empty : base.GetConnectingQuad(beginNode, endNode); 219if (beginNode.IsEmpty || (quad.IsEmpty && (endNode.PressureFactor > beginNode.PressureFactor))) 286if (beginNode.IsEmpty || (quad.IsEmpty && (endNode.PressureFactor > beginNode.PressureFactor))) 390Vector spineVector = beginNode.IsEmpty ? new Vector(0, 0) : (beginNode.Position - endNode.Position); 410result.BeginFIndex = beginNode.IsEmpty ? StrokeFIndices.BeforeFirst : 1; 412if (beginNode.IsEmpty == false) 468Vector spineVector = beginNode.IsEmpty ? new Vector(0, 0) : (beginNode.Position - endNode.Position); 480if (beginNode.IsEmpty == false) 519if (beginNode.IsEmpty) 531if ((beginNode.IsEmpty == false) && (!isHit || !DoubleUtil.AreClose(result.BeginFIndex, StrokeFIndices.BeforeFirst))) 550if (beginNode.IsEmpty || (!isHit && (quad.IsEmpty ||
MS\Internal\Ink\StrokeNode.cs (3)
43System.Diagnostics.Debug.Assert((nodeData.IsEmpty == false) && (index >= 0)); 50_isQuadCached = lastNodeData.IsEmpty; 1045if (_lastNode.IsEmpty)
MS\Internal\Ink\StrokeNodeOperations.cs (10)
126System.Diagnostics.Debug.Assert(node.IsEmpty == false); 171Quad quad = beginNode.IsEmpty ? Quad.Empty : GetConnectingQuad(beginNode, endNode); 186if (beginNode.IsEmpty || endNode.IsEmpty || DoubleUtil.AreClose(beginNode.Position, endNode.Position)) 306if (beginNode.IsEmpty || (endNode.PressureFactor > beginNode.PressureFactor)) 474for (int node = (beginNode.IsEmpty ? 1 : 0); node < 2; node++) 499if (beginNode.IsEmpty) 563if (beginNode.IsEmpty) 942if (beginNode.IsEmpty || endNode.PressureFactor > beginNode.PressureFactor) 1247if (beginNode.IsEmpty)