45 references to AfterLast
PresentationCore (45)
MS\Internal\Ink\EllipticalNodeOperations.cs (10)
404
result.EndFIndex = StrokeFIndices.
AfterLast
;
415
if (!DoubleUtil.AreClose(result.EndFIndex, StrokeFIndices.
AfterLast
))
437
if (!DoubleUtil.AreClose(result.EndFIndex, StrokeFIndices.
AfterLast
))
511
if (!DoubleUtil.AreClose(result.EndFIndex, StrokeFIndices.
AfterLast
))
513
result.EndFIndex = StrokeFIndices.
AfterLast
;
536
if (DoubleUtil.AreClose(result.EndFIndex, StrokeFIndices.
AfterLast
))
576
else if ((DoubleUtil.AreClose(result.EndFIndex, StrokeFIndices.BeforeFirst)) && (!DoubleUtil.AreClose(result.BeginFIndex, StrokeFIndices.
AfterLast
)))
578
result.EndFIndex = StrokeFIndices.
AfterLast
;
580
else if ((DoubleUtil.AreClose(result.BeginFIndex,StrokeFIndices.
AfterLast
)) && (!DoubleUtil.AreClose(result.EndFIndex, StrokeFIndices.BeforeFirst)))
795
if (!DoubleUtil.AreClose(result.EndFIndex, StrokeFIndices.
AfterLast
))
MS\Internal\Ink\ErasingStroke.cs (2)
223
if (DoubleUtil.AreClose(lastFragment.EndFIndex, StrokeFIndices.
AfterLast
) )
246
intersections.Add(new StrokeIntersection(segment.BeginFIndex, StrokeFIndices.
AfterLast
,
MS\Internal\Ink\Lasso.cs (7)
362
else if (DoubleUtil.AreClose(fIndex, StrokeFIndices.
AfterLast
))
403
if (DoubleUtil.AreClose(si.InBegin, StrokeFIndices.
AfterLast
))
409
si.InEnd = StrokeFIndices.
AfterLast
;
411
si.HitEnd = StrokeFIndices.
AfterLast
;
422
si.InBegin = StrokeFIndices.
AfterLast
;
434
si.InBegin = StrokeFIndices.
AfterLast
;
461
if (DoubleUtil.AreClose(si.HitEnd, StrokeFIndices.
AfterLast
))
MS\Internal\Ink\StrokeFIndices.cs (4)
17
private static readonly StrokeFIndices s_empty = new StrokeFIndices(
AfterLast
, BeforeFirst);
18
private static readonly StrokeFIndices s_full = new StrokeFIndices(BeforeFirst,
AfterLast
);
135
if (DoubleUtil.AreClose(fIndex, StrokeFIndices.
AfterLast
))
160
internal bool IsFull { get { return ((DoubleUtil.AreClose(_beginFIndex, BeforeFirst)) && (DoubleUtil.AreClose(_endFIndex,
AfterLast
))); } }
MS\Internal\Ink\StrokeIntersection.cs (1)
31
internal static double AfterLast { get { return StrokeFIndices.
AfterLast
; } }
MS\Internal\Ink\StrokeNode.cs (3)
925
if (!DoubleUtil.AreClose(fragment.EndFIndex, StrokeFIndices.
AfterLast
))
967
if (DoubleUtil.AreClose(fragment.EndFIndex, StrokeFIndices.
AfterLast
))
970
fragment.EndFIndex = (_isLastNode ? StrokeFIndices.
AfterLast
:_index);
MS\Internal\Ink\StrokeNodeOperations.cs (11)
490
result.EndFIndex = StrokeFIndices.
AfterLast
;
525
if (result.EndFIndex != StrokeFIndices.
AfterLast
)
626
if (!DoubleUtil.AreClose(result.EndFIndex, StrokeFIndices.
AfterLast
))
641
if (DoubleUtil.AreClose(result.BeginFIndex, StrokeFIndices.
AfterLast
))
650
result.EndFIndex = StrokeFIndices.
AfterLast
;
687
double findex = StrokeFIndices.
AfterLast
;
1194
if (isHit && DoubleUtil.AreClose(result.EndFIndex, StrokeFIndices.
AfterLast
))
1231
if (DoubleUtil.AreClose(result.EndFIndex, StrokeFIndices.
AfterLast
))
1238
result.EndFIndex = StrokeFIndices.
AfterLast
;
1283
if ( findex == StrokeFIndices.
AfterLast
)
1308
result.BeginFIndex > 1.0f && DoubleUtil.AreClose(result.EndFIndex, StrokeFIndices.
AfterLast
))
System\Windows\Ink\Stroke.cs (7)
746
System.Diagnostics.Debug.Assert(DoubleUtil.AreClose(cutAt[cutAt.Length - 1].EndFIndex, StrokeFIndices.
AfterLast
) ||
802
System.Diagnostics.Debug.Assert(DoubleUtil.AreClose(cutAt[cutAt.Length - 1].EndFIndex, StrokeFIndices.
AfterLast
) ||
832
if (beginFIndex != StrokeFIndices.
AfterLast
)
834
Stroke stroke = Copy(sourceStylusPoints, beginFIndex, StrokeFIndices.
AfterLast
);
858
(DoubleUtil.AreClose(StrokeFIndices.
AfterLast
, endFIndex))
895
if (!DoubleUtil.AreClose(endFIndex, StrokeFIndices.
AfterLast
))
906
if ((!DoubleUtil.AreClose(endFIndex, StrokeFIndices.
AfterLast
)) && !DoubleUtil.AreClose(endIndex, endFIndex))