diff options
| author | Pierre Joye <pajoye@php.net> | 2007-04-17 15:11:56 +0000 |
|---|---|---|
| committer | Pierre Joye <pajoye@php.net> | 2007-04-17 15:11:56 +0000 |
| commit | 17f6220b8d2e7e2c273e112a7b74f0a7004c1940 (patch) | |
| tree | 8fc27962b76017cadc98a73cdd47fb7c98dcb6f6 /ext/gd/php_gd.h | |
| parent | 33c93941125ebf0c488547b0e1596d04e6f0366a (diff) | |
| download | php-git-17f6220b8d2e7e2c273e112a7b74f0a7004c1940.tar.gz | |
- add imagegrabwindow and imagegrabscreen (win32 only)
capture a window using its handle or a full screen
optional bbox and to/from clipboard will follow shortly
Diffstat (limited to 'ext/gd/php_gd.h')
| -rw-r--r-- | ext/gd/php_gd.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/gd/php_gd.h b/ext/gd/php_gd.h index ef9b6539db..7f5cb70c95 100644 --- a/ext/gd/php_gd.h +++ b/ext/gd/php_gd.h @@ -110,6 +110,11 @@ PHP_FUNCTION(imagecolorclosestalpha); PHP_FUNCTION(imagecolorexactalpha); PHP_FUNCTION(imagecopyresampled); +#ifdef PHP_WIN32 +PHP_FUNCTION(imagegrabwindow); +PHP_FUNCTION(imagegrabscreen); +#endif + #ifdef HAVE_GD_BUNDLED PHP_FUNCTION(imagerotate); PHP_FUNCTION(imageantialias); |
