cvs: phpdoc /en/reference/image/functions imagerotate.xml
| From: | Jakub Vrana | Date: | Mon, 04 Apr 2005 16:19:42 +0000 |
| Subject: | cvs: phpdoc /en/reference/image/functions imagerotate.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969367393@lists.php.net to get a copy of this message | ||
vrana Mon Apr 4 12:19:42 2005 EDT
Modified files:
/phpdoc/en/reference/image/functions imagerotate.xml
Log:
New parameter
http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imagerotate.xml?r1=1.5&r2=1.6&ty=u
Index: phpdoc/en/reference/image/functions/imagerotate.xml
diff -u phpdoc/en/reference/image/functions/imagerotate.xml:1.5
phpdoc/en/reference/image/functions/imagerotate.xml:1.6
--- phpdoc/en/reference/image/functions/imagerotate.xml:1.5 Mon Oct 4 03:09:47 2004
+++ phpdoc/en/reference/image/functions/imagerotate.xml Mon Apr 4 12:19:42 2005
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<refentry id="function.imagerotate">
<refnamediv>
<refname>imagerotate</refname>
@@ -12,6 +12,7 @@
<methodparam><type>resource</type><parameter>src_im</parameter></methodparam>
<methodparam><type>float</type><parameter>angle</parameter></methodparam>
<methodparam><type>int</type><parameter>bgd_color</parameter></methodparam>
+ <methodparam
choice="opt"><type>int</type><parameter>ignore_transparent</parameter></methodparam>
</methodsynopsis>
<para>
Rotates the <parameter>src_im</parameter> image using a given
@@ -24,6 +25,11 @@
destination image - the edges are not clipped.
</para>
<para>
+ If <parameter>ignore_transparent</parameter> is set and non-zero,
+ transparent colors are ignored (otherwise kept). This parameter was added
+ in PHP 5.1.
+ </para>
+ <para>
<example>
<title>Rotate an image 180 degrees</title>
<para>