summaryrefslogtreecommitdiff
path: root/ext/gd/php_gd.h
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2007-04-17 15:11:56 +0000
committerPierre Joye <pajoye@php.net>2007-04-17 15:11:56 +0000
commit17f6220b8d2e7e2c273e112a7b74f0a7004c1940 (patch)
tree8fc27962b76017cadc98a73cdd47fb7c98dcb6f6 /ext/gd/php_gd.h
parent33c93941125ebf0c488547b0e1596d04e6f0366a (diff)
downloadphp-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.h5
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);