libemf 1.0.9
emf.h
1/*
2 * EMF: A library for generating ECMA-234 Enhanced Metafiles
3 * Copyright (C) 2002 lignum Computing, Inc. <dallenbarnett@users.sourceforge.net>
4 * $Id: emf.h 93 2020-04-18 13:30:11Z dallenbarnett $
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 *
20 */
21#ifndef _EMF_H
22#define _EMF_H
23
24#include <stdio.h>
25#include <string.h>
26
27#include <libEMF/wine/windef.h>
28#include <libEMF/wine/winbase.h>
29#include <libEMF/wine/wingdi.h>
30#include <libEMF/wine/winuser.h>
31#include <libEMF/wine/winerror.h>
32
33#ifdef __cplusplus
34extern "C" {
35#endif
36/*
37 * Here are additional, non-"standard" routines which the author deems useful.
38 */
39HDC CreateEnhMetaFileWithFILEA( HDC context, FILE* fp, const RECT* size,
40 LPCSTR description );
41HDC CreateEnhMetaFileWithFILEW( HDC context, FILE* fp, const RECT* size,
42 LPCWSTR description );
43HENHMETAFILE CloseEnhMetaFileWithFILE( HDC context );
44/*
45 * This function will only produce output if the library has been compiled with
46 * editing enabled (e.g., ./configure --enable-editing).
47 */
48void WINAPI EditEnhMetaFile ( HENHMETAFILE metafile );
49#ifdef __cplusplus
50}
51#endif
52
53#endif /* _EMF_H */