user32: Fix LoadStringA behavior on 1-character long buffer.
[wine.git] / include / d2dbasetypes.h
blob61158ac98b059e6df8a5a2b7aec775367b8748eb
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 typedef struct D2D_POINT_2F
21 FLOAT x;
22 FLOAT y;
23 } D2D_POINT_2F;
25 typedef struct D2D_MATRIX_3X2_F
27 float _11;
28 float _12;
29 float _21;
30 float _22;
31 float _31;
32 float _32;
33 } D2D_MATRIX_3X2_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_SIZE_U
51 UINT32 width;
52 UINT32 height;
53 } D2D_SIZE_U;
55 typedef struct D2D_POINT_2U
57 UINT32 x;
58 UINT32 y;
59 } D2D_POINT_2U;
61 typedef struct D2D_RECT_U
63 UINT32 left;
64 UINT32 top;
65 UINT32 right;
66 UINT32 bottom;
67 } D2D_RECT_U;