21 writes to BeginFIndex
PresentationCore (21)
MS\Internal\Ink\EllipticalNodeOperations.cs (7)
406result.BeginFIndex = beginNode.IsEmpty ? StrokeFIndices.BeforeFirst : 1; 415result.BeginFIndex = StrokeFIndices.BeforeFirst; 435result.BeginFIndex = ClipTest(-spineVector, beginRadius, endRadius, hitBegin - spineVector, hitEnd - spineVector); 517result.BeginFIndex = StrokeFIndices.BeforeFirst; 536result.BeginFIndex = StrokeFIndices.BeforeFirst; 583result.BeginFIndex = StrokeFIndices.BeforeFirst; 819result.BeginFIndex = findex;
MS\Internal\Ink\Lasso.cs (1)
644FIndices.BeginFIndex = crossing.FIndices.BeginFIndex;
MS\Internal\Ink\StrokeIntersection.cs (2)
54set { _hitSegment.BeginFIndex = value; } 75set { _inSegment.BeginFIndex = value; }
MS\Internal\Ink\StrokeNode.cs (3)
924fragment.BeginFIndex += _index - 1; 954fragment.BeginFIndex = (_index == 0 ? StrokeFIndices.BeforeFirst:_index - 1); 964fragment.BeginFIndex += _index - 1;
MS\Internal\Ink\StrokeNodeOperations.cs (8)
486result.BeginFIndex = StrokeFIndices.BeforeFirst; 494result.BeginFIndex = StrokeFIndices.BeforeFirst; 498result.BeginFIndex = 1; 519result.BeginFIndex = ClipTest( 621result.BeginFIndex = findex; 646result.BeginFIndex = StrokeFIndices.BeforeFirst; 1231result.BeginFIndex = StrokeFIndices.BeforeFirst; 1242result.BeginFIndex = StrokeFIndices.BeforeFirst;
59 references to BeginFIndex
PresentationCore (59)
MS\Internal\Ink\EllipticalNodeOperations.cs (8)
433if (!DoubleUtil.AreClose(result.BeginFIndex, StrokeFIndices.BeforeFirst)) 520if (DoubleUtil.AreClose(result.BeginFIndex, StrokeFIndices.BeforeFirst)) 527if ((beginNode.IsEmpty == false) && (!isHit || !DoubleUtil.AreClose(result.BeginFIndex, StrokeFIndices.BeforeFirst))) 534if (!DoubleUtil.AreClose(result.BeginFIndex, StrokeFIndices.BeforeFirst)) 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))) 810if (!DoubleUtil.AreClose(result.BeginFIndex, StrokeFIndices.BeforeFirst)) 817if (findex < result.BeginFIndex)
MS\Internal\Ink\ErasingStroke.cs (6)
177if (fragment.BeginFIndex < lastFragment.EndFIndex) 180if (fragment.EndFIndex > lastFragment.BeginFIndex) 183Math.Min(lastFragment.BeginFIndex, fragment.BeginFIndex), 226if (DoubleUtil.AreClose(eraseAt[index].BeginFIndex, StrokeFIndices.BeforeFirst)) 247intersections.Add(new StrokeIntersection(segment.BeginFIndex, StrokeFIndices.AfterLast,
MS\Internal\Ink\Lasso.cs (8)
396si.HitBegin = crossingList[x - 1].FIndices.BeginFIndex; 416si.InEnd = crossingList[x].FIndices.BeginFIndex; 434si.HitBegin = crossingList[x].FIndices.BeginFIndex; 639if(DoubleUtil.GreaterThanOrClose(crossing.FIndices.EndFIndex, FIndices.BeginFIndex) && 640DoubleUtil.GreaterThanOrClose(FIndices.EndFIndex, crossing.FIndices.BeginFIndex)) 642if (DoubleUtil.LessThan(crossing.FIndices.BeginFIndex, FIndices.BeginFIndex)) 644FIndices.BeginFIndex = crossing.FIndices.BeginFIndex;
MS\Internal\Ink\StrokeFIndices.cs (4)
182if (DoubleUtil.AreClose(BeginFIndex, fIndices.BeginFIndex)) 186else if (DoubleUtil.GreaterThan(BeginFIndex, fIndices.BeginFIndex))
MS\Internal\Ink\StrokeIntersection.cs (5)
74get { return _inSegment.BeginFIndex; } 93return "{" + StrokeFIndices.GetStringRepresentation(_hitSegment.BeginFIndex) + "," 94+ StrokeFIndices.GetStringRepresentation(_inSegment.BeginFIndex) + "," 196intersections[j].InSegment.BeginFIndex) 228intersections[j].HitSegment.BeginFIndex)
MS\Internal\Ink\StrokeNode.cs (7)
898System.Diagnostics.Debug.Assert(!double.IsNaN(cutAt.BeginFIndex) && !double.IsNaN(cutAt.EndFIndex)); 921if (!DoubleUtil.AreClose(fragment.BeginFIndex, StrokeFIndices.BeforeFirst)) 923System.Diagnostics.Debug.Assert(fragment.BeginFIndex >= 0 && fragment.BeginFIndex <= 1); 951if (DoubleUtil.AreClose(fragment.BeginFIndex, StrokeFIndices.BeforeFirst)) 959System.Diagnostics.Debug.Assert(DoubleUtil.GreaterThanOrClose(fragment.BeginFIndex, 0f)); 961System.Diagnostics.Debug.Assert(DoubleUtil.LessThanOrClose(fragment.BeginFIndex, 1f));
MS\Internal\Ink\StrokeNodeOperations.cs (10)
496else if (result.BeginFIndex != StrokeFIndices.BeforeFirst) 516if (result.BeginFIndex != StrokeFIndices.BeforeFirst) 613if (!DoubleUtil.AreClose(result.BeginFIndex, StrokeFIndices.BeforeFirst)) 619if (result.BeginFIndex > findex) 642if (DoubleUtil.AreClose(result.BeginFIndex, StrokeFIndices.AfterLast)) 1186if (isHit && DoubleUtil.AreClose(result.BeginFIndex, StrokeFIndices.BeforeFirst)) 1245if (DoubleUtil.AreClose(result.BeginFIndex, StrokeFIndices.BeforeFirst)) 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 (11)
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); 809if (cutAt[0].BeginFIndex == StrokeFIndices.BeforeFirst) 817if(DoubleUtil.GreaterThanOrClose(beginFIndex, fragment.BeginFIndex)) 821System.Diagnostics.Debug.Assert(DoubleUtil.LessThan(beginFIndex, fragment.BeginFIndex)); 826Stroke stroke = Copy(sourceStylusPoints, beginFIndex, fragment.BeginFIndex); 1009if (fragments[x].BeginFIndex <= current) 1016current = fragments[x].BeginFIndex; 1024return (!double.IsNaN(findex.BeginFIndex) && !double.IsNaN(findex.EndFIndex) && findex.BeginFIndex < findex.EndFIndex);