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