IDirectManipulationContent::GetContentTransform method

Retrieves the transform applied to the content.

Syntax

HRESULT GetContentTransform(
  float *matrix,
  DWORD pointCount
);

Parameters

matrix

The transform matrix.

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

   
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