[PATCH 6/6] include: Add defines for ID2D1TransformGraph.

Ziqing Hui zhui at codeweavers.com
Thu Apr 21 23:23:53 CDT 2022


Signed-off-by: Ziqing Hui <zhui at codeweavers.com>
---
 include/d2d1effectauthor.idl | 46 ++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)

diff --git a/include/d2d1effectauthor.idl b/include/d2d1effectauthor.idl
index 0daddc032c4..b3db5256447 100644
--- a/include/d2d1effectauthor.idl
+++ b/include/d2d1effectauthor.idl
@@ -212,3 +212,49 @@ interface ID2D1ComputeInfo : ID2D1RenderInfo
         [in] ID2D1ResourceTexture *resource_texture
     );
 };
+
+[
+    object,
+    uuid(b2efe1e7-729f-4102-949f-505fa21bf666),
+    local,
+]
+interface ID2D1TransformNode : IUnknown
+{
+    UINT32 GetInputCount();
+};
+
+[
+    object,
+    uuid(13d29038-c3e6-4034-9081-13b53a417992),
+    local,
+]
+interface ID2D1TransformGraph : IUnknown
+{
+    UINT32 GetInputCount();
+    HRESULT SetSingleTransformNode(
+        [in] ID2D1TransformNode *node
+    );
+    HRESULT AddNode(
+        [in] ID2D1TransformNode *node
+    );
+    HRESULT RemoveNode(
+        [in] ID2D1TransformNode *node
+    );
+    HRESULT SetOutputNode(
+        [in] ID2D1TransformNode *node
+    );
+    HRESULT ConnectNode(
+        [in] ID2D1TransformNode *from_node,
+        [in] ID2D1TransformNode *to_node,
+        [in] UINT32 node_index
+    );
+    HRESULT ConnectToEffectInput(
+        [in] UINT32 input_Index,
+        [in] ID2D1TransformNode *node,
+        [in] UINT32 node_index
+    );
+    void Clear();
+    HRESULT SetPassthroughGraph(
+        [in] UINT32 input_index
+    );
+};
-- 
2.25.1




More information about the wine-devel mailing list