summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorSterling Hughes <sterling@php.net>2001-05-18 20:52:40 +0000
committerSterling Hughes <sterling@php.net>2001-05-18 20:52:40 +0000
commit3c8140d97bb476bf98b122026baf0b83b72fed4d (patch)
treea2fb97ec98ce9772966d375cef124487e7b8afc0 /ext
parent8f97b4d62fd82e14f715178e3a7e6c29aee18d0e (diff)
downloadphp-git-3c8140d97bb476bf98b122026baf0b83b72fed4d.tar.gz
@ Added the IMG_ARC_ROUNDED option for the ImageFilledArc() function, which
@ specified that the drawn curve should be rounded. (Sterling)
Diffstat (limited to 'ext')
-rw-r--r--ext/gd/gd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/gd/gd.c b/ext/gd/gd.c
index 72578e5a5a..df599adb6a 100644
--- a/ext/gd/gd.c
+++ b/ext/gd/gd.c
@@ -239,6 +239,7 @@ PHP_MINIT_FUNCTION(gd)
#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);