diff options
| author | Marcus Boerger <helly@php.net> | 2002-06-25 09:00:09 +0000 |
|---|---|---|
| committer | Marcus Boerger <helly@php.net> | 2002-06-25 09:00:09 +0000 |
| commit | 33b5d72f6cde827c42d516ffeefc672d7d3f3d05 (patch) | |
| tree | d5e66bb48fec4e692e431899af4d59359a5a1b86 /ext/gd/gd.c | |
| parent | ac52d75cd0955b28bee6adab07a1e84d4e41dbb8 (diff) | |
| download | php-git-33b5d72f6cde827c42d516ffeefc672d7d3f3d05.tar.gz | |
imageellipse is removed in 2.01
#maybe someone reintroduces this one in bundled lib?
Diffstat (limited to 'ext/gd/gd.c')
| -rw-r--r-- | ext/gd/gd.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/ext/gd/gd.c b/ext/gd/gd.c index 6e9a76451f..be0d5f56f5 100644 --- a/ext/gd/gd.c +++ b/ext/gd/gd.c @@ -133,9 +133,8 @@ function_entry gd_functions[] = { PHP_FE(imagecreatetruecolor, NULL) PHP_FE(imagetruecolortopalette, NULL) PHP_FE(imagesetthickness, NULL) - PHP_FE(imageellipse, NULL) - PHP_FE(imagefilledellipse, NULL) PHP_FE(imagefilledarc, NULL) + PHP_FE(imagefilledellipse, NULL) PHP_FE(imagealphablending, NULL) PHP_FE(imagecolorresolvealpha, NULL) PHP_FE(imagecolorclosestalpha, NULL) @@ -143,6 +142,10 @@ function_entry gd_functions[] = { PHP_FE(imagecopyresampled, NULL) #endif +#if HAVE_GD_IMAGEELLIPSE + PHP_FE(imageellipse, NULL) +#endif + #if HAVE_GD_IMAGESETTILE PHP_FE(imagesettile, NULL) #endif @@ -645,7 +648,7 @@ PHP_FUNCTION(imagesetthickness) } /* }}} */ -#if 0 /* this function is missing from GD 2.0.1 */ +#ifdef HAVE_GD_IMAGEELLIPSE /* this function is missing from GD 2.0.1 */ /* {{{ proto void imageellipse(resource im, int cx, int cy, int w, int h, int color) Draw an ellipse */ PHP_FUNCTION(imageellipse) |
