IDirectManipulationContent::GetContentTransform method (directmanipulation.h)

Retrieves the transform applied to the content.

Syntax

HRESULT GetContentTransform(
  [out] float *matrix,
  [in]  DWORD pointCount
);

Parameters

[out] matrix

The transform matrix.

[in] pointCount

The size of the transform matrix. This value is always 6, because a 3x2 matrix is used for all direct manipulation transforms.

Return value

If the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

This transform contains the default overpan and bounce curves during manipulation and inertia.

This transform does not contain the sync transform set with SyncContentTransform.

When this method returns, the format of matrix is:

matrix matrix matrix matrix matrix matrix

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

IDirectManipulationContent