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