1 implementation of Pivot
System.Windows.Input.Manipulations (1)
System\Windows\Input\Manipulations\ManipulationProcessor2D.cs (1)
169
public ManipulationPivot2D
Pivot
14 references to Pivot
System.Windows.Input.Manipulations (14)
System\Windows\Input\Manipulations\ManipulationSequence.cs (14)
171
&& (settings.
Pivot
!= null)
172
&& settings.
Pivot
.HasPosition;
697
&& (settings.
Pivot
!= null)
698
&& settings.
Pivot
.HasPosition)
871
? new VectorF(pair.Value.CurrentManipulatorSnapshot.X - settings.
Pivot
.X, pair.Value.CurrentManipulatorSnapshot.Y - settings.
Pivot
.Y)
949
Debug.Assert(settings.
Pivot
!= null, "don't call unless we have a settings.Pivot");
950
Debug.Assert(settings.
Pivot
.HasPosition, "don't call unless there's a settings.Pivot location");
952
PointF pivotPoint = new PointF(settings.
Pivot
.X, settings.
Pivot
.Y);
957
if (dampen && !float.IsNaN(settings.
Pivot
.Radius))
959
torqueFactor = (float)Math.Min(1.0, Math.Pow(oldVector.Length / settings.
Pivot
.Radius, singleManipulatorTorqueFactor));
1046
? new VectorF(pair.Value.CurrentManipulatorSnapshot.X - settings.
Pivot
.X, pair.Value.CurrentManipulatorSnapshot.Y - settings.
Pivot
.Y)