Commit a4677f86 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

d2d1: Add the ID2D1SolidColorBrush interface.

parent d156bf03
......@@ -32,6 +32,7 @@ typedef UINT64 D2D1_TAG;
typedef D2D_SIZE_U D2D1_SIZE_U;
typedef D2D_POINT_2U D2D1_POINT_2U;
typedef D2D_RECT_U D2D1_RECT_U;
typedef D2D_COLOR_F D2D1_COLOR_F;
enum
{
......@@ -616,5 +617,18 @@ interface ID2D1BitmapBrush : ID2D1Brush
);
}
[
local,
object,
uuid(2cd906a9-12e2-11dc-9fed-001143a055f9)
]
interface ID2D1SolidColorBrush : ID2D1Brush
{
void SetColor(
[in] const D2D1_COLOR_F *color
);
D2D1_COLOR_F GetColor();
}
[local] HRESULT __stdcall D2D1CreateFactory(D2D1_FACTORY_TYPE factory_type, REFIID iid,
const D2D1_FACTORY_OPTIONS *factory_options, void **factory);
......@@ -16,6 +16,19 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef D3DCOLORVALUE_DEFINED
typedef struct D3DCOLORVALUE
{
float r;
float g;
float b;
float a;
} D3DCOLORVALUE;
#define D3DCOLORVALUE_DEFINED
#endif
typedef D3DCOLORVALUE D2D_COLOR_F;
typedef struct D2D_POINT_2F
{
FLOAT x;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment