Line | |
---|
1 | /* $Id: metafile.h,v 1.2 2001-09-09 12:23:31 sandervl Exp $ */
|
---|
2 |
|
---|
3 | /*
|
---|
4 | * Metafile definitions
|
---|
5 | *
|
---|
6 | * Copyright David W. Metcalfe, 1994
|
---|
7 | */
|
---|
8 |
|
---|
9 | #ifndef __WINE_METAFILE_H
|
---|
10 | #define __WINE_METAFILE_H
|
---|
11 |
|
---|
12 | #include "wingdi.h"
|
---|
13 | #include "gdi.h"
|
---|
14 |
|
---|
15 | /* GDI32 metafile object */
|
---|
16 | typedef struct
|
---|
17 | {
|
---|
18 | GDIOBJHDR header;
|
---|
19 | METAHEADER *mh;
|
---|
20 | } METAFILEOBJ;
|
---|
21 |
|
---|
22 | #define META_EOF 0x0000
|
---|
23 |
|
---|
24 |
|
---|
25 | /* values of mtType in METAHEADER. Note however that the disk image of a disk
|
---|
26 | based metafile has mtType == 1 */
|
---|
27 | #define METAFILE_MEMORY 1
|
---|
28 | #define METAFILE_DISK 2
|
---|
29 |
|
---|
30 | extern HMETAFILE MF_Create_HMETAFILE(METAHEADER *mh);
|
---|
31 | extern HMETAFILE16 MF_Create_HMETAFILE16(METAHEADER *mh);
|
---|
32 | extern METAHEADER *MF_CreateMetaHeaderDisk(METAHEADER *mr, LPCSTR filename);
|
---|
33 |
|
---|
34 | #endif /* __WINE_METAFILE_H */
|
---|
35 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.