OSDN Git Service

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