diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2016-07-23 16:14:36 +0200 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2016-07-23 16:14:36 +0200 |
commit | d795a6bf978671155f97fc2e11151e4e520a75ae (patch) | |
tree | ae4f623eaca7da7846139c9763884539592ae1e8 /ext/gd/php_gd.h | |
parent | 3bfea88ad8c0af82022fe318738edfead732e1ce (diff) | |
download | php-git-d795a6bf978671155f97fc2e11151e4e520a75ae.tar.gz |
Implement #52857: Access to gdImageSetClip() and gdImageGetClip()
We add the necessary PHP bindings for both functions which are available
as of GD_2_0_12 (released 2006-04-05). The API of imagegetclip() is modelled
according to imageftbbox().
Diffstat (limited to 'ext/gd/php_gd.h')
-rw-r--r-- | ext/gd/php_gd.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/gd/php_gd.h b/ext/gd/php_gd.h index 19e7063d9c..d2c4697322 100644 --- a/ext/gd/php_gd.h +++ b/ext/gd/php_gd.h @@ -182,6 +182,8 @@ PHP_FUNCTION(imagestring); PHP_FUNCTION(imagestringup); PHP_FUNCTION(imagesx); PHP_FUNCTION(imagesy); +PHP_FUNCTION(imagesetclip); +PHP_FUNCTION(imagegetclip); PHP_FUNCTION(imagedashedline); PHP_FUNCTION(imagettfbbox); PHP_FUNCTION(imagettftext); |