cvs: pear /Image_Transform/Driver Cairowrapper.php
[email protected] ("Christian Weiske")
| Newsgroups | php.pear.cvs |
|---|---|
| Message-ID | <cvscweiske1209419713@cvsserver> |
cweiske Mon Apr 28 21:55:13 2008 UTC
Modified files:
/pear/Image_Transform/Driver Cairowrapper.php
Log:
docblock for save(). display() can't be implemented at the moment since the
cairo stream functions don't work
http://cvs.php.net/viewvc.cgi/pear/Image_Transform/Driver/Cairowrapper.php?r1=1.2&r2=1.3&diff_format=u
Index: pear/Image_Transform/Driver/Cairowrapper.php
diff -u pear/Image_Transform/Driver/Cairowrapper.php:1.2 pear/Image_Transform/Driver/Cairowrapper.php:1.3
--- pear/Image_Transform/Driver/Cairowrapper.php:1.2 Mon Apr 28 21:18:58 2008
+++ pear/Image_Transform/Driver/Cairowrapper.php Mon Apr 28 21:55:13 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.2 2008/04/28 21:18:58 cweiske Exp $
+ * @version CVS: $Id: Cairowrapper.php,v 1.3 2008/04/28 21:55:13 cweiske Exp $
* @link http://pear.php.net/package/Image_Transform
*/
require_once 'Image/Transform.php';
@@ -162,6 +162,17 @@
+ /**
+ * Saves the scaled image into a file.
+ *
+ * @param string $filename The filename to save to
+ * @param mixed $type ignored
+ * @param mixed $quality ignored
+ *
+ * @return void
+ *
+ * @access public
+ */
function save($filename, $type = null, $quality = null)
{
cairo_surface_write_to_png($this->surface, $filename);