IDCompositionTranslateTransform interface

Represents a 2D transformation that affects only the offset of a visual along the x-axis and y-axis.

Methods

The IDCompositionTranslateTransform interface has these methods.

Method Description
IDCompositionTranslateTransform::SetOffsetX Changes the value of the OffsetX property of a 2D translation transform.
IDCompositionTranslateTransform::SetOffsetX Animates the value of the OffsetX property of a 2D translation transform.
IDCompositionTranslateTransform::SetOffsetY Changes the value of the OffsetY property of a 2D translation transform.
IDCompositionTranslateTransform::SetOffsetY Animates the value of the OffsetY property of a 2D translation transform.

Remarks

A translation transform represents the following 3-by-2 matrix:

Three-by-two translation matrix

The effect is simply to offset the coordinate system by x and y.

Requirements

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

See Also

IDCompositionTransform

IDCompositionVisual::SetTransform