1 /************************************************************************/
2 /*									*/
3 /*  Play metafiles Windows/Mac						*/
4 /*									*/
5 /************************************************************************/
6 
7 #   include	<bitmap.h>
8 #   include	<sioGeneral.h>
9 #   include	<utilMatchFont.h>
10 
11 #   ifndef		DRAW_METAFILE_H
12 #   define		DRAW_METAFILE_H
13 
14 typedef struct MetafilePlayer
15     {
16     SimpleInputStream *		mpInputStream;
17     const PostScriptFontList *	mpPostScriptFontList;
18     GetFontForAttribute		mpGetFontForAttribute;
19 
20     int				mpMapMode;
21     int				mpXWinExt;
22     int				mpYWinExt;
23     int				mpPixelsWide;
24     int				mpPixelsHigh;
25     int				mpTwipsWide;
26     int				mpTwipsHigh;
27     } MetafilePlayer;
28 
29 /************************************************************************/
30 /*									*/
31 /*  Routine declarations.						*/
32 /*									*/
33 /************************************************************************/
34 
35 extern int appMetaPlayWmfImg(	BitmapDescription *		pBd,
36 				unsigned char **		pBuffer,
37 				SimpleInputStream *		sis );
38 
39 #   endif	/*	DRAW_METAFILE_H	*/
40