mstask: Reimplement ITask constructor using ITaskFolder methods.
[wine.git] / include / d2dbasetypes.h
blobb231081647b5d7664b625138e671d570241a2d92
1 /*
2 * Copyright 2013 Nikolay Sivov for CodeWeavers
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifndef D3DCOLORVALUE_DEFINED
20 typedef struct D3DCOLORVALUE
22 float r;
23 float g;
24 float b;
25 float a;
26 } D3DCOLORVALUE;
27 #define D3DCOLORVALUE_DEFINED
28 #endif
30 typedef D3DCOLORVALUE D2D_COLOR_F;
32 typedef struct D2D_MATRIX_3X2_F
34 float _11;
35 float _12;
36 float _21;
37 float _22;
38 float _31;
39 float _32;
40 } D2D_MATRIX_3X2_F;
42 typedef struct D2D_RECT_F
44 float left;
45 float top;
46 float right;
47 float bottom;
48 } D2D_RECT_F;
50 typedef struct D2D_SIZE_F
52 float width;
53 float height;
54 } D2D_SIZE_F;
56 typedef struct D2D_POINT_2U
58 UINT32 x;
59 UINT32 y;
60 } D2D_POINT_2U;
62 typedef struct D2D_RECT_U
64 UINT32 left;
65 UINT32 top;
66 UINT32 right;
67 UINT32 bottom;
68 } D2D_RECT_U;