27 references to IsEmpty
PresentationCore (27)
MS\Internal\Ink\EllipticalNodeOperations.cs (14)
87if (beginNode.IsEmpty || endNode.IsEmpty || DoubleUtil.AreClose(beginNode.Position, endNode.Position)) 171System.Diagnostics.Debug.Assert(node.IsEmpty == false); 196Quad quad = beginNode.IsEmpty ? Quad.Empty : base.GetConnectingQuad(beginNode, endNode); 215if (beginNode.IsEmpty || (quad.IsEmpty && (endNode.PressureFactor > beginNode.PressureFactor))) 282if (beginNode.IsEmpty || (quad.IsEmpty && (endNode.PressureFactor > beginNode.PressureFactor))) 386Vector spineVector = beginNode.IsEmpty ? new Vector(0, 0) : (beginNode.Position - endNode.Position); 406result.BeginFIndex = beginNode.IsEmpty ? StrokeFIndices.BeforeFirst : 1; 408if (beginNode.IsEmpty == false) 464Vector spineVector = beginNode.IsEmpty ? new Vector(0, 0) : (beginNode.Position - endNode.Position); 476if (beginNode.IsEmpty == false) 515if (beginNode.IsEmpty) 527if ((beginNode.IsEmpty == false) && (!isHit || !DoubleUtil.AreClose(result.BeginFIndex, StrokeFIndices.BeforeFirst))) 546if (beginNode.IsEmpty || (!isHit && (quad.IsEmpty ||
MS\Internal\Ink\StrokeNode.cs (3)
37System.Diagnostics.Debug.Assert((nodeData.IsEmpty == false) && (index >= 0)); 44_isQuadCached = lastNodeData.IsEmpty; 1039if (_lastNode.IsEmpty)
MS\Internal\Ink\StrokeNodeOperations.cs (10)
119System.Diagnostics.Debug.Assert(node.IsEmpty == false); 164Quad quad = beginNode.IsEmpty ? Quad.Empty : GetConnectingQuad(beginNode, endNode); 179if (beginNode.IsEmpty || endNode.IsEmpty || DoubleUtil.AreClose(beginNode.Position, endNode.Position)) 299if (beginNode.IsEmpty || (endNode.PressureFactor > beginNode.PressureFactor)) 467for (int node = (beginNode.IsEmpty ? 1 : 0); node < 2; node++) 492if (beginNode.IsEmpty) 556if (beginNode.IsEmpty) 935if (beginNode.IsEmpty || endNode.PressureFactor > beginNode.PressureFactor) 1240if (beginNode.IsEmpty)