reference/image/functions/imagealphablending.xml
593ea510e853ff034e03f78a4be0daa41661c9d4
...
...
@@ -9,8 +9,8 @@
9
9
&reftitle.description;
10
10
<methodsynopsis>
11
11
<type>bool</type><methodname>imagealphablending</methodname>
12
-
<methodparam><type>resource</type><parameter>image</parameter></methodparam>
13
-
<methodparam><type>bool</type><parameter>blendmode</parameter></methodparam>
12
+
<methodparam><type>GdImage</type><parameter>image</parameter></methodparam>
13
+
<methodparam><type>bool</type><parameter>enable</parameter></methodparam>
14
14
</methodsynopsis>
15
15
<para>
16
16
<function>imagealphablending</function> allows for two different
...
...
@@ -31,7 +31,7 @@
31
31
<variablelist>
32
32
&gd.image.description;
33
33
<varlistentry>
34
-
<term><parameter>blendmode</parameter></term>
34
+
<term><parameter>enable</parameter></term>
35
35
<listitem>
36
36
<para>
37
37
Whether to enable the blending mode or not. On true color images
...
...
@@ -48,6 +48,24 @@
48
48
&return.success;
49
49
</para>
50
50
</refsect1>
51
+

52
+
<refsect1 role="changelog">
53
+
&reftitle.changelog;
54
+
<informaltable>
55
+
<tgroup cols="2">
56
+
<thead>
57
+
<row>
58
+
<entry>&Version;</entry>
59
+
<entry>&Description;</entry>
60
+
</row>
61
+
</thead>
62
+
<tbody>
63
+
&gd.changelog.image-param;
64
+
</tbody>
65
+
</tgroup>
66
+
</informaltable>
67
+
</refsect1>
68
+

51
69
<refsect1 role="examples">
52
70
&reftitle.examples;
53
71
<example>
...
...
@@ -65,7 +83,7 @@ imagealphablending($im, true);
65
83
imagefilledrectangle($im, 30, 30, 70, 70, imagecolorallocate($im, 255, 0, 0));
66
84

67
85
// Output
68
-
header('Content-type: image/png');
86
+
header('Content-Type: image/png');
69
87

70
88
imagepng($im);
71
89
imagedestroy($im);
...
...
@@ -74,12 +92,7 @@ imagedestroy($im);
74
92
</programlisting>
75
93
</example>
76
94
</refsect1>
77
-
<refsect1 role="notes">
78
-
&reftitle.notes;
79
-
&note.gd.2;
80
-
</refsect1>
81
95
</refentry>
82
-

83
96
<!-- Keep this comment at the end of the file
84
97
Local variables:
85
98
mode: sgml
86
99