Henri Verbeet : d2d1: Add the ID2D1EllipseGeometry interface.

Alexandre Julliard julliard at winehq.org
Tue May 13 14:23:45 CDT 2014


Module: wine
Branch: master
Commit: 9807bdd7d22c370ada44c650ed7b86a457a684ed
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=9807bdd7d22c370ada44c650ed7b86a457a684ed

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Tue May 13 09:41:10 2014 +0200

d2d1: Add the ID2D1EllipseGeometry interface.

---

 include/d2d1.idl |   19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/include/d2d1.idl b/include/d2d1.idl
index 2e84614..4860cf5 100644
--- a/include/d2d1.idl
+++ b/include/d2d1.idl
@@ -149,6 +149,13 @@ typedef struct D2D1_ROUNDED_RECT
     float radiusY;
 } D2D1_ROUNDED_RECT;
 
+typedef struct D2D1_ELLIPSE
+{
+    D2D1_POINT_2F point;
+    float radiusX;
+    float radiusY;
+} D2D1_ELLIPSE;
+
 interface ID2D1Factory;
 
 [
@@ -325,5 +332,17 @@ interface ID2D1RoundedRectangleGeometry : ID2D1Geometry
     );
 }
 
+[
+    local,
+    object,
+    uuid(2cd906a4-12e2-11dc-9fed-001143a055f9)
+]
+interface ID2D1EllipseGeometry : ID2D1Geometry
+{
+    void GetEllipse(
+        [out] D2D1_ELLIPSE *ellipse
+    );
+}
+
 [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