Biswapriyo Nath : include: Add ID2D1ImageBrush interface in d2d1_1.idl.
Alexandre Julliard
julliard at winehq.org
Thu Dec 10 16:05:29 CST 2020
Module: wine
Branch: master
Commit: 527e0469bfb917757c086e90021fb5faa3a80ffb
URL: https://source.winehq.org/git/wine.git/?a=commit;h=527e0469bfb917757c086e90021fb5faa3a80ffb
Author: Biswapriyo Nath <nathbappai at gmail.com>
Date: Wed Dec 9 19:42:34 2020 +0530
include: Add ID2D1ImageBrush 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 | 34 +++++++++++++++++++++++++++++++++-
1 file changed, 33 insertions(+), 1 deletion(-)
diff --git a/include/d2d1_1.idl b/include/d2d1_1.idl
index 64bd5fb53f4..d9671fab256 100644
--- a/include/d2d1_1.idl
+++ b/include/d2d1_1.idl
@@ -28,7 +28,6 @@ interface IWICImagingFactory;
interface IWICColorContext;
interface ID2D1ColorContext;
interface ID2D1Effect;
-interface ID2D1ImageBrush;
interface ID2D1BitmapBrush1;
cpp_quote("#ifndef __dwrite_h__")
@@ -677,6 +676,39 @@ interface ID2D1PrintControl : IUnknown
HRESULT Close();
}
+[
+ object,
+ uuid(fe9e984d-3f95-407c-b5db-cb94d4e8f87c),
+ local,
+]
+interface ID2D1ImageBrush : ID2D1Brush
+{
+ void SetImage(
+ [in] ID2D1Image *image
+ );
+ void SetExtendModeX(
+ [in] D2D1_EXTEND_MODE extend_mode
+ );
+ void SetExtendModeY(
+ [in] D2D1_EXTEND_MODE extend_mode
+ );
+ void SetInterpolationMode(
+ [in] D2D1_INTERPOLATION_MODE interpolation_mode
+ );
+ void SetSourceRectangle(
+ [in] const D2D1_RECT_F *rect
+ );
+ void GetImage(
+ [out] ID2D1Image **image
+ );
+ D2D1_EXTEND_MODE GetExtendModeX();
+ D2D1_EXTEND_MODE GetExtendModeY();
+ D2D1_INTERPOLATION_MODE GetInterpolationMode();
+ void GetSourceRectangle(
+ [out] D2D1_RECT_F *rect
+ );
+}
+
[
object,
uuid(e8f7fe7a-191c-466d-ad95-975678bda998),
More information about the wine-cvs
mailing list