IDCompositionRotateTransform interface (dcomp.h)

Represents a 2D transformation that affects the rotation of a visual around the z-axis. The coordinate system is rotated around the specified center point.

Inheritance

The IDCompositionRotateTransform interface inherits from IDCompositionTransform. IDCompositionRotateTransform also has these types of members:

Methods

The IDCompositionRotateTransform interface has these methods.

 
IDCompositionRotateTransform::SetAngle

Changes the value of the Angle property of a 2D rotation transform. The Angle property specifies the rotation angle.
IDCompositionRotateTransform::SetAngle

Animates the value of the Angle property of a 2D rotation transform. The Angle property specifies the rotation angle.
IDCompositionRotateTransform::SetCenterX

Changes the value of the CenterX property of a 2D rotation transform.
IDCompositionRotateTransform::SetCenterX

Animates the value of the CenterX property of a 2D rotation transform.
IDCompositionRotateTransform::SetCenterY

Changes the value of the CenterY property of a 2D rotation transform.
IDCompositionRotateTransform::SetCenterY

Animates the value of the CenterY property of a 2D rotation transform.

Remarks

A rotate transform represents the following 3-by-3 matrix:

Three-by-three transformation matrix

The effect is to rotate the coordinate system clockwise or counter-clockwise, and to apply the corresponding translation such that the center point does not move.

Requirements

Requirement Value
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