6 references to TotalWeight
PresentationCore (6)
System\Windows\Ink\IncrementalHitTester.cs (3)
426
bool isHit = DoubleUtil.GreaterThanOrClose(strokeInfo.HitWeight, strokeInfo.
TotalWeight
* _percentIntersect / 100f - Stroke.PercentageTolerance);
789
if (DoubleUtil.GreaterThan(value,
TotalWeight
))
791
_hitWeight =
TotalWeight
;
System\Windows\Ink\Stroke2.cs (2)
234
double target = strokeInfo.
TotalWeight
* percentageWithinBounds / 100.0f - PercentageTolerance;
287
double target = strokeInfo.
TotalWeight
* percentageWithinLasso / 100.0f - PercentageTolerance;
System\Windows\Ink\StrokeCollection2.cs (1)
123
double target = strokeInfo.
TotalWeight
* percentageWithinLasso / 100.0f - Stroke.PercentageTolerance;