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