IDirectManipulationContent interface

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.

Members

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

Methods

The IDirectManipulationContent interface has these methods.

MethodDescription
GetContentRect

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

GetContentTransform

Retrieves the transform applied to the content.

GetOutputTransform

Gets the final transform applied to the content.

GetTag

Retrieves the tag object set on this content.

GetViewport

Retrieves the viewport that contains the content.

SetContentRect

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

SetTag

Specifies the tag object for the content.

SyncContentTransform

Modifies the content transform while maintaining the output transform.

 

Remarks

The system provides an implementation of IDirectManipulationContent.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

DirectManipulation.h

IDL

DirectManipulation.idl

IID

IID_IDirectManipulationContent is defined as B89962CB-3D89-442B-BB58-5098FA0F9F16

See also

Direct Manipulation Interfaces

 

 

Community Additions

ADD
Show:
© 2014 Microsoft