cvs: phpdoc /en/reference/image/functions imagelayereffect.xml

From: Date: Sat, 13 Oct 2007 17:52:19 +0000
Subject: cvs: phpdoc /en/reference/image/functions imagelayereffect.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-202@lists.php.net to get a copy of this message
bjori Sat Oct 13 17:52:19 2007 UTC Modified files: /phpdoc/en/reference/image/functions imagelayereffect.xml Log: Intergrade 3years old user note by ttoohey at php dot net http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/image/functions/imagelayereffect.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc/en/reference/image/functions/imagelayereffect.xml diff -u phpdoc/en/reference/image/functions/imagelayereffect.xml:1.7 phpdoc/en/reference/image/functions/imagelayereffect.xml:1.8 --- phpdoc/en/reference/image/functions/imagelayereffect.xml:1.7 Wed Jun 20 22:24:38 2007 +++ phpdoc/en/reference/image/functions/imagelayereffect.xml Sat Oct 13 17:52:19 2007 @@ -1,5 +1,5 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.7 $ --> +<!-- $Revision: 1.8 $ --> <refentry xml:id="function.imagelayereffect" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>imagelayereffect</refname> @@ -12,7 +12,9 @@ <methodparam><type>resource</type><parameter>image</parameter></methodparam> <methodparam><type>int</type><parameter>effect</parameter></methodparam> </methodsynopsis> - &warn.undocumented.func; + <para> + Set the alpha blending flag to use the bundled libgd layering effects. + </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; @@ -23,6 +25,45 @@ <term><parameter>effect</parameter></term> <listitem> <para> + One of the following constants: + <variablelist> + <varlistentry> + <term><constant>IMG_EFFECT_REPLACE</constant></term> + <listitem> + <simpara> + Use pixel replacement (equivalent of passing &true; to + <function>imagealphablending</function>) + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term><constant>IMG_EFFECT_ALPHABLEND</constant></term> + <listitem> + <simpara> + Use normal pixel blending (equivalent of passing &false; to + <function>imagealphablending</function>) + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term><constant>IMG_EFFECT_NORMAL</constant></term> + <listitem> + <simpara> + Same as <constant>IMG_EFFECT_ALPHABLEND</constant>. + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term><constant>IMG_EFFECT_OVERLAY</constant></term> + <listitem> + <simpara> + Overlay has the effect that black background pixels will remain + black, white background pixels will remain white, but grey + background pixels will take the colour of the foreground pixel. + </simpara> + </listitem> + </varlistentry> + </variablelist> </para> </listitem> </varlistentry>

« previous php.doc.cvs (#202) next »