System\Windows\Input\Manipulations\ManipulationSequence.cs (12)
181return GetVelocity(this.history, (item) => item.Position.X);
190return GetVelocity(this.history, (item) => item.Position.Y);
199return GetVelocity(this.history, (item) => item.Expansion);
208ManipulationState firstSample = this.history.Count > 0 ? this.history.Peek() : default(ManipulationState);
209return GetVelocity(this.history, (item) => AdjustOrientation(item.Orientation, firstSample.Orientation));
404if (this.processorState != ProcessorState.Waiting && currentManipulatorCount > 0 && this.history.Count > 0)
414this.history.Enqueue(new ManipulationState(timestamp), true/*stopMark*/);
649this.history.Clear();
739if (this.history.Count == 0)
741this.history.Enqueue(new ManipulationState(this.currentManipulationState.Timestamp));
745this.history.Enqueue(new ManipulationState((PointF)translation, smoothedScale, smoothedExpansion, smoothedRotation, timestamp));