52 references to BeforeFirst
PresentationCore (52)
Core\CSharp\MS\Internal\Ink\EllipticalNodeOperations.cs (12)
411
result.BeginFIndex = beginNode.IsEmpty ? StrokeFIndices.
BeforeFirst
: 1;
420
result.BeginFIndex = StrokeFIndices.
BeforeFirst
;
438
if (!DoubleUtil.AreClose(result.BeginFIndex, StrokeFIndices.
BeforeFirst
))
522
result.BeginFIndex = StrokeFIndices.
BeforeFirst
;
525
if (DoubleUtil.AreClose(result.BeginFIndex, StrokeFIndices.
BeforeFirst
))
532
if ((beginNode.IsEmpty == false) && (!isHit || !DoubleUtil.AreClose(result.BeginFIndex, StrokeFIndices.
BeforeFirst
)))
539
if (!DoubleUtil.AreClose(result.BeginFIndex, StrokeFIndices.
BeforeFirst
))
541
result.BeginFIndex = StrokeFIndices.
BeforeFirst
;
584
else if ((DoubleUtil.AreClose(result.EndFIndex, StrokeFIndices.
BeforeFirst
)) && (!DoubleUtil.AreClose(result.BeginFIndex, StrokeFIndices.AfterLast)))
588
else if ((DoubleUtil.AreClose(result.BeginFIndex,StrokeFIndices.AfterLast)) && (!DoubleUtil.AreClose(result.EndFIndex, StrokeFIndices.
BeforeFirst
)))
590
result.BeginFIndex = StrokeFIndices.
BeforeFirst
;
817
if (!DoubleUtil.AreClose(result.BeginFIndex, StrokeFIndices.
BeforeFirst
))
Core\CSharp\MS\Internal\Ink\ErasingStroke.cs (2)
229
if (DoubleUtil.AreClose(eraseAt[index].BeginFIndex, StrokeFIndices.
BeforeFirst
))
251
StrokeFIndices.
BeforeFirst
, segment.EndFIndex));
Core\CSharp\MS\Internal\Ink\Lasso.cs (8)
364
if (DoubleUtil.AreClose(fIndex, StrokeFIndices.
BeforeFirst
))
396
si.HitBegin = StrokeFIndices.
BeforeFirst
;
397
si.InBegin = StrokeFIndices.
BeforeFirst
;
412
si.InEnd = StrokeFIndices.
BeforeFirst
;
426
if (DoubleUtil.AreClose(si.InEnd, StrokeFIndices.
BeforeFirst
))
428
System.Diagnostics.Debug.Assert(DoubleUtil.AreClose(si.InBegin, StrokeFIndices.
BeforeFirst
));
442
si.InEnd = StrokeFIndices.
BeforeFirst
;
907
private static readonly double NoIntersection = StrokeFIndices.
BeforeFirst
;
Core\CSharp\MS\Internal\Ink\StrokeFIndices.cs (4)
27
private static StrokeFIndices s_empty = new StrokeFIndices(AfterLast,
BeforeFirst
);
28
private static StrokeFIndices s_full = new StrokeFIndices(
BeforeFirst
, AfterLast);
141
if (DoubleUtil.AreClose(fIndex, StrokeFIndices.
BeforeFirst
))
170
internal bool IsFull { get { return ((DoubleUtil.AreClose(_beginFIndex,
BeforeFirst
)) && (DoubleUtil.AreClose(_endFIndex,AfterLast))); } }
Core\CSharp\MS\Internal\Ink\StrokeIntersection.cs (1)
33
internal static double BeforeFirst { get { return StrokeFIndices.
BeforeFirst
; } }
Core\CSharp\MS\Internal\Ink\StrokeNode.cs (3)
928
if (!DoubleUtil.AreClose(fragment.BeginFIndex, StrokeFIndices.
BeforeFirst
))
959
if (DoubleUtil.AreClose(fragment.BeginFIndex, StrokeFIndices.
BeforeFirst
))
962
fragment.BeginFIndex = (_index == 0 ? StrokeFIndices.
BeforeFirst
:_index - 1);
Core\CSharp\MS\Internal\Ink\StrokeNodeOperations.cs (17)
502
result.BeginFIndex = StrokeFIndices.
BeforeFirst
;
510
result.BeginFIndex = StrokeFIndices.
BeforeFirst
;
512
else if (result.BeginFIndex != StrokeFIndices.
BeforeFirst
)
532
if (result.BeginFIndex != StrokeFIndices.
BeforeFirst
)
634
if (!DoubleUtil.AreClose(result.BeginFIndex, StrokeFIndices.
BeforeFirst
))
637
if (findex != StrokeFIndices.
BeforeFirst
)
651
if (findex != StrokeFIndices.
BeforeFirst
)
665
if (!DoubleUtil.AreClose(result.EndFIndex, StrokeFIndices.
BeforeFirst
))
667
result.BeginFIndex = StrokeFIndices.
BeforeFirst
;
670
else if (DoubleUtil.AreClose(result.EndFIndex, StrokeFIndices.
BeforeFirst
))
1207
if (isHit && DoubleUtil.AreClose(result.BeginFIndex, StrokeFIndices.
BeforeFirst
))
1252
result.BeginFIndex = StrokeFIndices.
BeforeFirst
;
1263
result.BeginFIndex = StrokeFIndices.
BeforeFirst
;
1266
if (DoubleUtil.AreClose(result.BeginFIndex, StrokeFIndices.
BeforeFirst
))
1287
double findex = StrokeFIndices.
BeforeFirst
;
1308
findex = StrokeFIndices.
BeforeFirst
;
1330
DoubleUtil.AreClose(result.BeginFIndex, StrokeFIndices.
BeforeFirst
) && result.EndFIndex < 0.0f ||
Core\CSharp\System\Windows\Ink\Stroke.cs (5)
840
double beginFIndex = StrokeFIndices.
BeforeFirst
;
841
if (cutAt[0].BeginFIndex == StrokeFIndices.
BeforeFirst
)
887
(DoubleUtil.AreClose(StrokeFIndices.
BeforeFirst
, beginFIndex))
924
if (!DoubleUtil.AreClose(beginFIndex, StrokeFIndices.
BeforeFirst
))
957
if ((!DoubleUtil.AreClose(beginFIndex, StrokeFIndices.
BeforeFirst
)) && !DoubleUtil.AreClose(beginIndex, beginFIndex))