53 references to BeforeFirst
PresentationCore (53)
MS\Internal\Ink\EllipticalNodeOperations.cs (12)
405
result.BeginFIndex = beginNode.IsEmpty ? StrokeFIndices.
BeforeFirst
: 1;
414
result.BeginFIndex = StrokeFIndices.
BeforeFirst
;
432
if (!DoubleUtil.AreClose(result.BeginFIndex, StrokeFIndices.
BeforeFirst
))
516
result.BeginFIndex = StrokeFIndices.
BeforeFirst
;
519
if (DoubleUtil.AreClose(result.BeginFIndex, StrokeFIndices.
BeforeFirst
))
526
if ((!beginNode.IsEmpty) && (!isHit || !DoubleUtil.AreClose(result.BeginFIndex, StrokeFIndices.
BeforeFirst
)))
533
if (!DoubleUtil.AreClose(result.BeginFIndex, StrokeFIndices.
BeforeFirst
))
535
result.BeginFIndex = StrokeFIndices.
BeforeFirst
;
576
else if ((DoubleUtil.AreClose(result.EndFIndex, StrokeFIndices.
BeforeFirst
)) && (!DoubleUtil.AreClose(result.BeginFIndex, StrokeFIndices.AfterLast)))
580
else if ((DoubleUtil.AreClose(result.BeginFIndex,StrokeFIndices.AfterLast)) && (!DoubleUtil.AreClose(result.EndFIndex, StrokeFIndices.
BeforeFirst
)))
582
result.BeginFIndex = StrokeFIndices.
BeforeFirst
;
809
if (!DoubleUtil.AreClose(result.BeginFIndex, StrokeFIndices.
BeforeFirst
))
MS\Internal\Ink\ErasingStroke.cs (2)
225
if (DoubleUtil.AreClose(eraseAt[index].BeginFIndex, StrokeFIndices.
BeforeFirst
))
247
StrokeFIndices.
BeforeFirst
, segment.EndFIndex));
MS\Internal\Ink\Lasso.cs (8)
357
if (DoubleUtil.AreClose(fIndex, StrokeFIndices.
BeforeFirst
))
389
si.HitBegin = StrokeFIndices.
BeforeFirst
;
390
si.InBegin = StrokeFIndices.
BeforeFirst
;
405
si.InEnd = StrokeFIndices.
BeforeFirst
;
419
if (DoubleUtil.AreClose(si.InEnd, StrokeFIndices.
BeforeFirst
))
421
System.Diagnostics.Debug.Assert(DoubleUtil.AreClose(si.InBegin, StrokeFIndices.
BeforeFirst
));
435
si.InEnd = StrokeFIndices.
BeforeFirst
;
906
private static readonly double NoIntersection = StrokeFIndices.
BeforeFirst
;
MS\Internal\Ink\StrokeFIndices.cs (4)
17
private static readonly StrokeFIndices s_empty = new StrokeFIndices(AfterLast,
BeforeFirst
);
18
private static readonly StrokeFIndices s_full = new StrokeFIndices(
BeforeFirst
, AfterLast);
131
if (DoubleUtil.AreClose(fIndex, StrokeFIndices.
BeforeFirst
))
160
internal bool IsFull { get { return ((DoubleUtil.AreClose(_beginFIndex,
BeforeFirst
)) && (DoubleUtil.AreClose(_endFIndex,AfterLast))); } }
MS\Internal\Ink\StrokeIntersection.cs (1)
25
internal static double BeforeFirst { get { return StrokeFIndices.
BeforeFirst
; } }
MS\Internal\Ink\StrokeNode.cs (3)
920
if (!DoubleUtil.AreClose(fragment.BeginFIndex, StrokeFIndices.
BeforeFirst
))
950
if (DoubleUtil.AreClose(fragment.BeginFIndex, StrokeFIndices.
BeforeFirst
))
953
fragment.BeginFIndex = (_index == 0 ? StrokeFIndices.
BeforeFirst
:_index - 1);
MS\Internal\Ink\StrokeNodeOperations.cs (17)
485
result.BeginFIndex = StrokeFIndices.
BeforeFirst
;
493
result.BeginFIndex = StrokeFIndices.
BeforeFirst
;
495
else if (result.BeginFIndex != StrokeFIndices.
BeforeFirst
)
515
if (result.BeginFIndex != StrokeFIndices.
BeforeFirst
)
612
if (!DoubleUtil.AreClose(result.BeginFIndex, StrokeFIndices.
BeforeFirst
))
615
if (findex != StrokeFIndices.
BeforeFirst
)
629
if (findex != StrokeFIndices.
BeforeFirst
)
643
if (!DoubleUtil.AreClose(result.EndFIndex, StrokeFIndices.
BeforeFirst
))
645
result.BeginFIndex = StrokeFIndices.
BeforeFirst
;
648
else if (DoubleUtil.AreClose(result.EndFIndex, StrokeFIndices.
BeforeFirst
))
1185
if (isHit && DoubleUtil.AreClose(result.BeginFIndex, StrokeFIndices.
BeforeFirst
))
1230
result.BeginFIndex = StrokeFIndices.
BeforeFirst
;
1241
result.BeginFIndex = StrokeFIndices.
BeforeFirst
;
1244
if (DoubleUtil.AreClose(result.BeginFIndex, StrokeFIndices.
BeforeFirst
))
1265
double findex = StrokeFIndices.
BeforeFirst
;
1285
findex = StrokeFIndices.
BeforeFirst
;
1307
DoubleUtil.AreClose(result.BeginFIndex, StrokeFIndices.
BeforeFirst
) && result.EndFIndex < 0.0f ||
System\Windows\Ink\Stroke.cs (6)
807
double beginFIndex = StrokeFIndices.
BeforeFirst
;
808
if (cutAt[0].BeginFIndex == StrokeFIndices.
BeforeFirst
)
854
(DoubleUtil.AreClose(StrokeFIndices.
BeforeFirst
, beginFIndex))
891
if (!DoubleUtil.AreClose(beginFIndex, StrokeFIndices.
BeforeFirst
))
922
if ((!DoubleUtil.AreClose(beginFIndex, StrokeFIndices.
BeforeFirst
)) && !DoubleUtil.AreClose(beginIndex, beginFIndex))
1005
double current = StrokeFIndices.
BeforeFirst
;