6 references to TotalWeight
PresentationCore (6)
System\Windows\Ink\IncrementalHitTester.cs (3)
413bool isHit = DoubleUtil.GreaterThanOrClose(strokeInfo.HitWeight, strokeInfo.TotalWeight * _percentIntersect / 100f - Stroke.PercentageTolerance); 776if (DoubleUtil.GreaterThan(value, TotalWeight)) 778_hitWeight = TotalWeight;
System\Windows\Ink\Stroke2.cs (2)
224double target = strokeInfo.TotalWeight * percentageWithinBounds / 100.0f - PercentageTolerance; 274double target = strokeInfo.TotalWeight * percentageWithinLasso / 100.0f - PercentageTolerance;
System\Windows\Ink\StrokeCollection2.cs (1)
111double target = strokeInfo.TotalWeight * percentageWithinLasso / 100.0f - Stroke.PercentageTolerance;