CVS update: php3/functions
| From: | steinm | Date: | Wed, 26 May 1999 19:40:30 +0000 |
| Subject: | CVS update: php3/functions | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-6037@lists.php.net to get a copy of this message | ||
Date: Wednesday May 26, 1999 @ 15:40
Author: steinm
Update of /repository/php3/functions
In directory php:/tmp/cvs-serv18297
Modified Files:
cpdf.c
Log Message:
- some bugfixes
Index: php3/functions/cpdf.c
diff -u php3/functions/cpdf.c:1.4 php3/functions/cpdf.c:1.5
--- php3/functions/cpdf.c:1.4 Wed May 26 15:03:32 1999
+++ php3/functions/cpdf.c Wed May 26 15:40:29 1999
@@ -27,7 +27,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: cpdf.c,v 1.4 1999/05/26 19:03:32 steinm Exp $ */
+/* $Id: cpdf.c,v 1.5 1999/05/26 19:40:29 steinm Exp $ */
/* cpdflib.h -- C language API definitions for ClibPDF library
* Copyright (C) 1998 FastIO Systems, All Rights Reserved.
*/
@@ -376,7 +376,6 @@
convert_to_long(argv[2]);
convert_to_long(argv[3]);
convert_to_long(argv[4]);
- convert_to_long(argv[5]);
id=argv[0]->value.lval;
pagenr=argv[1]->value.lval;
orientation=argv[2]->value.lval;
@@ -566,7 +565,7 @@
if(mode == 1)
cpdf_rawText((float) argv[2]->value.dval, (float) argv[3]->value.dval, 0.0,
argv[1]->value.str.val);
else
- cpdf_Text((float) argv[2]->value.dval, (float) argv[3]->value.dval, 0.0,
argv[1]->value.str.val);
+ cpdf_text((float) argv[2]->value.dval, (float) argv[3]->value.dval, 0.0,
argv[1]->value.str.val);
RETURN_TRUE;
}
@@ -631,7 +630,7 @@
case 4:
convert_to_double(argv[2]);
convert_to_double(argv[3]);
- cpdf_Text((float) argv[2]->value.dval,
+ cpdf_text((float) argv[2]->value.dval,
(float) argv[3]->value.dval,
0.0,
argv[1]->value.str.val);
@@ -646,7 +645,7 @@
(float) argv[4]->value.dval,
argv[1]->value.str.val);
else
- cpdf_Text((float) argv[2]->value.dval,
+ cpdf_text((float) argv[2]->value.dval,
(float) argv[3]->value.dval,
(float) argv[4]->value.dval,
argv[1]->value.str.val);
@@ -663,7 +662,7 @@
(float) argv[5]->value.dval,
argv[1]->value.str.val);
else
- cpdf_TextAligned((float) argv[2]->value.dval,
+ cpdf_textAligned((float) argv[2]->value.dval,
(float) argv[3]->value.dval,
(float) argv[4]->value.dval,
(float) argv[5]->value.dval,
@@ -911,7 +910,7 @@
if(mode == 1)
cpdf_rawSetTextPosition((float) argv[1]->value.dval, (float) argv[2]->value.dval);
else
- cpdf_SetTextPosition((float) argv[1]->value.dval, (float) argv[2]->value.dval);
+ cpdf_setTextPosition((float) argv[1]->value.dval, (float) argv[2]->value.dval);
RETURN_TRUE;
}
--
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