IDCompositionMatrixTransform interface
Represents an arbitrary affine 2D transformation defined by a 3-by-2 matrix.
When to implement
Client applications do not implement IDCompositionMatrixTransform; custom implementations are not supported.
When to use
All 2D transforms in DirectComposition can be represented by a 3-by-2 matrix. Use the IDCompositionMatrixTransform interface when you need a type of transformation matrix that is not already implemented by one of the other DirectComposition transform interfaces. Generally, it is slightly more efficient to use one of the other interfaces. For example, always use the IDCompositionTranslateTransform interface to define a translation matrix instead of the IDCompositionMatrixTransform interface.
Members
The IDCompositionMatrixTransform interface inherits from IDCompositionTransform. IDCompositionMatrixTransform also has these types of members:
Methods
The IDCompositionMatrixTransform interface has these methods.
| Method | Description |
|---|---|
| SetMatrix |
Changes all values of the matrix of this 2D transform. |
| SetMatrixElement | Overloaded. Changes or animates the value of one element of the matrix of this 2D transform. |
Requirements
|
Minimum supported client |
Windows 8 [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2012 [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also