mfplat: Read queue subscriber within the critical section.
[wine/zf.git] / include / d2dbasetypes.h
blob93c99fcceb0d362b12fa79e021004e844528b9dc
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 _D2DBASETYPES_INCLUDED
20 #define _D2DBASETYPES_INCLUDED
22 #ifndef D3DCOLORVALUE_DEFINED
23 typedef struct D3DCOLORVALUE
25 float r;
26 float g;
27 float b;
28 float a;
29 } D3DCOLORVALUE;
30 #define D3DCOLORVALUE_DEFINED
31 #endif
33 typedef D3DCOLORVALUE D2D_COLOR_F;
35 typedef struct D2D_RECT_F
37 float left;
38 float top;
39 float right;
40 float bottom;
41 } D2D_RECT_F;
43 typedef struct D2D_SIZE_F
45 float width;
46 float height;
47 } D2D_SIZE_F;
49 typedef struct D2D_POINT_2U
51 UINT32 x;
52 UINT32 y;
53 } D2D_POINT_2U;
55 typedef struct D2D_RECT_U
57 UINT32 left;
58 UINT32 top;
59 UINT32 right;
60 UINT32 bottom;
61 } D2D_RECT_U;
63 #endif /* _D2DBASETYPES_INCLUDED */