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