Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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.

HRESULTDescription
S_OKNo error occurred
E_OUTOFMEMORYDirect2D 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

D2d1effectauthor.h

Library

D2d1.lib

See also

ID2D1TransformGraph

 

 

Show:
© 2017 Microsoft