Manipulations

This section explains object manipulation for Windows Touch.

Manipulation Overview

A convenient way to think about manipulations is to consider them a superset of gestures. What you can do with gestures, you can do with more flexibility and with finer granularity by using manipulations. The difference between manipulations and gestures is best demonstrated with a simple example. You can expand an object and at the same time translate it using manipulations; with gestures, you can do only one at a time. This ability to manipulate an object in real time makes applications more intuitive to users by enabling a more realistic experience.

The Manipulation APIs are used to simplify transformation operations on objects for touch-enabled applications. Manipulations are performed in Windows 7 through the manipulations COM object. By using manipulations, developers can more easily support inertia (object physics) and can easily perform transformations on objects in a way that is consistent with other applications. The following sections explain various ways you can perform manipulations.

SectionDescription
Adding Manipulation Support to Unmanaged CodeExplains how to implement an event sink for the _IManipulationEvents interface and add event handlers to your code.
Advanced ManipulationsExplains how to perform complex manipulations.
Single Finger RotationExplains how to rotate an object using a pivot point and the manipulation processor.

 

See Also

Manipulations and Inertia

Send comments about this topic to Microsoft

Build date: 10/8/2009

Tags :


Page view tracker