reference/image/functions/imagelayereffect.xml
593ea510e853ff034e03f78a4be0daa41661c9d4
...
...
@@ -1,19 +1,19 @@
1
-
<?xml version="1.0" encoding="UTF-8"?>
1
+
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
3
<refentry xml:id="function.imagelayereffect" xmlns="http://docbook.org/ns/docbook">
4
4
<refnamediv>
5
5
<refname>imagelayereffect</refname>
6
-
<refpurpose>Set the alpha blending flag to use the bundled libgd layering effects</refpurpose>
6
+
<refpurpose>Set the alpha blending flag to use layering effects</refpurpose>
7
7
</refnamediv>
8
8
<refsect1 role="description">
9
9
&reftitle.description;
10
10
<methodsynopsis>
11
11
<type>bool</type><methodname>imagelayereffect</methodname>
12
-
<methodparam><type>resource</type><parameter>image</parameter></methodparam>
12
+
<methodparam><type>GdImage</type><parameter>image</parameter></methodparam>
13
13
<methodparam><type>int</type><parameter>effect</parameter></methodparam>
14
14
</methodsynopsis>
15
15
<para>
16
-
Set the alpha blending flag to use the bundled libgd layering effects.
16
+
Set the alpha blending flag to use layering effects.
17
17
</para>
18
18
</refsect1>
19
19
<refsect1 role="parameters">
...
...
@@ -63,6 +63,14 @@
63
63
</simpara>
64
64
</listitem>
65
65
</varlistentry>
66
+
<varlistentry>
67
+
<term><constant>IMG_EFFECT_MULTIPLY</constant></term>
68
+
<listitem>
69
+
<simpara>
70
+
Overlays with a multiply effect.
71
+
</simpara>
72
+
</listitem>
73
+
</varlistentry>
66
74
</variablelist>
67
75
</para>
68
76
</listitem>
...
...
@@ -76,6 +84,31 @@
76
84
&return.success;
77
85
</para>
78
86
</refsect1>
87
+

88
+
<refsect1 role="changelog">
89
+
&reftitle.changelog;
90
+
<informaltable>
91
+
<tgroup cols="2">
92
+
<thead>
93
+
<row>
94
+
<entry>&Version;</entry>
95
+
<entry>&Description;</entry>
96
+
</row>
97
+
</thead>
98
+
<tbody>
99
+
&gd.changelog.image-param;
100
+
<row>
101
+
<entry>7.2.0</entry>
102
+
<entry>
103
+
Added <constant>IMG_EFFECT_MULTIPLY</constant> (requires system libgd &gt;=
104
+
2.1.1 or the bundled libgd).
105
+
</entry>
106
+
</row>
107
+
</tbody>
108
+
</tgroup>
109
+
</informaltable>
110
+
</refsect1>
111
+

79
112
<refsect1 role="examples">
80
113
&reftitle.examples;
81
114
<example>
...
...
@@ -114,13 +147,8 @@ imagedestroy($im);
114
147
</mediaobject>
115
148
</example>
116
149
</refsect1>
117
-
<refsect1 role="notes">
118
-
&reftitle.notes;
119
-
&note.bundled.gd;
120
-
&note.gd.2;
121
-
</refsect1>
122
-
</refentry>
123
150

151
+
</refentry>
124
152
<!-- Keep this comment at the end of the file
125
153
Local variables:
126
154
mode: sgml
127
155