IDirectManipulationContent::SyncContentTransform method (directmanipulation.h)

Modifies the content transform while maintaining the output transform.

Syntax

HRESULT SyncContentTransform(
  [in] const float *matrix,
  [in] DWORD       pointCount
);

Parameters

[in] 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 method will fail if the viewport state is DIRECTMANIPULATION_RUNNING, DIRECTMANIPULATION_INERTIA or DIRECTMANIPULATION_SUSPENDED.

This method is useful when the application wants to apply transforms on top of the content transforms at the end of a manipulation, while preserving the visual output transform of the content.

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