Debian Codegraph @

texk/dvipdfm-x/mpost.h

raw
1 /* This is dvipdfmx, an eXtended version of dvipdfm by Mark A. Wicks.
2
3 Copyright (C) 2002-2020 by Jin-Hwan Cho and Shunsaku Hirata,
4 the dvipdfmx project team.
5
6 Copyright (C) 1998, 1999 by Mark A. Wicks <[email protected]>
7
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2 of the License, or
11 (at your option) any later version.
12
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
21 */
22
23 #ifndef _MPOST_H_
24 #define _MPOST_H_
25
26 #include "mfileio.h"
27 #include "pdfximage.h"
28 #include "pdfdev.h"
29
30 extern void mps_set_translate_origin (int boolean_value);
31
32 extern int mps_scan_bbox (const char **pp, const char *endptr, pdf_rect *bbox);
33
34 /* returns xobj_id */
35 extern int mps_include_page (const char *ident, FILE *fp);
36
37 extern int mps_exec_inline (const char **buffer, const char *endptr,
38 double x_user, double y_user);
39 extern int mps_stack_depth (void);
40
41 extern void mps_eop_cleanup (void);
42
43 extern int mps_do_page (FILE *fp);
44
45 #endif /* _MPOST_H_ */