New parameter

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@183577 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jakub Vrana 2005-04-04 16:19:42 +00:00
parent a58bcdf974
commit 7cbeff46ca

View file

@ -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
@ -23,6 +24,11 @@
image is scaled down so that the whole rotated image fits in the
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>