Henri Verbeet : d2d1: Add the ID2D1RadialGradientBrush interface.

Alexandre Julliard julliard at winehq.org
Fri May 16 12:13:57 CDT 2014


Module: wine
Branch: master
Commit: 7d30886296ef74e9e998effd872482b1d1874d40
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=7d30886296ef74e9e998effd872482b1d1874d40

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Fri May 16 09:59:19 2014 +0200

d2d1: Add the ID2D1RadialGradientBrush interface.

---

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

diff --git a/include/d2d1.idl b/include/d2d1.idl
index 3a7901f..c96b67e 100644
--- a/include/d2d1.idl
+++ b/include/d2d1.idl
@@ -679,5 +679,33 @@ interface ID2D1LinearGradientBrush : ID2D1Brush
     );
 }
 
+[
+    local,
+    object,
+    uuid(2cd906ac-12e2-11dc-9fed-001143a055f9)
+]
+interface ID2D1RadialGradientBrush : ID2D1Brush
+{
+    void SetCenter(
+        [in] D2D1_POINT_2F center
+    );
+    void SetGradientOriginOffset(
+        [in] D2D1_POINT_2F offset
+    );
+    void SetRadiusX(
+        [in] float radius
+    );
+    void SetRadiusY(
+        [in] float radius
+    );
+    D2D1_POINT_2F GetCenter();
+    D2D1_POINT_2F GetGradientOriginOffset();
+    float GetRadiusX();
+    float GetRadiusY();
+    void GetGradientStopCollection(
+        [out] ID2D1GradientStopCollection **gradient
+    );
+}
+
 [local] HRESULT __stdcall D2D1CreateFactory(D2D1_FACTORY_TYPE factory_type, REFIID iid,
         const D2D1_FACTORY_OPTIONS *factory_options, void **factory);




More information about the wine-cvs mailing list