13 instantiations of VectorF
System.Windows.Input.Manipulations (13)
System\Windows\Input\Manipulations\ManipulationSequence.cs (5)
31private static readonly VectorF ZeroVector = new VectorF(0, 0); 676VectorF translation = new VectorF(averagePoint.X - this.currentManipulationState.Position.X, averagePoint.Y - this.currentManipulationState.Position.Y); 871? new VectorF(pair.Value.CurrentManipulatorSnapshot.X - settings.Pivot.X, pair.Value.CurrentManipulatorSnapshot.Y - settings.Pivot.Y) 978this.cumulativeTranslation = new VectorF(0.0f, 0.0f); 1046? new VectorF(pair.Value.CurrentManipulatorSnapshot.X - settings.Pivot.X, pair.Value.CurrentManipulatorSnapshot.Y - settings.Pivot.Y)
System\Windows\Input\Manipulations\PointF.cs (2)
41return new VectorF(point.x, point.y); 90return new VectorF(point1.x - point2.x, point1.y - point2.y);
System\Windows\Input\Manipulations\VectorF.cs (6)
75return new VectorF(-vector.x, -vector.y); 170return new VectorF(vector1.x + vector2.x, vector1.y + vector2.y); 220return new VectorF(vector1.x - vector2.x, vector1.y - vector2.y); 248return new VectorF(vector.x * scalar, vector.y * scalar); 259return new VectorF(vector.x * scalar, vector.y * scalar); 270return new VectorF(vector.x / scalar, vector.y / scalar);
49 references to VectorF
System.Windows.Input.Manipulations (49)
System\Windows\Input\Manipulations\ManipulationSequence.cs (19)
31private static readonly VectorF ZeroVector = new VectorF(0, 0); 59private VectorF cumulativeTranslation; 382VectorF previousTranslation = this.cumulativeTranslation; 508private void RaiseEvents(VectorF previousTranslation, float previousSmoothedScale, float previousSmoothedExpansion, float previousSmoothedRotation) 568VectorF translate = this.cumulativeTranslation; 676VectorF translation = new VectorF(averagePoint.X - this.currentManipulationState.Position.X, averagePoint.Y - this.currentManipulationState.Position.Y); 867VectorF oldVectorFromOrigin = pair.Value.VectorFromManipulationOrigin; 868VectorF newVectorFromOrigin = new PointF(pair.Value.CurrentManipulatorSnapshot.X, pair.Value.CurrentManipulatorSnapshot.Y) - averagePoint; 869VectorF oldVectorFromPivot = pair.Value.VectorFromPivotPoint; 870VectorF newVectorFromPivot = isPinned 895VectorF oldVectorForRotationCalc = isPinned ? oldVectorFromPivot : oldVectorFromOrigin; 896VectorF newVectorForRotationCalc = isPinned ? newVectorFromPivot : newVectorFromOrigin; 953VectorF oldVector = previousPosition - pivotPoint; 954VectorF newVector = currentPosition - pivotPoint; 961float angle = VectorF.AngleBetween(oldVector, newVector); 1457private VectorF vectorFromManipulationOrigin; 1458private VectorF vectorFromPivotPoint; 1513public VectorF VectorFromManipulationOrigin 1528public VectorF VectorFromPivotPoint
System\Windows\Input\Manipulations\PointF.cs (4)
39public static explicit operator VectorF(in PointF point) 76public static PointF operator +(in PointF pt, VectorF offset) 88public static VectorF operator -(in PointF point1, in PointF point2) 100public static PointF operator -(in PointF point, VectorF vector)
System\Windows\Input\Manipulations\VectorF.cs (26)
58public static explicit operator PointF(VectorF vector) 73public static VectorF operator -(VectorF vector) 100public static bool operator !=(VectorF vector1, VectorF vector2) 112public static bool operator ==(VectorF vector1, VectorF vector2) 126if (o is VectorF) 128return (VectorF)o == this; 168public static VectorF operator +(VectorF vector1, VectorF vector2) 179public static PointF operator +(VectorF vector, PointF point) 218public static VectorF operator -(VectorF vector1, VectorF vector2) 246public static VectorF operator *(float scalar, VectorF vector) 257public static VectorF operator *(VectorF vector, float scalar) 268public static VectorF operator /(VectorF vector, float scalar) 319public static float operator *(VectorF vector1, VectorF vector2) 410public static float AngleBetween(VectorF vector1, VectorF vector2)