]> gitweb.factorcode.org Git - factor.git/blob - basis/windows/directx/d2dbasetypes/d2dbasetypes.factor
Fix missing vocab USINGs and mispelled d2dbasetypes
[factor.git] / basis / windows / directx / d2dbasetypes / d2dbasetypes.factor
1 USING: alien.syntax classes.struct windows.types ;
2 IN: windows.directx.d2dbasetypes
3
4 STRUCT: D3DCOLORVALUE
5     { r FLOAT } 
6     { g FLOAT }
7     { b FLOAT }
8     { a FLOAT } ;
9
10 STRUCT: D2D_POINT_2U
11     { x UINT32 }
12     { y UINT32 } ;
13
14 STRUCT: D2D_POINT_2F
15     { x FLOAT }
16     { y FLOAT } ;
17
18 STRUCT: D2D_RECT_F
19     { left   FLOAT }
20     { top    FLOAT }
21     { right  FLOAT }
22     { bottom FLOAT } ;
23
24 STRUCT: D2D_RECT_U
25     { left   UINT32 }
26     { top    UINT32 }
27     { right  UINT32 }
28     { bottom UINT32 } ;
29
30 STRUCT: D2D_SIZE_F
31     { width  FLOAT }
32     { height FLOAT } ;
33
34 STRUCT: D2D_SIZE_U
35     { width  UINT32 }
36     { height UINT32 } ;
37
38 TYPEDEF: D3DCOLORVALUE D2D_COLOR_F
39
40 STRUCT: D2D_MATRIX_3X2_F
41     { _11 FLOAT }
42     { _12 FLOAT }
43     { _21 FLOAT }
44     { _22 FLOAT }
45     { _31 FLOAT }
46     { _32 FLOAT } ;