IDCompositionRotateTransform interface

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.

When to implement

Client applications do not implement IDCompositionRotateTransform; custom implementations are not supported.

Members

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

Methods

The IDCompositionRotateTransform interface has these methods.

MethodDescription
SetAngle Overloaded.

Changes or animates the value of the Angle property of a rotation transform. The Angle property specifies the rotation angle, in degrees. The default value is zero.

SetCenterX Overloaded.

Changes or animates the value of the CenterX property of a 2D rotation transform.

SetCenterY Overloaded.

Changes or 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

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Dcomp.h

Library

Dcomp.lib

DLL

Dcomp.dll

See also

IDCompositionTransform
IDCompositionVisual::SetTransform

 

 

Community Additions

ADD
Show:
© 2014 Microsoft