From 9799a0fc07ae92cc25944f884ac69054ed746b11 Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Wed, 9 Dec 2020 19:24:34 +0530 Subject: [PATCH 2/5] include: Add ID2D1GradientStopCollection1 interface in d2d1_1.idl. Signed-off-by: Biswapriyo Nath --- 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 f18de83..64bd5fb 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), -- 2.29.2