IDCompositionDevice::CreateTransformGroup method
Creates a 2D transform group object that holds an array of 2D transform objects.
Syntax
HRESULT CreateTransformGroup( [in] IDCompositionTransform **transforms, [in] UINT elements, [out] IDCompositionTransform **transformGroup );
Parameters
- transforms [in]
-
Type: IDCompositionTransform**
An array of 2D transform objects that make up this transform group.
- elements [in]
-
Type: UINT
The number of elements in the transforms array.
- transformGroup [out]
-
Type: IDCompositionTransform**
The new transform group object. This parameter must not be NULL.
Return value
Type: HRESULT
If the function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code. See DirectComposition Error Codes for a list of error codes.
Remarks
The array entries in a transform group cannot be changed. However, each transform in the array can be modified through its own property setting methods. If a transform in the array is modified, the change is reflected in the computed matrix of the transform group.
Requirements
|
Minimum supported client |
Windows 8 [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2012 [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also