| 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 _EPDF_H_ |
| 24 |
#define _EPDF_H_ |
| 25 |
|
| 26 |
#include "mfileio.h" |
| 27 |
#include "pdfximage.h" |
| 28 |
|
| 29 |
#define pdfbox_crop 1 |
| 30 |
#define pdfbox_media 2 |
| 31 |
#define pdfbox_bleed 3 |
| 32 |
#define pdfbox_trim 4 |
| 33 |
#define pdfbox_art 5 |
| 34 |
|
| 35 |
extern int pdf_copy_clip (FILE *image_file, int page_index, |
| 36 |
double x_user, double y_user); |
| 37 |
|
| 38 |
extern int pdf_include_page (pdf_ximage * ximage, FILE *file, |
| 39 |
const char *ident, load_options options); |
| 40 |
|
| 41 |
#endif /* _EPDF_H_ */ |