CVS update: php3/functions
| From: | steinm | Date: | Fri, 08 Jan 1999 13:42:03 +0000 |
| Subject: | CVS update: php3/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-3399@lists.php.net to get a copy of this message | ||
Date: Friday January 8, 1999 @ 8:42
Author: steinm
Update of /repository/php3/functions
In directory asf:/u/temp/cvs-serv28563/functions
Modified Files:
pdf.c php3_pdf.h
Log Message:
- added pdf_open_gif()
- documented problem with pdf_close()
Index: php3/functions/pdf.c
diff -c php3/functions/pdf.c:1.19 php3/functions/pdf.c:1.20
*** php3/functions/pdf.c:1.19 Thu Jan 7 10:51:48 1999
--- php3/functions/pdf.c Fri Jan 8 08:42:03 1999
***************
*** 27,33 ****
+----------------------------------------------------------------------+
*/
! /* $Id: pdf.c,v 1.19 1999/01/07 15:51:48 steinm Exp $ */
/* pdflib 0.6 is subject to the ALADDIN FREE PUBLIC LICENSE.
Copyright (C) 1997 Thomas Merz. */
--- 27,33 ----
+----------------------------------------------------------------------+
*/
! /* $Id: pdf.c,v 1.20 1999/01/08 13:42:03 steinm Exp $ */
/* pdflib 0.6 is subject to the ALADDIN FREE PUBLIC LICENSE.
Copyright (C) 1997 Thomas Merz. */
***************
*** 138,143 ****
--- 138,144 ----
{"pdf_set_transition", php3_pdf_set_transition, NULL},
{"pdf_set_duration", php3_pdf_set_duration, NULL},
{"pdf_open_jpeg", php3_pdf_open_jpeg, NULL},
+ {"pdf_open_gif", php3_pdf_open_gif, NULL},
{"pdf_close_image", php3_pdf_close_image, NULL},
{"pdf_place_image", php3_pdf_place_image, NULL},
{NULL, NULL, NULL}
***************
*** 1804,1811 ****
/* }}} */
/* {{{ proto int pdf_open_jpeg(void)
! Returns a default info structure for a pdf document */
! void php3_pdf_open_jpeg(INTERNAL_FUNCTION_PARAMETERS) {
pval *arg1, *arg2;
int id, type;
PDF_image *pdf_image;
--- 1805,1812 ----
/* }}} */
/* {{{ proto int pdf_open_jpeg(void)
! Returns an image for placement in a pdf document */
! void php3_pdf_open_gif(INTERNAL_FUNCTION_PARAMETERS) {
pval *arg1, *arg2;
int id, type;
PDF_image *pdf_image;
***************
*** 1825,1831 ****
RETURN_FALSE;
}
! pdf_image = PDF_open_JPEG(pdf, arg2->value.str.val);
if(!pdf_image) {
php3_error(E_WARNING, "Could not open image");
--- 1826,1832 ----
RETURN_FALSE;
}
! pdf_image = PDF_open_GIF(pdf, arg2->value.str.val);
if(!pdf_image) {
php3_error(E_WARNING, "Could not open image");
Index: php3/functions/php3_pdf.h
diff -c php3/functions/php3_pdf.h:1.6 php3/functions/php3_pdf.h:1.7
*** php3/functions/php3_pdf.h:1.6 Wed Jan 6 09:26:07 1999
--- php3/functions/php3_pdf.h Fri Jan 8 08:42:03 1999
***************
*** 26,32 ****
| Authors: Uwe Steinmann |
+----------------------------------------------------------------------+
*/
! /* $Id: php3_pdf.h,v 1.6 1999/01/06 14:26:07 steinm Exp $ */
#ifndef _PHP3_PDF_H
#define _PHP3_PDF_H
--- 26,32 ----
| Authors: Uwe Steinmann |
+----------------------------------------------------------------------+
*/
! /* $Id: php3_pdf.h,v 1.7 1999/01/08 13:42:03 steinm Exp $ */
#ifndef _PHP3_PDF_H
#define _PHP3_PDF_H
***************
*** 101,106 ****
--- 101,107 ----
extern void php3_pdf_set_transition(INTERNAL_FUNCTION_PARAMETERS);
extern void php3_pdf_set_duration(INTERNAL_FUNCTION_PARAMETERS);
extern void php3_pdf_open_jpeg(INTERNAL_FUNCTION_PARAMETERS);
+ extern void php3_pdf_open_gif(INTERNAL_FUNCTION_PARAMETERS);
extern void php3_pdf_close_image(INTERNAL_FUNCTION_PARAMETERS);
extern void php3_pdf_place_image(INTERNAL_FUNCTION_PARAMETERS);
#else
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net