From 7b52cc13af4e85f1ca2deb6b6c77de9c95ea0dcf Mon Sep 17 00:00:00 2001 From: scuri Date: Fri, 17 Oct 2008 06:10:33 +0000 Subject: First commit - moving from LuaForge to SourceForge --- include/cdpdf.h | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 include/cdpdf.h (limited to 'include/cdpdf.h') diff --git a/include/cdpdf.h b/include/cdpdf.h new file mode 100644 index 0000000..70d6df5 --- /dev/null +++ b/include/cdpdf.h @@ -0,0 +1,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_ */ + -- cgit v1.2.3