cvs: php4 /ext/gd gd.c
| From: | Sterling Hughes | Date: | Fri, 18 May 2001 20:52:40 +0000 |
| Subject: | cvs: php4 /ext/gd gd.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-5825@lists.php.net to get a copy of this message | ||
sterling Fri May 18 13:52:40 2001 EDT
Modified files:
/php4/ext/gd gd.c
Log:
@ Added the IMG_ARC_ROUNDED option for the ImageFilledArc() function, which
@ specified that the drawn curve should be rounded. (Sterling)
Index: php4/ext/gd/gd.c
diff -u php4/ext/gd/gd.c:1.125 php4/ext/gd/gd.c:1.126
--- php4/ext/gd/gd.c:1.125 Fri May 18 13:37:21 2001
+++ php4/ext/gd/gd.c Fri May 18 13:52:40 2001
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: gd.c,v 1.125 2001/05/18 20:37:21 sterling Exp $ */
+/* $Id: gd.c,v 1.126 2001/05/18 20:52:40 sterling Exp $ */
/* gd 1.2 is copyright 1994, 1995, Quest Protein Database Center,
Cold Spring Harbor Labs. */
@@ -239,6 +239,7 @@
#endif
#if HAVE_LIBGD20
/* for imagefilledarc */
+ REGISTER_LONG_CONSTANT("IMG_ARC_ROUNDED", gdArc, CONST_CS | CONST_PERSISTENT);
REGISTER_LONG_CONSTANT("IMG_ARC_PIE", gdPie, CONST_CS | CONST_PERSISTENT);
REGISTER_LONG_CONSTANT("IMG_ARC_CHORD", gdChord, CONST_CS | CONST_PERSISTENT);
REGISTER_LONG_CONSTANT("IMG_ARC_NOFILL", gdNoFill, CONST_CS | CONST_PERSISTENT);