Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Represents a 2D transformation that affects only the offset of a visual along the x-axis and y-axis.
Inheritance
The IDCompositionTranslateTransform interface inherits from IDCompositionTransform. IDCompositionTranslateTransform also has these types of members:
Methods
The IDCompositionTranslateTransform interface has these methods.
| 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:
The effect is simply to offset the coordinate system by x and y.
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 |