[PATCH 5/5] d2d1: Add the ID2D1Brush interface.

Henri Verbeet hverbeet at codeweavers.com
Wed May 14 00:56:26 CDT 2014


---
 include/d2d1.idl |   19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/include/d2d1.idl b/include/d2d1.idl
index 84fd157..5354ac9 100644
--- a/include/d2d1.idl
+++ b/include/d2d1.idl
@@ -543,5 +543,24 @@ interface ID2D1Bitmap : ID2D1Image
     );
 }
 
+[
+    local,
+    object,
+    uuid(2cd906a8-12e2-11dc-9fed-001143a055f9)
+]
+interface ID2D1Brush : ID2D1Resource
+{
+    void SetOpacity(
+        [in] float opacity
+    );
+    void SetTransform(
+        [in] const D2D1_MATRIX_3X2_F *transform
+    );
+    float GetOpacity();
+    void GetTransform(
+        [out] D2D1_MATRIX_3X2_F *transform
+    );
+}
+
 [local] HRESULT __stdcall D2D1CreateFactory(D2D1_FACTORY_TYPE factory_type, REFIID iid,
         const D2D1_FACTORY_OPTIONS *factory_options, void **factory);
-- 
1.7.10.4




More information about the wine-patches mailing list