7 references to Distance
PresentationCore (7)
System\Windows\Input\Stylus\Pointer\PointerFlickEngine.cs (7)
335double dist = Distance(_lastPhysicalPoint, physPoint); 385Result.PhysicalLength = Convert.ToInt32(.5 + Distance(Result.PhysicalStart, _previousFlickData.PhysicalPoint)); 386Result.TabletLength = Convert.ToInt32(.5 + Distance(Result.TabletStart, _previousFlickData.TabletPoint)); 442newData.Displacement = Distance(physicalPoint, _previousFlickData.PhysicalPoint); 447_flickPathDistance = Distance(physicalPoint, _flickStartPhysical); 450_flickLength = Distance(physicalPoint, _flickStartPhysical); 470_analyzingData = Distance(physicalPoint, _flickStartPhysical) > ThresholdLength