11 instantiations of PointF
System.Windows.Input.Manipulations (11)
System\Windows\Input\Manipulations\ManipulationSequence.cs (7)
29private static readonly PointF ZeroPoint = new PointF(0, 0); 339state.CurrentManipulatorSnapshot.Id + "\tChanged\t" + new PointF(state.CurrentManipulatorSnapshot.X, state.CurrentManipulatorSnapshot.Y)); 483state.Id + "\tAdded\t" + new PointF(state.InitialManipulatorSnapshot.X, state.InitialManipulatorSnapshot.Y)); 868VectorF newVectorFromOrigin = new PointF(pair.Value.CurrentManipulatorSnapshot.X, pair.Value.CurrentManipulatorSnapshot.Y) - averagePoint; 952PointF pivotPoint = new PointF(settings.Pivot.X, settings.Pivot.Y); 1027PointF result = new PointF(x / this.manipulatorStates.Count, y / this.manipulatorStates.Count); 1042pair.Value.VectorFromManipulationOrigin = new PointF(
System\Windows\Input\Manipulations\PointF.cs (2)
78return new PointF(pt.X + offset.X, pt.Y + offset.Y); 102return new PointF(point.x - vector.X, point.y - vector.Y);
System\Windows\Input\Manipulations\VectorF.cs (2)
60return new PointF(vector.x, vector.y); 181return new PointF(point.X + vector.x, point.Y + vector.y);
31 references to PointF
System.Windows.Input.Manipulations (31)
System\Windows\Input\Manipulations\ManipulationSequence.cs (15)
29private static readonly PointF ZeroPoint = new PointF(0, 0); 567PointF lastKnownOrigin = this.currentManipulationState.Position; 670PointF averagePoint = GetAveragePoint(); 745this.history.Enqueue(new ManipulationState((PointF)translation, smoothedScale, smoothedExpansion, smoothedRotation, timestamp)); 826(PointF)this.cumulativeTranslation, 852PointF averagePoint, 945PointF currentPosition, 946PointF previousPosition, 952PointF pivotPoint = new PointF(settings.Pivot.X, settings.Pivot.Y); 1002private void OverwriteManipulationState(in PointF position, float scale, float expansion, float orientation, Int64 timestamp) 1015private PointF GetAveragePoint() 1027PointF result = new PointF(x / this.manipulatorStates.Count, y / this.manipulatorStates.Count); 1036private void SetVectorsFromPoint(in PointF referenceOrigin, ISettings settings) 1546public readonly PointF Position; 1552public ManipulationState(in PointF position, float scale, float expansion, float orientation, Int64 timestamp)
System\Windows\Input\Manipulations\PointF.cs (13)
39public static explicit operator VectorF(in PointF point) 50public static bool operator !=(in PointF left, in PointF right) 64public static bool operator ==(in PointF left, in PointF right) 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) 130if (obj is PointF) 131return (PointF)obj == this;
System\Windows\Input\Manipulations\VectorF.cs (3)
58public static explicit operator PointF(VectorF vector) 179public static PointF operator +(VectorF vector, PointF point)