6 references to TotalWeight
PresentationCore (6)
Core\CSharp\System\Windows\Ink\IncrementalHitTester.cs (3)
434
bool isHit = DoubleUtil.GreaterThanOrClose(strokeInfo.HitWeight, strokeInfo.
TotalWeight
* _percentIntersect / 100f - Stroke.PercentageTolerance);
800
if (DoubleUtil.GreaterThan(value,
TotalWeight
))
802
_hitWeight =
TotalWeight
;
Core\CSharp\System\Windows\Ink\Stroke2.cs (2)
255
double target = strokeInfo.
TotalWeight
* percentageWithinBounds / 100.0f - PercentageTolerance;
311
double target = strokeInfo.
TotalWeight
* percentageWithinLasso / 100.0f - PercentageTolerance;
Core\CSharp\System\Windows\Ink\StrokeCollection2.cs (1)
130
double target = strokeInfo.
TotalWeight
* percentageWithinLasso / 100.0f - Stroke.PercentageTolerance;