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