ReactOS
0.4.17-dev-934-g091855f
d2dbasetypes.h
Go to the documentation of this file.
1
/*
2
* Copyright 2013 Nikolay Sivov for CodeWeavers
3
*
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.
8
*
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.
13
*
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
17
*/
18
19
#ifndef _D2DBASETYPES_INCLUDED
20
#define _D2DBASETYPES_INCLUDED
21
22
#ifndef D3DCOLORVALUE_DEFINED
23
typedef
struct
D3DCOLORVALUE
24
{
25
float
r
;
26
float
g
;
27
float
b
;
28
float
a
;
29
}
D3DCOLORVALUE
;
30
#define D3DCOLORVALUE_DEFINED
31
#endif
32
33
typedef
D3DCOLORVALUE
D2D_COLOR_F
;
34
35
typedef
struct
D2D_SIZE_F
36
{
37
float
width
;
38
float
height
;
39
}
D2D_SIZE_F
;
40
41
typedef
struct
D2D_POINT_2U
42
{
43
UINT32
x
;
44
UINT32
y
;
45
}
D2D_POINT_2U
;
46
47
typedef
struct
D2D_RECT_U
48
{
49
UINT32
left
;
50
UINT32
top
;
51
UINT32
right
;
52
UINT32
bottom
;
53
}
D2D_RECT_U
;
54
55
#endif
/* _D2DBASETYPES_INCLUDED */
D2D_COLOR_F
D3DCOLORVALUE D2D_COLOR_F
Definition:
d2dbasetypes.h:33
D2D_POINT_2U
Definition:
d2dbasetypes.h:42
D2D_POINT_2U::y
UINT32 y
Definition:
d2dbasetypes.h:44
D2D_POINT_2U::x
UINT32 x
Definition:
d2dbasetypes.h:43
D2D_RECT_U
Definition:
d2dbasetypes.h:48
D2D_RECT_U::bottom
UINT32 bottom
Definition:
d2dbasetypes.h:52
D2D_RECT_U::top
UINT32 top
Definition:
d2dbasetypes.h:50
D2D_RECT_U::left
UINT32 left
Definition:
d2dbasetypes.h:49
D2D_RECT_U::right
UINT32 right
Definition:
d2dbasetypes.h:51
D2D_SIZE_F
Definition:
d2dbasetypes.h:36
D2D_SIZE_F::height
float height
Definition:
d2dbasetypes.h:38
D2D_SIZE_F::width
float width
Definition:
d2dbasetypes.h:37
D3DCOLORVALUE
Definition:
d2dbasetypes.h:24
D3DCOLORVALUE::g
float g
Definition:
d2dbasetypes.h:26
D3DCOLORVALUE::b
float b
Definition:
d2dbasetypes.h:27
D3DCOLORVALUE::r
float r
Definition:
d2dbasetypes.h:25
D3DCOLORVALUE::a
float a
Definition:
d2dbasetypes.h:28
UINT32
uint32_t UINT32
Definition:
typedefs.h:59
sdk
include
psdk
d2dbasetypes.h
Generated on Sat Sep 26 2026 06:19:54 for ReactOS by
1.9.6