Intergrade 3years old user note by ttoohey at php dot net

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@244152 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Hannes Magnusson 2007-10-13 17:52:19 +00:00
parent fd64ecd44d
commit 4a6f7e12d8

View file

@ -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>