reference/image/functions/imagepalettecopy.xml
593ea510e853ff034e03f78a4be0daa41661c9d4
...
...
@@ -9,13 +9,13 @@
9
9
&reftitle.description;
10
10
<methodsynopsis>
11
11
<type>void</type><methodname>imagepalettecopy</methodname>
12
-
<methodparam><type>resource</type><parameter>destination</parameter></methodparam>
13
-
<methodparam><type>resource</type><parameter>source</parameter></methodparam>
12
+
<methodparam><type>GdImage</type><parameter>dst</parameter></methodparam>
13
+
<methodparam><type>GdImage</type><parameter>src</parameter></methodparam>
14
14
</methodsynopsis>
15
15
<para>
16
16
<function>imagepalettecopy</function> copies the palette from the
17
-
<parameter>source</parameter> image to the
18
-
<parameter>destination</parameter> image.
17
+
<parameter>src</parameter> image to the
18
+
<parameter>dst</parameter> image.
19
19
</para>
20
20
</refsect1>
21
21
<refsect1 role="parameters">
...
...
@@ -23,18 +23,18 @@
23
23
<para>
24
24
<variablelist>
25
25
<varlistentry>
26
-
<term><parameter>destination</parameter></term>
26
+
<term><parameter>dst</parameter></term>
27
27
<listitem>
28
28
<para>
29
-
The destination image resource.
29
+
The destination image object.
30
30
</para>
31
31
</listitem>
32
32
</varlistentry>
33
33
<varlistentry>
34
-
<term><parameter>source</parameter></term>
34
+
<term><parameter>src</parameter></term>
35
35
<listitem>
36
36
<para>
37
-
The source image resource.
37
+
The source image object.
38
38
</para>
39
39
</listitem>
40
40
</varlistentry>
...
...
@@ -47,6 +47,31 @@
47
47
&return.void;
48
48
</para>
49
49
</refsect1>
50
+

51
+
<refsect1 role="changelog">
52
+
&reftitle.changelog;
53
+
<informaltable>
54
+
<tgroup cols="2">
55
+
<thead>
56
+
<row>
57
+
<entry>&Version;</entry>
58
+
<entry>&Description;</entry>
59
+
</row>
60
+
</thead>
61
+
<tbody>
62
+
<row>
63
+
<entry>8.0.0</entry>
64
+
<entry>
65
+
<parameter>dst</parameter> and <parameter>src</parameter> expect
66
+
<classname>GdImage</classname> instances now; previously, <type>resource</type>s
67
+
were expected.
68
+
</entry>
69
+
</row>
70
+
</tbody>
71
+
</tgroup>
72
+
</informaltable>
73
+
</refsect1>
74
+

50
75
<refsect1 role="examples">
51
76
&reftitle.examples;
52
77
<para>
...
...
@@ -84,7 +109,6 @@ imagedestroy($palette2);
84
109
</para>
85
110
</refsect1>
86
111
</refentry>
87
-

88
112
<!-- Keep this comment at the end of the file
89
113
Local variables:
90
114
mode: sgml
91
115