6 references to TotalWeight
PresentationCore (6)
System\Windows\Ink\IncrementalHitTester.cs (3)
417
bool isHit = DoubleUtil.GreaterThanOrClose(strokeInfo.HitWeight, strokeInfo.
TotalWeight
* _percentIntersect / 100f - Stroke.PercentageTolerance);
780
if (DoubleUtil.GreaterThan(value,
TotalWeight
))
782
_hitWeight =
TotalWeight
;
System\Windows\Ink\Stroke2.cs (2)
225
double target = strokeInfo.
TotalWeight
* percentageWithinBounds / 100.0f - PercentageTolerance;
278
double target = strokeInfo.
TotalWeight
* percentageWithinLasso / 100.0f - PercentageTolerance;
System\Windows\Ink\StrokeCollection2.cs (1)
116
double target = strokeInfo.
TotalWeight
* percentageWithinLasso / 100.0f - Stroke.PercentageTolerance;