summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/xetexdir/pdfimage.h
blob: b2a77d9f311d6dfba480ba712132a612ab14ce4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/****************************************************************************\
 Part of the XeTeX typesetting system
 copyright (c) 2006 by SIL International
 written by Jonathan Kew

 This software is distributed under the terms of the Common Public License,
 version 1.0.
 For details, see <http://www.opensource.org/licenses/cpl1.0.php> or the file
 cpl1.0.txt included with the software.
\****************************************************************************/

#ifndef __PDF_IMAGE_H__
#define __PDF_IMAGE_H__

#include "trans.h"

#ifdef __cplusplus
extern "C" {
#endif

extern int pdf_get_rect(char* filename, int page_num, int pdf_box, realrect* box);

extern int pdf_count_pages(char* filename);

#ifdef __cplusplus
};
#endif

#endif