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