Biswapriyo Nath : include: Add ID2D1GradientStopCollection1 interface in d2d1_1.idl.

Alexandre Julliard julliard at winehq.org
Thu Dec 10 16:05:29 CST 2020


Module: wine
Branch: master
Commit: 95106430ee94bac435b730dcece7632a8411480d
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=95106430ee94bac435b730dcece7632a8411480d

Author: Biswapriyo Nath <nathbappai at gmail.com>
Date:   Wed Dec  9 19:42:34 2020 +0530

include: Add ID2D1GradientStopCollection1 interface in d2d1_1.idl.

Signed-off-by: Biswapriyo Nath <nathbappai at gmail.com>
Signed-off-by: Henri Verbeet <hverbeet at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 include/d2d1_1.idl | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/include/d2d1_1.idl b/include/d2d1_1.idl
index f18de83e779..64bd5fb53f4 100644
--- a/include/d2d1_1.idl
+++ b/include/d2d1_1.idl
@@ -28,7 +28,6 @@ interface IWICImagingFactory;
 interface IWICColorContext;
 interface ID2D1ColorContext;
 interface ID2D1Effect;
-interface ID2D1GradientStopCollection1;
 interface ID2D1ImageBrush;
 interface ID2D1BitmapBrush1;
 
@@ -495,6 +494,23 @@ interface ID2D1BitmapBrush1 : ID2D1BitmapBrush
     D2D1_INTERPOLATION_MODE GetInterpolationMode1();
 }
 
+[
+    object,
+    uuid(ae1572f4-5dd0-4777-998b-9279472ae63b),
+    local,
+]
+interface ID2D1GradientStopCollection1 : ID2D1GradientStopCollection
+{
+    void GetGradientStops1(
+        [out] D2D1_GRADIENT_STOP *gradient,
+        [in] UINT32 count
+    );
+    D2D1_COLOR_SPACE GetPreInterpolationSpace();
+    D2D1_COLOR_SPACE GetPostInterpolationSpace();
+    D2D1_BUFFER_PRECISION GetBufferPrecision();
+    D2D1_COLOR_INTERPOLATION_MODE GetColorInterpolationMode();
+}
+
 [
     object,
     uuid(47dd575d-ac05-4cdd-8049-9b02cd16f44c),




More information about the wine-cvs mailing list