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