53 references to BeforeFirst
PresentationCore (53)
MS\Internal\Ink\EllipticalNodeOperations.cs (12)
406
result.BeginFIndex = beginNode.IsEmpty ? StrokeFIndices.
BeforeFirst
: 1;
415
result.BeginFIndex = StrokeFIndices.
BeforeFirst
;
433
if (!DoubleUtil.AreClose(result.BeginFIndex, StrokeFIndices.
BeforeFirst
))
517
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
))
536
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
)))
583
result.BeginFIndex = StrokeFIndices.
BeforeFirst
;
810
if (!DoubleUtil.AreClose(result.BeginFIndex, StrokeFIndices.
BeforeFirst
))
MS\Internal\Ink\ErasingStroke.cs (2)
226
if (DoubleUtil.AreClose(eraseAt[index].BeginFIndex, StrokeFIndices.
BeforeFirst
))
248
StrokeFIndices.
BeforeFirst
, segment.EndFIndex));
MS\Internal\Ink\Lasso.cs (8)
358
if (DoubleUtil.AreClose(fIndex, StrokeFIndices.
BeforeFirst
))
390
si.HitBegin = StrokeFIndices.
BeforeFirst
;
391
si.InBegin = StrokeFIndices.
BeforeFirst
;
406
si.InEnd = StrokeFIndices.
BeforeFirst
;
420
if (DoubleUtil.AreClose(si.InEnd, StrokeFIndices.
BeforeFirst
))
422
System.Diagnostics.Debug.Assert(DoubleUtil.AreClose(si.InBegin, StrokeFIndices.
BeforeFirst
));
436
si.InEnd = StrokeFIndices.
BeforeFirst
;
905
private static readonly double NoIntersection = StrokeFIndices.
BeforeFirst
;
MS\Internal\Ink\StrokeFIndices.cs (4)
18
private static readonly StrokeFIndices s_empty = new StrokeFIndices(AfterLast,
BeforeFirst
);
19
private static readonly StrokeFIndices s_full = new StrokeFIndices(
BeforeFirst
, AfterLast);
132
if (DoubleUtil.AreClose(fIndex, StrokeFIndices.
BeforeFirst
))
161
internal bool IsFull { get { return ((DoubleUtil.AreClose(_beginFIndex,
BeforeFirst
)) && (DoubleUtil.AreClose(_endFIndex,AfterLast))); } }
MS\Internal\Ink\StrokeIntersection.cs (1)
26
internal static double BeforeFirst { get { return StrokeFIndices.
BeforeFirst
; } }
MS\Internal\Ink\StrokeNode.cs (3)
921
if (!DoubleUtil.AreClose(fragment.BeginFIndex, StrokeFIndices.
BeforeFirst
))
951
if (DoubleUtil.AreClose(fragment.BeginFIndex, StrokeFIndices.
BeforeFirst
))
954
fragment.BeginFIndex = (_index == 0 ? StrokeFIndices.
BeforeFirst
:_index - 1);
MS\Internal\Ink\StrokeNodeOperations.cs (17)
486
result.BeginFIndex = StrokeFIndices.
BeforeFirst
;
494
result.BeginFIndex = StrokeFIndices.
BeforeFirst
;
496
else if (result.BeginFIndex != StrokeFIndices.
BeforeFirst
)
516
if (result.BeginFIndex != StrokeFIndices.
BeforeFirst
)
613
if (!DoubleUtil.AreClose(result.BeginFIndex, StrokeFIndices.
BeforeFirst
))
616
if (findex != StrokeFIndices.
BeforeFirst
)
630
if (findex != StrokeFIndices.
BeforeFirst
)
644
if (!DoubleUtil.AreClose(result.EndFIndex, StrokeFIndices.
BeforeFirst
))
646
result.BeginFIndex = StrokeFIndices.
BeforeFirst
;
649
else if (DoubleUtil.AreClose(result.EndFIndex, StrokeFIndices.
BeforeFirst
))
1186
if (isHit && DoubleUtil.AreClose(result.BeginFIndex, StrokeFIndices.
BeforeFirst
))
1231
result.BeginFIndex = StrokeFIndices.
BeforeFirst
;
1242
result.BeginFIndex = StrokeFIndices.
BeforeFirst
;
1245
if (DoubleUtil.AreClose(result.BeginFIndex, StrokeFIndices.
BeforeFirst
))
1266
double findex = StrokeFIndices.
BeforeFirst
;
1286
findex = StrokeFIndices.
BeforeFirst
;
1308
DoubleUtil.AreClose(result.BeginFIndex, StrokeFIndices.
BeforeFirst
) && result.EndFIndex < 0.0f ||
System\Windows\Ink\Stroke.cs (6)
808
double beginFIndex = StrokeFIndices.
BeforeFirst
;
809
if (cutAt[0].BeginFIndex == StrokeFIndices.
BeforeFirst
)
855
(DoubleUtil.AreClose(StrokeFIndices.
BeforeFirst
, beginFIndex))
892
if (!DoubleUtil.AreClose(beginFIndex, StrokeFIndices.
BeforeFirst
))
923
if ((!DoubleUtil.AreClose(beginFIndex, StrokeFIndices.
BeforeFirst
)) && !DoubleUtil.AreClose(beginIndex, beginFIndex))
1006
double current = StrokeFIndices.
BeforeFirst
;