gdiplus: Implement partially transparent solid fill brushes.
[wine] / dlls / d3dx8 / d3dx8_private.h
1 /*
2  * Direct3D X 8 private include file
3  *
4  * Copyright 2002 Raphael Junqueira
5  * Copyright 2007 David Adam
6  *
7  * This library is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Lesser General Public
9  * License as published by the Free Software Foundation; either
10  * version 2.1 of the License, or (at your option) any later version.
11  *
12  * This library is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15  * Lesser General Public License for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public
18  * License along with this library; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
20  */
21
22 #ifndef __WINE_D3DX8_PRIVATE_H
23 #define __WINE_D3DX8_PRIVATE_H
24
25 #include <stdarg.h>
26
27 #include "windef.h"
28 #include "winbase.h"
29 #include "d3dx8.h"
30
31 /* Interfaces */
32 typedef struct ID3DXBufferImpl ID3DXBufferImpl;
33 typedef struct ID3DXFontImpl   ID3DXFontImpl;
34 typedef struct ID3DXMatrixStackImpl ID3DXMatrixStackImpl;
35
36 /* ----------- */
37 /* ID3DXBuffer */
38 /* ----------- */
39
40 /*****************************************************************************
41  * Predeclare the interface implementation structures
42  */
43 extern const ID3DXBufferVtbl D3DXBuffer_Vtbl;
44
45 /*****************************************************************************
46  * ID3DXBufferImpl implementation structure
47  */
48 struct ID3DXBufferImpl
49 {
50   /* IUnknown fields */
51   const ID3DXBufferVtbl *lpVtbl;
52   LONG           ref;
53
54   /* ID3DXBuffer fields */
55   DWORD         *buffer;
56   DWORD          bufferSize;
57 };
58
59 /* --------- */
60 /* ID3DXFont */
61 /* --------- */
62
63 /*****************************************************************************
64  * ID3DXFontImpl implementation structure
65  */
66 struct ID3DXFontImpl
67 {
68   /* IUnknown fields */
69   const ID3DXFontVtbl *lpVtbl;
70   LONG           ref;
71
72   /* ID3DXFont fields */
73 };
74
75 /* ----------- */
76 /* ID3DXMatrix */
77 /* ----------- */
78
79 /*****************************************************************************
80  * ID3DXMatrixStackImpl implementation structure
81  */
82 struct ID3DXMatrixStackImpl
83 {
84   /* IUnknown fields */
85   const ID3DXMatrixStackVtbl *lpVtbl;
86   LONG                   ref;
87
88   /* ID3DXMatrixStack fields */
89   unsigned int current;
90   unsigned int stack_size;
91   D3DXMATRIX *stack;
92 };
93
94 #endif /*__WINE_D3DX8_PRIVATE_H */