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