[PATCH 3/5] d2d1: Add the ID2D1TessellationSink interface.
Henri Verbeet
hverbeet at codeweavers.com
Mon May 12 02:34:02 CDT 2014
---
include/d2d1.idl | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/include/d2d1.idl b/include/d2d1.idl
index 76cb47f..b208f71 100644
--- a/include/d2d1.idl
+++ b/include/d2d1.idl
@@ -107,6 +107,13 @@ typedef struct D2D1_FACTORY_OPTIONS
D2D1_DEBUG_LEVEL debugLevel;
} D2D1_FACTORY_OPTIONS;
+typedef struct D2D1_TRIANGLE
+{
+ D2D1_POINT_2F point1;
+ D2D1_POINT_2F point2;
+ D2D1_POINT_2F point3;
+} D2D1_TRIANGLE;
+
interface ID2D1Factory;
[
@@ -158,5 +165,19 @@ interface ID2D1SimplifiedGeometrySink : IUnknown
HRESULT Close();
}
+[
+ local,
+ object,
+ uuid(2cd906c1-12e2-11dc-9fed-001143a055f9)
+]
+interface ID2D1TessellationSink : IUnknown
+{
+ void AddTriangles(
+ [in, size_is(count)] const D2D1_TRIANGLE *triangles,
+ [in] UINT32 count
+ );
+ HRESULT Close();
+}
+
[local] HRESULT __stdcall D2D1CreateFactory(D2D1_FACTORY_TYPE factory_type, REFIID iid,
const D2D1_FACTORY_OPTIONS *factory_options, void **factory);
--
1.7.10.4
More information about the wine-patches
mailing list