22 writes to EndFIndex
PresentationCore (22)
MS\Internal\Ink\EllipticalNodeOperations.cs (6)
405result.EndFIndex = StrokeFIndices.AfterLast; 418result.EndFIndex = 0; 440result.EndFIndex = 1 - ClipTest(spineVector, endRadius, beginRadius, hitBegin, hitEnd); 514result.EndFIndex = StrokeFIndices.AfterLast; 579result.EndFIndex = StrokeFIndices.AfterLast; 803result.EndFIndex = findex;
MS\Internal\Ink\ErasingStroke.cs (2)
228lastFragment.EndFIndex = eraseAt[index].EndFIndex; 234lastFragment.EndFIndex = inkStrokeNode.Index;
MS\Internal\Ink\Lasso.cs (1)
650FIndices.EndFIndex = crossing.FIndices.EndFIndex;
MS\Internal\Ink\StrokeIntersection.cs (4)
64set { _hitSegment.EndFIndex = value; } 85set { _inSegment.EndFIndex = value; } 200sfiPrevious.EndFIndex = intersections[j].InSegment.EndFIndex; 232sfiPrevious.EndFIndex = intersections[j].HitSegment.EndFIndex;
MS\Internal\Ink\StrokeNode.cs (3)
929fragment.EndFIndex += _index - 1; 971fragment.EndFIndex = (_isLastNode ? StrokeFIndices.AfterLast:_index); 979fragment.EndFIndex += _index - 1;
MS\Internal\Ink\StrokeNodeOperations.cs (6)
487result.EndFIndex = 0; 491result.EndFIndex = StrokeFIndices.AfterLast; 529result.EndFIndex = 1 - ClipTest( 636result.EndFIndex = findex; 651result.EndFIndex = StrokeFIndices.AfterLast; 1239result.EndFIndex = StrokeFIndices.AfterLast;
62 references to EndFIndex
PresentationCore (62)
MS\Internal\Ink\EllipticalNodeOperations.cs (8)
416if (!DoubleUtil.AreClose(result.EndFIndex, StrokeFIndices.AfterLast)) 438if (!DoubleUtil.AreClose(result.EndFIndex, StrokeFIndices.AfterLast)) 512if (!DoubleUtil.AreClose(result.EndFIndex, StrokeFIndices.AfterLast)) 537if (DoubleUtil.AreClose(result.EndFIndex, StrokeFIndices.AfterLast)) 577else if ((DoubleUtil.AreClose(result.EndFIndex, StrokeFIndices.BeforeFirst)) && (!DoubleUtil.AreClose(result.BeginFIndex, StrokeFIndices.AfterLast))) 581else if ((DoubleUtil.AreClose(result.BeginFIndex,StrokeFIndices.AfterLast)) && (!DoubleUtil.AreClose(result.EndFIndex, StrokeFIndices.BeforeFirst))) 796if (!DoubleUtil.AreClose(result.EndFIndex, StrokeFIndices.AfterLast)) 801if (findex > result.EndFIndex)
MS\Internal\Ink\ErasingStroke.cs (9)
177if (fragment.BeginFIndex < lastFragment.EndFIndex) 180if (fragment.EndFIndex > lastFragment.BeginFIndex) 184Math.Max(lastFragment.EndFIndex, fragment.EndFIndex)); 187if ((fragment.EndFIndex <= lastFragment.EndFIndex) || ((i + 1) == eraseAt.Count)) 224if (DoubleUtil.AreClose(lastFragment.EndFIndex, StrokeFIndices.AfterLast) ) 228lastFragment.EndFIndex = eraseAt[index].EndFIndex; 248StrokeFIndices.BeforeFirst, segment.EndFIndex));
MS\Internal\Ink\Lasso.cs (7)
395si.InBegin = crossingList[x - 1].FIndices.EndFIndex; 426si.HitEnd = crossingList[x].FIndices.EndFIndex; 639if(DoubleUtil.GreaterThanOrClose(crossing.FIndices.EndFIndex, FIndices.BeginFIndex) && 640DoubleUtil.GreaterThanOrClose(FIndices.EndFIndex, crossing.FIndices.BeginFIndex)) 648if (DoubleUtil.GreaterThan(crossing.FIndices.EndFIndex, FIndices.EndFIndex)) 650FIndices.EndFIndex = crossing.FIndices.EndFIndex;
MS\Internal\Ink\StrokeIntersection.cs (8)
63get { return _hitSegment.EndFIndex; } 84get { return _inSegment.EndFIndex; } 95+ StrokeFIndices.GetStringRepresentation(_inSegment.EndFIndex) + "," 96+ StrokeFIndices.GetStringRepresentation(_hitSegment.EndFIndex) + "}"; 195inFIndices[inFIndices.Count - 1].EndFIndex >= 200sfiPrevious.EndFIndex = intersections[j].InSegment.EndFIndex; 227hitFIndices[hitFIndices.Count - 1].EndFIndex >= 232sfiPrevious.EndFIndex = intersections[j].HitSegment.EndFIndex;
MS\Internal\Ink\StrokeNode.cs (7)
898System.Diagnostics.Debug.Assert(!double.IsNaN(cutAt.BeginFIndex) && !double.IsNaN(cutAt.EndFIndex)); 926if (!DoubleUtil.AreClose(fragment.EndFIndex, StrokeFIndices.AfterLast)) 928System.Diagnostics.Debug.Assert(fragment.EndFIndex >= 0 && fragment.EndFIndex <= 1); 968if (DoubleUtil.AreClose(fragment.EndFIndex, StrokeFIndices.AfterLast)) 975System.Diagnostics.Debug.Assert(DoubleUtil.GreaterThanOrClose(fragment.EndFIndex, 0f)); 977System.Diagnostics.Debug.Assert(DoubleUtil.LessThanOrClose(fragment.EndFIndex, 1f));
MS\Internal\Ink\StrokeNodeOperations.cs (10)
526if (result.EndFIndex != StrokeFIndices.AfterLast) 627if (!DoubleUtil.AreClose(result.EndFIndex, StrokeFIndices.AfterLast)) 634if (result.EndFIndex < findex) 644if (!DoubleUtil.AreClose(result.EndFIndex, StrokeFIndices.BeforeFirst)) 649else if (DoubleUtil.AreClose(result.EndFIndex, StrokeFIndices.BeforeFirst)) 1195if (isHit && DoubleUtil.AreClose(result.EndFIndex, StrokeFIndices.AfterLast)) 1232if (DoubleUtil.AreClose(result.EndFIndex, StrokeFIndices.AfterLast)) 1307if (DoubleUtil.AreClose(result.BeginFIndex, result.EndFIndex) || 1308DoubleUtil.AreClose(result.BeginFIndex, StrokeFIndices.BeforeFirst) && result.EndFIndex < 0.0f || 1309result.BeginFIndex > 1.0f && DoubleUtil.AreClose(result.EndFIndex, StrokeFIndices.AfterLast))
System\Windows\Ink\Stroke.cs (13)
747System.Diagnostics.Debug.Assert(false == ((!DoubleUtil.AreClose(cutAt[cutAt.Length - 1].EndFIndex, StrokeFIndices.AfterLast)) && 748Math.Ceiling(cutAt[cutAt.Length - 1].EndFIndex) > sourceStylusPoints.Count - 1)); 753if(DoubleUtil.GreaterThanOrClose(fragment.BeginFIndex, fragment.EndFIndex)) 757System.Diagnostics.Debug.Assert(DoubleUtil.LessThan(fragment.BeginFIndex, fragment.EndFIndex)); 761Stroke stroke = Copy(sourceStylusPoints, fragment.BeginFIndex, fragment.EndFIndex); 803System.Diagnostics.Debug.Assert(false == ((!DoubleUtil.AreClose(cutAt[cutAt.Length - 1].EndFIndex, StrokeFIndices.AfterLast)) && 804Math.Ceiling(cutAt[cutAt.Length - 1].EndFIndex) > sourceStylusPoints.Count - 1)); 811beginFIndex = cutAt[0].EndFIndex; 830beginFIndex = fragment.EndFIndex; 1017System.Diagnostics.Debug.Assert(IsValidStrokeFIndices(fragments[x]) && fragments[x].EndFIndex > current); 1018current = fragments[x].EndFIndex; 1024return (!double.IsNaN(findex.BeginFIndex) && !double.IsNaN(findex.EndFIndex) && findex.BeginFIndex < findex.EndFIndex);