コード例 #1
0
            //==========================================================//
            /// <summary>
            /// Event handler for the manipulation processor's delta event.
            /// Occurs whenever the first time that the manipulation processor processes a
            /// group of manipulators
            /// </summary>
            /// <param name="sender">The manipulation processor that raised the event</param>
            /// <param name="e">The event args for the event</param>
            private void OnAffine2DManipulationStarted(object sender, Affine2DOperationStartedEventArgs e)
            {
                //Debug.Assert(!extrapolating);
                manipulating = true;

                //    manipulationProcessor.PivotX = transformedCenter.X;
                //    manipulationProcessor.PivotY = transformedCenter.Y;
                //    manipulationProcessor.PivotRadius = Math.Max(Width, Height) / 2.0f;
            }
コード例 #2
0
ファイル: App1.cs プロジェクト: touchcoder/SurfaceToTUIO
 /// <summary>
 /// Unused
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void OnAffine2DManipulationStarted(object sender, Affine2DOperationStartedEventArgs e)
 {
 }
コード例 #3
0
ファイル: Program.cs プロジェクト: nixz/covise
            //==========================================================//
            /// <summary>
            /// Event handler for the manipulation processor's delta event. 
            /// Occurs whenever the first time that the manipulation processor processes a 
            /// group of manipulators
            /// </summary>
            /// <param name="sender">The manipulation processor that raised the event</param>
            /// <param name="e">The event args for the event</param>
            private void OnAffine2DManipulationStarted(object sender, Affine2DOperationStartedEventArgs e)
            {
                //Debug.Assert(!extrapolating);
                manipulating = true;

                //    manipulationProcessor.PivotX = transformedCenter.X;
                //    manipulationProcessor.PivotY = transformedCenter.Y;
                //    manipulationProcessor.PivotRadius = Math.Max(Width, Height) / 2.0f;
            }
コード例 #4
0
 /// <summary>
 /// Handles the Affine2DManipulationStarted event of the ManipulationProcessor control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="Microsoft.Surface.Presentation.Manipulations.Affine2DOperationStartedEventArgs"/> instance containing the event data.</param>
 private void ContentManipulationProcessor_Affine2DManipulationStarted(object sender, Affine2DOperationStartedEventArgs e)
 {
     _inertiaProcessor.End();
 }
コード例 #5
0
 void manipulationProcessor_Affine2DManipulationStarted(object sender, Affine2DOperationStartedEventArgs e)
 {
     inertiaProcessor.End();
 }