27 references to IsEmpty
PresentationCore (27)
Core\CSharp\MS\Internal\Ink\EllipticalNodeOperations.cs (14)
92
if (beginNode.
IsEmpty
|| endNode.
IsEmpty
|| DoubleUtil.AreClose(beginNode.Position, endNode.Position))
176
System.Diagnostics.Debug.Assert(node.
IsEmpty
== false);
201
Quad quad = beginNode.
IsEmpty
? Quad.Empty : base.GetConnectingQuad(beginNode, endNode);
220
if (beginNode.
IsEmpty
|| (quad.IsEmpty && (endNode.PressureFactor > beginNode.PressureFactor)))
287
if (beginNode.
IsEmpty
|| (quad.IsEmpty && (endNode.PressureFactor > beginNode.PressureFactor)))
391
Vector spineVector = beginNode.
IsEmpty
? new Vector(0, 0) : (beginNode.Position - endNode.Position);
411
result.BeginFIndex = beginNode.
IsEmpty
? StrokeFIndices.BeforeFirst : 1;
413
if (beginNode.
IsEmpty
== false)
469
Vector spineVector = beginNode.
IsEmpty
? new Vector(0, 0) : (beginNode.Position - endNode.Position);
481
if (beginNode.
IsEmpty
== false)
520
if (beginNode.
IsEmpty
)
532
if ((beginNode.
IsEmpty
== false) && (!isHit || !DoubleUtil.AreClose(result.BeginFIndex, StrokeFIndices.BeforeFirst)))
551
if (beginNode.
IsEmpty
|| (!isHit && (quad.IsEmpty ||
Core\CSharp\MS\Internal\Ink\StrokeNode.cs (3)
43
System.Diagnostics.Debug.Assert((nodeData.
IsEmpty
== false) && (index >= 0));
50
_isQuadCached = lastNodeData.
IsEmpty
;
1047
if (_lastNode.
IsEmpty
)
Core\CSharp\MS\Internal\Ink\StrokeNodeOperations.cs (10)
129
System.Diagnostics.Debug.Assert(node.
IsEmpty
== false);
174
Quad quad = beginNode.
IsEmpty
? Quad.Empty : GetConnectingQuad(beginNode, endNode);
189
if (beginNode.
IsEmpty
|| endNode.
IsEmpty
|| DoubleUtil.AreClose(beginNode.Position, endNode.Position))
309
if (beginNode.
IsEmpty
|| (endNode.PressureFactor > beginNode.PressureFactor))
483
for (int node = (beginNode.
IsEmpty
? 1 : 0); node < 2; node++)
508
if (beginNode.
IsEmpty
)
572
if (beginNode.
IsEmpty
)
956
if (beginNode.
IsEmpty
|| endNode.PressureFactor > beginNode.PressureFactor)
1261
if (beginNode.
IsEmpty
)