ID2D1TransformGraph::AddNode method
Adds the provided node to the transform graph.
Syntax
HRESULT AddNode(
[in] ID2D1TransformNode *node
);
Parameters
- node [in]
-
Type: ID2D1TransformNode*
The node that will be added to the transform graph.
Return value
Type: HRESULT
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
| HRESULT | Description |
|---|---|
| S_OK | No error occurred |
| E_OUTOFMEMORY | Direct2D could not allocate sufficient memory to complete the call. |
Remarks
This adds a transform node to the transform graph. A node must be added to the transform graph before it can be interconnected in any way.
A transform graph cannot be directly added to another transform graph. Only interfaces derived from ID2D1TransformNode can be added to the transform graph.
Requirements
|
Minimum supported client |
Windows 8 and Platform Update for Windows 7 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | Windows Store apps] |
|
Minimum supported phone |
Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps] |
|
Header |
|
|
Library |
|
See also