From 7d30886296ef74e9e998effd872482b1d1874d40 Mon Sep 17 00:00:00 2001 From: Henri Verbeet Date: Fri, 16 May 2014 09:59:19 +0200 Subject: [PATCH] d2d1: Add the ID2D1RadialGradientBrush interface. --- include/d2d1.idl | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/include/d2d1.idl b/include/d2d1.idl index 3a7901f4a02..c96b67edd96 100644 --- a/include/d2d1.idl +++ b/include/d2d1.idl @@ -679,5 +679,33 @@ interface ID2D1LinearGradientBrush : ID2D1Brush ); } +[ + local, + object, + uuid(2cd906ac-12e2-11dc-9fed-001143a055f9) +] +interface ID2D1RadialGradientBrush : ID2D1Brush +{ + void SetCenter( + [in] D2D1_POINT_2F center + ); + void SetGradientOriginOffset( + [in] D2D1_POINT_2F offset + ); + void SetRadiusX( + [in] float radius + ); + void SetRadiusY( + [in] float radius + ); + D2D1_POINT_2F GetCenter(); + D2D1_POINT_2F GetGradientOriginOffset(); + float GetRadiusX(); + float GetRadiusY(); + void GetGradientStopCollection( + [out] ID2D1GradientStopCollection **gradient + ); +} + [local] HRESULT __stdcall D2D1CreateFactory(D2D1_FACTORY_TYPE factory_type, REFIID iid, const D2D1_FACTORY_OPTIONS *factory_options, void **factory);