summaryrefslogtreecommitdiff
path: root/cd/include/cdpdf.h
blob: 70d6df57c65aa43a3fab5ce80cb7ad22cf314bf5 (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
30
31
32
33
34
35
36
37
38
/** \file
 * \brief PDF driver
 *
 * See Copyright Notice in cd.h
 */

#ifndef __CD_PDF_H
#define __CD_PDF_H

#ifdef __cplusplus
extern "C" {
#endif

cdContext* cdContextPDF(void);

#define CD_PDF cdContextPDF()
        
#ifndef CD_PAPERSIZE
#define CD_PAPERSIZE
enum {                          /* paper sizes */
  CD_A0,
  CD_A1,
  CD_A2,
  CD_A3,
  CD_A4,
  CD_A5,
  CD_LETTER,
  CD_LEGAL
};
#endif


#ifdef __cplusplus
}
#endif

#endif /* ifndef _CD_PDF_ */