summaryrefslogtreecommitdiff
path: root/ext/pdf/php_pdf.h
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>1999-12-04 19:19:57 +0000
committerSascha Schumann <sas@php.net>1999-12-04 19:19:57 +0000
commit5b983c944f66b55192c901ce3fa38fcce6ca21e3 (patch)
tree89c7d57484170f274eba416495d88e02be541e6f /ext/pdf/php_pdf.h
parent83ce7c13d1a7f21b4bd7dd0b5ce4f4d6764d7e52 (diff)
downloadphp-git-5b983c944f66b55192c901ce3fa38fcce6ca21e3.tar.gz
Clean up php3.*\.h files. The files itself are renamed, and references in all
.*\.[ch] files were changed. There is a slight chance that my script missed a few changes, please correct them manually.
Diffstat (limited to 'ext/pdf/php_pdf.h')
-rw-r--r--ext/pdf/php_pdf.h125
1 files changed, 125 insertions, 0 deletions
diff --git a/ext/pdf/php_pdf.h b/ext/pdf/php_pdf.h
new file mode 100644
index 0000000000..9ca3c0ae5e
--- /dev/null
+++ b/ext/pdf/php_pdf.h
@@ -0,0 +1,125 @@
+/*
+ +----------------------------------------------------------------------+
+ | PHP HTML Embedded Scripting Language Version 3.0 |
+ +----------------------------------------------------------------------+
+ | Copyright (c) 1997-1999 PHP Development Team (See Credits file) |
+ +----------------------------------------------------------------------+
+ | This program is free software; you can redistribute it and/or modify |
+ | it under the terms of one of the following licenses: |
+ | |
+ | A) the GNU General Public License as published by the Free Software |
+ | Foundation; either version 2 of the License, or (at your option) |
+ | any later version. |
+ | |
+ | B) the PHP License as published by the PHP Development Team and |
+ | included in the distribution in the file: LICENSE |
+ | |
+ | This program is distributed in the hope that it will be useful, |
+ | but WITHOUT ANY WARRANTY; without even the implied warranty of |
+ | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
+ | GNU General Public License for more details. |
+ | |
+ | You should have received a copy of both licenses referred to here. |
+ | If you did not, or have any questions about PHP licensing, please |
+ | contact core@php.net. |
+ +----------------------------------------------------------------------+
+ | Authors: Uwe Steinmann |
+ +----------------------------------------------------------------------+
+ */
+/* $Id$ */
+
+#ifndef _PHP_PDF_H
+#define _PHP_PDF_H
+
+#if HAVE_PDFLIB
+
+#include <pdflib.h>
+
+extern int le_fp;
+
+extern php3_module_entry pdf_module_entry;
+#define pdf_module_ptr &pdf_module_entry
+
+extern PHP_MINFO_FUNCTION(pdf);
+extern PHP_MINIT_FUNCTION(pdf);
+extern PHP_MSHUTDOWN_FUNCTION(pdf);
+PHP_FUNCTION(pdf_set_info_creator);
+PHP_FUNCTION(pdf_set_info_title);
+PHP_FUNCTION(pdf_set_info_subject);
+PHP_FUNCTION(pdf_set_info_author);
+PHP_FUNCTION(pdf_set_info_keywords);
+PHP_FUNCTION(pdf_open);
+PHP_FUNCTION(pdf_close);
+PHP_FUNCTION(pdf_begin_page);
+PHP_FUNCTION(pdf_end_page);
+PHP_FUNCTION(pdf_show);
+PHP_FUNCTION(pdf_show_xy);
+PHP_FUNCTION(pdf_set_font);
+PHP_FUNCTION(pdf_get_font);
+PHP_FUNCTION(pdf_get_fontname);
+PHP_FUNCTION(pdf_get_fontsize);
+PHP_FUNCTION(pdf_set_leading);
+PHP_FUNCTION(pdf_set_text_rendering);
+PHP_FUNCTION(pdf_set_horiz_scaling);
+PHP_FUNCTION(pdf_set_text_rise);
+PHP_FUNCTION(pdf_set_text_matrix);
+PHP_FUNCTION(pdf_set_text_pos);
+PHP_FUNCTION(pdf_set_char_spacing);
+PHP_FUNCTION(pdf_set_word_spacing);
+PHP_FUNCTION(pdf_continue_text);
+PHP_FUNCTION(pdf_stringwidth);
+PHP_FUNCTION(pdf_save);
+PHP_FUNCTION(pdf_restore);
+PHP_FUNCTION(pdf_translate);
+PHP_FUNCTION(pdf_scale);
+PHP_FUNCTION(pdf_rotate);
+PHP_FUNCTION(pdf_setflat);
+PHP_FUNCTION(pdf_setlinejoin);
+PHP_FUNCTION(pdf_setlinecap);
+PHP_FUNCTION(pdf_setmiterlimit);
+PHP_FUNCTION(pdf_setlinewidth);
+PHP_FUNCTION(pdf_setdash);
+PHP_FUNCTION(pdf_moveto);
+PHP_FUNCTION(pdf_curveto);
+PHP_FUNCTION(pdf_lineto);
+PHP_FUNCTION(pdf_circle);
+PHP_FUNCTION(pdf_arc);
+PHP_FUNCTION(pdf_rect);
+PHP_FUNCTION(pdf_closepath);
+PHP_FUNCTION(pdf_closepath_stroke);
+PHP_FUNCTION(pdf_stroke);
+PHP_FUNCTION(pdf_fill);
+PHP_FUNCTION(pdf_fill_stroke);
+PHP_FUNCTION(pdf_closepath_fill_stroke);
+PHP_FUNCTION(pdf_endpath);
+PHP_FUNCTION(pdf_clip);
+PHP_FUNCTION(pdf_setgray_fill);
+PHP_FUNCTION(pdf_setgray_stroke);
+PHP_FUNCTION(pdf_setgray);
+PHP_FUNCTION(pdf_setrgbcolor_fill);
+PHP_FUNCTION(pdf_setrgbcolor_stroke);
+PHP_FUNCTION(pdf_setrgbcolor);
+PHP_FUNCTION(pdf_add_outline);
+PHP_FUNCTION(pdf_set_transition);
+PHP_FUNCTION(pdf_set_duration);
+PHP_FUNCTION(pdf_open_jpeg);
+#if HAVE_LIBGD13
+PHP_FUNCTION(pdf_open_memory_image);
+#endif
+PHP_FUNCTION(pdf_open_gif);
+PHP_FUNCTION(pdf_close_image);
+PHP_FUNCTION(pdf_place_image);
+PHP_FUNCTION(pdf_put_image);
+PHP_FUNCTION(pdf_execute_image);
+PHP_FUNCTION(pdf_add_weblink);
+PHP_FUNCTION(pdf_add_pdflink);
+PHP_FUNCTION(pdf_add_annotation);
+PHP_FUNCTION(pdf_set_border_style);
+PHP_FUNCTION(pdf_set_border_color);
+PHP_FUNCTION(pdf_get_image_width);
+PHP_FUNCTION(pdf_get_image_height);
+#else
+#define pdf_module_ptr NULL
+#endif
+#define phpext_pdf_ptr pdf_module_ptr
+#endif /* _PHP_PDF_H */