gdi32: Read otmpFullName from TT_NAME_ID_UNIQUE_ID.
[wine] / include / d3dx9shape.h
1 /*
2  * Copyright 2010 Christian Costa
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 #include "d3dx9.h"
20
21 #ifndef __D3DX9SHAPE_H__
22 #define __D3DX9SHAPE_H__
23
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
27
28 HRESULT WINAPI D3DXCreateBox(LPDIRECT3DDEVICE9 device,
29                              FLOAT width,
30                              FLOAT height,
31                              FLOAT depth,
32                              LPD3DXMESH* mesh,
33                              LPD3DXBUFFER* adjacency);
34
35 HRESULT WINAPI D3DXCreateSphere(LPDIRECT3DDEVICE9 device,
36                                 FLOAT radius,
37                                 UINT slices,
38                                 UINT stacks,
39                                 LPD3DXMESH* mesh,
40                                 LPD3DXBUFFER* adjacency);
41
42 HRESULT WINAPI D3DXCreateCylinder(LPDIRECT3DDEVICE9 device,
43                                   FLOAT radius1,
44                                   FLOAT radius2,
45                                   FLOAT length,
46                                   UINT slices,
47                                   UINT stacks,
48                                   LPD3DXMESH *mesh,
49                                   LPD3DXBUFFER *adjacency);
50
51 HRESULT WINAPI D3DXCreateTeapot(LPDIRECT3DDEVICE9 device,
52                                 LPD3DXMESH *mesh,
53                                 LPD3DXBUFFER *adjacency);
54
55 HRESULT WINAPI D3DXCreateTextA(LPDIRECT3DDEVICE9 device,
56                                HDC hdc,
57                                LPCSTR text,
58                                FLOAT deviation,
59                                FLOAT extrusion,
60                                LPD3DXMESH *mesh,
61                                LPD3DXBUFFER *adjacency,
62                                LPGLYPHMETRICSFLOAT glyphmetrics);
63
64 HRESULT WINAPI D3DXCreateTextW(LPDIRECT3DDEVICE9 device,
65                                HDC hdc,
66                                LPCWSTR text,
67                                FLOAT deviation,
68                                FLOAT extrusion,
69                                LPD3DXMESH *mesh,
70                                LPD3DXBUFFER *adjacency,
71                                LPGLYPHMETRICSFLOAT glyphmetrics);
72 #define D3DXCreateText WINELIB_NAME_AW(D3DXCreateText)
73
74 #ifdef __cplusplus
75 }
76 #endif
77
78 #endif /* __D3DX9SHAPE_H__ */