cvs: pear /Image_Transform/Driver Cairowrapper.php

[email protected] ("Christian Weiske")
Newsgroups php.pear.cvs
Message-ID <cvscweiske1209417539@cvsserver>
cweiske		Mon Apr 28 21:18:59 2008 UTC

  Modified files:              
    /pear/Image_Transform/Driver	Cairowrapper.php 
  Log:
  add getHandle() to cairowrapper driver
  
  
http://cvs.php.net/viewvc.cgi/pear/Image_Transform/Driver/Cairowrapper.php?r1=1.1&r2=1.2&diff_format=u
Index: pear/Image_Transform/Driver/Cairowrapper.php
diff -u pear/Image_Transform/Driver/Cairowrapper.php:1.1 pear/Image_Transform/Driver/Cairowrapper.php:1.2
--- pear/Image_Transform/Driver/Cairowrapper.php:1.1	Mon Apr 28 20:58:37 2008
+++ pear/Image_Transform/Driver/Cairowrapper.php	Mon Apr 28 21:18:58 2008
@@ -18,7 +18,7 @@
  * @author     Christian Weiske <[email protected]>
  * @copyright  2008 The PHP Group
  * @license    http://www.php.net/license/3_0.txt  PHP License 3.0
- * @version    CVS: $Id: Cairowrapper.php,v 1.1 2008/04/28 20:58:37 cweiske Exp $
+ * @version    CVS: $Id: Cairowrapper.php,v 1.2 2008/04/28 21:18:58 cweiske Exp $
  * @link       http://pear.php.net/package/Image_Transform
  */
 require_once 'Image/Transform.php';
@@ -171,6 +171,20 @@
 
 
     /**
+     * Returns the surface of the image so it can be modified further
+     *
+     * @return resource
+     *
+     * @access public
+     */
+    function getHandle()
+    {
+        return $this->surface;
+    }//function getHandle()
+
+
+
+    /**
      * Frees cairo handles
      *
      * @return void
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.