summaryrefslogtreecommitdiff
path: root/ext/gd/php_gd.h
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2007-04-17 15:31:45 +0000
committerPierre Joye <pajoye@php.net>2007-04-17 15:31:45 +0000
commit569e8596afb280b1d72e7ec17eee9498b944b8dd (patch)
tree1b23f2f820ce8d5c55afc362ca560f1919079b89 /ext/gd/php_gd.h
parent1e0f6fe5bbba046208479b3f15cc9e5954a58daa (diff)
downloadphp-git-569e8596afb280b1d72e7ec17eee9498b944b8dd.tar.gz
- MFH: add imagegrabwindow and imagegrabscreen (win32 only) [DOC]
capture a window using its handle or a full screen
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 528057a19f..9ced4a44bb 100644
--- a/ext/gd/php_gd.h
+++ b/ext/gd/php_gd.h
@@ -114,6 +114,11 @@ PHP_FUNCTION(imagecolorexactalpha);
PHP_FUNCTION(imagecopyresampled);
#endif
+#ifdef PHP_WIN32
+PHP_FUNCTION(imagegrabwindow);
+PHP_FUNCTION(imagegrabscreen);
+#endif
+
#ifdef HAVE_GD_BUNDLED
PHP_FUNCTION(imagerotate);
PHP_FUNCTION(imageantialias);