IDirectManipulationContent interface (directmanipulation.h)

Encapsulates content inside a viewport, where content represents a visual surface clipped inside the viewport.

The content has a set of transforms that controls the visual movement of the surface during manipulation and inertia.

Note  When implementing a Direct Manipulation object, ensure that the IUnknown implementation supports multithreading through thread-safe reference counting. For more information, see InterlockedIncrement and InterlockedDecrement.
 

Inheritance

The IDirectManipulationContent interface inherits from the IUnknown interface. IDirectManipulationContent also has these types of members:

Methods

The IDirectManipulationContent interface has these methods.

 
IDirectManipulationContent::GetContentRect

Retrieves the bounding rectangle of the content, relative to the bounding rectangle of the viewport (if defined).
IDirectManipulationContent::GetContentTransform

Retrieves the transform applied to the content.
IDirectManipulationContent::GetOutputTransform

Gets the final transform applied to the content.
IDirectManipulationContent::GetTag

Retrieves the tag object set on this content.
IDirectManipulationContent::GetViewport

Retrieves the viewport that contains the content.
IDirectManipulationContent::SetContentRect

Specifies the bounding rectangle of the content, relative to its viewport.
IDirectManipulationContent::SetTag

Specifies the tag object for the content.
IDirectManipulationContent::SyncContentTransform

Modifies the content transform while maintaining the output transform.

Remarks

The system provides an implementation of IDirectManipulationContent.

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header directmanipulation.h

See also

Direct Manipulation Interfaces