Henri Verbeet : d2d1: Add the ID2D1LinearGradientBrush interface.
Alexandre Julliard
julliard at winehq.org
Thu May 15 15:14:29 CDT 2014
Module: wine
Branch: master
Commit: 04af7227da3ba5f0380bb746151861bb9f61864b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=04af7227da3ba5f0380bb746151861bb9f61864b
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Thu May 15 10:15:35 2014 +0200
d2d1: Add the ID2D1LinearGradientBrush interface.
---
include/d2d1.idl | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/include/d2d1.idl b/include/d2d1.idl
index 21af6a7..3a7901f 100644
--- a/include/d2d1.idl
+++ b/include/d2d1.idl
@@ -659,5 +659,25 @@ interface ID2D1GradientStopCollection : ID2D1Resource
D2D1_EXTEND_MODE GetExtendMode();
}
+[
+ local,
+ object,
+ uuid(2cd906ab-12e2-11dc-9fed-001143a055f9)
+]
+interface ID2D1LinearGradientBrush : ID2D1Brush
+{
+ void SetStartPoint(
+ [in] D2D1_POINT_2F start_point
+ );
+ void SetEndPoint(
+ [in] D2D1_POINT_2F end_point
+ );
+ D2D1_POINT_2F GetStartPoint();
+ D2D1_POINT_2F GetEndPoint();
+ 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