1 module directx.d2dbasetypes;
2 //---------------------------------------------------------------------------
3 // Copyright (c) Microsoft Corporation.  All rights reserved.
4 //
5 // This file is automatically generated.  Please do not edit it directly.
6 //
7 // File name: D2DBaseTypes.h
8 //---------------------------------------------------------------------------
9 
10 public import directx.dxgitype;
11 public import directx.d3dcommon;
12 
13 //+-----------------------------------------------------------------------------
14 //
15 //  Struct:
16 //      D2D_POINT_2U
17 //
18 //------------------------------------------------------------------------------
19  struct D2D_POINT_2U
20 {
21     this(this) {}
22     UINT32 x;
23     UINT32 y;
24 }
25 
26 
27 //+-----------------------------------------------------------------------------
28 //
29 //  Struct:
30 //      D2D_POINT_2F
31 //
32 //------------------------------------------------------------------------------
33 struct D2D_POINT_2F
34 {
35     this(this) {}
36     FLOAT x;
37     FLOAT y;
38 }
39 
40 alias D2D_POINT_2L = POINT;
41 
42 //+-----------------------------------------------------------------------------
43 //
44 //  Struct:
45 //      D2D_VECTOR_2F
46 //
47 //------------------------------------------------------------------------------
48 struct D2D_VECTOR_2F
49 {
50     this(this) {}
51     FLOAT x;
52     FLOAT y;
53 }
54 
55 
56 //+-----------------------------------------------------------------------------
57 //
58 //  Struct:
59 //      D2D_VECTOR_3F
60 //
61 //------------------------------------------------------------------------------
62 struct D2D_VECTOR_3F
63 {
64     this(this) {}
65     FLOAT x;
66     FLOAT y;
67     FLOAT z;
68 }
69 
70 
71 //+-----------------------------------------------------------------------------
72 //
73 //  Struct:
74 //      D2D_VECTOR_4F
75 //
76 //------------------------------------------------------------------------------
77 struct D2D_VECTOR_4F
78 {
79     this(this) {}
80     FLOAT x;
81     FLOAT y;
82     FLOAT z;
83     FLOAT w;
84 }
85 
86 
87 //+-----------------------------------------------------------------------------
88 //
89 //  Struct:
90 //      D2D_RECT_F
91 //
92 //------------------------------------------------------------------------------
93 struct D2D_RECT_F
94 {
95     this(this) {}
96     FLOAT left;
97     FLOAT top;
98     FLOAT right;
99     FLOAT bottom;
100 }
101 
102 
103 //+-----------------------------------------------------------------------------
104 //
105 //  Struct:
106 //      D2D_RECT_U
107 //
108 //------------------------------------------------------------------------------
109 struct D2D_RECT_U
110 {
111     this(this) {}
112     UINT32 left;
113     UINT32 top;
114     UINT32 right;
115     UINT32 bottom;
116 
117 }
118 
119 alias D2D_RECT_L = RECT;
120 
121 //+-----------------------------------------------------------------------------
122 //
123 //  Struct:
124 //      D2D_SIZE_F
125 //
126 //------------------------------------------------------------------------------
127 struct D2D_SIZE_F
128 {
129     this(this) {}
130     FLOAT width;
131     FLOAT height;
132 }
133 
134 
135 //+-----------------------------------------------------------------------------
136 //
137 //  Struct:
138 //      D2D_SIZE_U
139 //
140 //------------------------------------------------------------------------------
141 struct D2D_SIZE_U
142 {
143     this(this) {}
144     UINT32 width;
145     UINT32 height;
146 }
147 
148 alias D2D_COLOR_F = D3DCOLORVALUE;
149 
150 //+-----------------------------------------------------------------------------
151 //
152 //  Struct:
153 //      D2D_MATRIX_3X2_F
154 //
155 //------------------------------------------------------------------------------
156 struct D2D_MATRIX_3X2_F
157 {
158     FLOAT _11;
159     FLOAT _12;
160     FLOAT _21;
161     FLOAT _22;
162     FLOAT _31;
163     FLOAT _32;
164 
165 }
166 
167 
168 //+-----------------------------------------------------------------------------
169 //
170 //  Struct:
171 //      D2D_MATRIX_4X3_F
172 //
173 //------------------------------------------------------------------------------
174 struct D2D_MATRIX_4X3_F
175 {
176     union
177     {
178         struct 
179         {
180             FLOAT _11, _12, _13;
181             FLOAT _21, _22, _23;
182             FLOAT _31, _32, _33;
183             FLOAT _41, _42, _43;
184         }
185         
186         FLOAT[4][3] m;
187     };
188 }
189 
190 
191 //+-----------------------------------------------------------------------------
192 //
193 //  Struct:
194 //      D2D_MATRIX_4X4_F
195 //
196 //------------------------------------------------------------------------------
197 struct D2D_MATRIX_4X4_F
198 {
199     
200     union
201     {
202         struct 
203         {
204             FLOAT _11, _12, _13, _14;
205             FLOAT _21, _22, _23, _24;
206             FLOAT _31, _32, _33, _34;
207             FLOAT _41, _42, _43, _44;
208         
209         }
210         
211         FLOAT[4][4] m;
212     }
213 }
214 
215 
216 //+-----------------------------------------------------------------------------
217 //
218 //  Struct:
219 //      D2D_MATRIX_5X4_F
220 //
221 //------------------------------------------------------------------------------
222 struct D2D_MATRIX_5X4_F
223 {    
224     union
225     {
226         struct 
227         {
228             FLOAT _11, _12, _13, _14;
229             FLOAT _21, _22, _23, _24;
230             FLOAT _31, _32, _33, _34;
231             FLOAT _41, _42, _43, _44;
232             FLOAT _51, _52, _53, _54;
233         
234         }
235    
236         FLOAT[5][4] m;
237     }
238 }