winhttp: Ignore URL components if the buffer length is zero.
[wine.git] / include / d2dbasetypes.h
blobe5acff23da70133857f3e7ceb191232478314447
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_POINT_2F
34 FLOAT x;
35 FLOAT y;
36 } D2D_POINT_2F;
38 typedef struct D2D_MATRIX_3X2_F
40 float _11;
41 float _12;
42 float _21;
43 float _22;
44 float _31;
45 float _32;
46 } D2D_MATRIX_3X2_F;
48 typedef struct D2D_RECT_F
50 float left;
51 float top;
52 float right;
53 float bottom;
54 } D2D_RECT_F;
56 typedef struct D2D_SIZE_F
58 float width;
59 float height;
60 } D2D_SIZE_F;
62 typedef struct D2D_SIZE_U
64 UINT32 width;
65 UINT32 height;
66 } D2D_SIZE_U;
68 typedef struct D2D_POINT_2U
70 UINT32 x;
71 UINT32 y;
72 } D2D_POINT_2U;
74 typedef struct D2D_RECT_U
76 UINT32 left;
77 UINT32 top;
78 UINT32 right;
79 UINT32 bottom;
80 } D2D_RECT_U;