45 references to AfterLast
PresentationCore (45)
MS\Internal\Ink\EllipticalNodeOperations.cs (10)
405
result.EndFIndex = StrokeFIndices.
AfterLast
;
416
if (!DoubleUtil.AreClose(result.EndFIndex, StrokeFIndices.
AfterLast
))
438
if (!DoubleUtil.AreClose(result.EndFIndex, StrokeFIndices.
AfterLast
))
512
if (!DoubleUtil.AreClose(result.EndFIndex, StrokeFIndices.
AfterLast
))
514
result.EndFIndex = StrokeFIndices.
AfterLast
;
537
if (DoubleUtil.AreClose(result.EndFIndex, StrokeFIndices.
AfterLast
))
577
else if ((DoubleUtil.AreClose(result.EndFIndex, StrokeFIndices.BeforeFirst)) && (!DoubleUtil.AreClose(result.BeginFIndex, StrokeFIndices.
AfterLast
)))
579
result.EndFIndex = StrokeFIndices.
AfterLast
;
581
else if ((DoubleUtil.AreClose(result.BeginFIndex,StrokeFIndices.
AfterLast
)) && (!DoubleUtil.AreClose(result.EndFIndex, StrokeFIndices.BeforeFirst)))
796
if (!DoubleUtil.AreClose(result.EndFIndex, StrokeFIndices.
AfterLast
))
MS\Internal\Ink\ErasingStroke.cs (2)
224
if (DoubleUtil.AreClose(lastFragment.EndFIndex, StrokeFIndices.
AfterLast
) )
247
intersections.Add(new StrokeIntersection(segment.BeginFIndex, StrokeFIndices.
AfterLast
,
MS\Internal\Ink\Lasso.cs (7)
363
else if (DoubleUtil.AreClose(fIndex, StrokeFIndices.
AfterLast
))
404
if (DoubleUtil.AreClose(si.InBegin, StrokeFIndices.
AfterLast
))
410
si.InEnd = StrokeFIndices.
AfterLast
;
412
si.HitEnd = StrokeFIndices.
AfterLast
;
423
si.InBegin = StrokeFIndices.
AfterLast
;
435
si.InBegin = StrokeFIndices.
AfterLast
;
462
if (DoubleUtil.AreClose(si.HitEnd, StrokeFIndices.
AfterLast
))
MS\Internal\Ink\StrokeFIndices.cs (4)
18
private static readonly StrokeFIndices s_empty = new StrokeFIndices(
AfterLast
, BeforeFirst);
19
private static readonly StrokeFIndices s_full = new StrokeFIndices(BeforeFirst,
AfterLast
);
136
if (DoubleUtil.AreClose(fIndex, StrokeFIndices.
AfterLast
))
161
internal bool IsFull { get { return ((DoubleUtil.AreClose(_beginFIndex, BeforeFirst)) && (DoubleUtil.AreClose(_endFIndex,
AfterLast
))); } }
MS\Internal\Ink\StrokeIntersection.cs (1)
32
internal static double AfterLast { get { return StrokeFIndices.
AfterLast
; } }
MS\Internal\Ink\StrokeNode.cs (3)
926
if (!DoubleUtil.AreClose(fragment.EndFIndex, StrokeFIndices.
AfterLast
))
968
if (DoubleUtil.AreClose(fragment.EndFIndex, StrokeFIndices.
AfterLast
))
971
fragment.EndFIndex = (_isLastNode ? StrokeFIndices.
AfterLast
:_index);
MS\Internal\Ink\StrokeNodeOperations.cs (11)
491
result.EndFIndex = StrokeFIndices.
AfterLast
;
526
if (result.EndFIndex != StrokeFIndices.
AfterLast
)
627
if (!DoubleUtil.AreClose(result.EndFIndex, StrokeFIndices.
AfterLast
))
642
if (DoubleUtil.AreClose(result.BeginFIndex, StrokeFIndices.
AfterLast
))
651
result.EndFIndex = StrokeFIndices.
AfterLast
;
688
double findex = StrokeFIndices.
AfterLast
;
1195
if (isHit && DoubleUtil.AreClose(result.EndFIndex, StrokeFIndices.
AfterLast
))
1232
if (DoubleUtil.AreClose(result.EndFIndex, StrokeFIndices.
AfterLast
))
1239
result.EndFIndex = StrokeFIndices.
AfterLast
;
1284
if ( findex == StrokeFIndices.
AfterLast
)
1309
result.BeginFIndex > 1.0f && DoubleUtil.AreClose(result.EndFIndex, StrokeFIndices.
AfterLast
))
System\Windows\Ink\Stroke.cs (7)
747
System.Diagnostics.Debug.Assert(false == ((!DoubleUtil.AreClose(cutAt[cutAt.Length - 1].EndFIndex, StrokeFIndices.
AfterLast
)) &&
803
System.Diagnostics.Debug.Assert(false == ((!DoubleUtil.AreClose(cutAt[cutAt.Length - 1].EndFIndex, StrokeFIndices.
AfterLast
)) &&
833
if (beginFIndex != StrokeFIndices.
AfterLast
)
835
Stroke stroke = Copy(sourceStylusPoints, beginFIndex, StrokeFIndices.
AfterLast
);
859
(DoubleUtil.AreClose(StrokeFIndices.
AfterLast
, endFIndex))
896
if (!DoubleUtil.AreClose(endFIndex, StrokeFIndices.
AfterLast
))
907
if ((!DoubleUtil.AreClose(endFIndex, StrokeFIndices.
AfterLast
)) && !DoubleUtil.AreClose(endIndex, endFIndex))