reference/image/functions/imagesettile.xml
593ea510e853ff034e03f78a4be0daa41661c9d4
...
...
@@ -9,8 +9,8 @@
9
9
&reftitle.description;
10
10
<methodsynopsis>
11
11
<type>bool</type><methodname>imagesettile</methodname>
12
-
<methodparam><type>resource</type><parameter>image</parameter></methodparam>
13
-
<methodparam><type>resource</type><parameter>tile</parameter></methodparam>
12
+
<methodparam><type>GdImage</type><parameter>image</parameter></methodparam>
13
+
<methodparam><type>GdImage</type><parameter>tile</parameter></methodparam>
14
14
</methodsynopsis>
15
15
<para>
16
16
<function>imagesettile</function> sets the tile image to be
...
...
@@ -24,13 +24,13 @@
24
24
image with <function>imagecolortransparent</function>, a tile allows certain parts
25
25
of the underlying area to shine through can be created.
26
26
</para>
27
-
<note>
27
+
<caution>
28
28
<para>
29
29
You need not take special action when you are finished with a tile, but if you
30
-
destroy the tile image, you must not use the <constant>IMG_COLOR_TILED</constant>
30
+
destroy the tile image (or let PHP destroy it), you must not use the <constant>IMG_COLOR_TILED</constant>
31
31
color until you have set a new tile image!
32
32
</para>
33
-
</note>
33
+
</caution>
34
34
</refsect1>
35
35
<refsect1 role="parameters">
36
36
&reftitle.parameters;
...
...
@@ -41,7 +41,7 @@
41
41
<term><parameter>tile</parameter></term>
42
42
<listitem>
43
43
<para>
44
-
The image resource to be used as a tile.
44
+
The image object to be used as a tile.
45
45
</para>
46
46
</listitem>
47
47
</varlistentry>
...
...
@@ -54,6 +54,31 @@
54
54
&return.success;
55
55
</para>
56
56
</refsect1>
57
+

58
+
<refsect1 role="changelog">
59
+
&reftitle.changelog;
60
+
<informaltable>
61
+
<tgroup cols="2">
62
+
<thead>
63
+
<row>
64
+
<entry>&Version;</entry>
65
+
<entry>&Description;</entry>
66
+
</row>
67
+
</thead>
68
+
<tbody>
69
+
<row>
70
+
<entry>8.0.0</entry>
71
+
<entry>
72
+
<parameter>image</parameter> and <parameter>tile</parameter> expect
73
+
<classname>GdImage</classname> instances now; previously, <type>resource</type>s
74
+
were expected.
75
+
</entry>
76
+
</row>
77
+
</tbody>
78
+
</tgroup>
79
+
</informaltable>
80
+
</refsect1>
81
+

57
82
<refsect1 role="examples">
58
83
&reftitle.examples;
59
84
<para>
...
...
@@ -94,7 +119,6 @@ imagedestroy($zend);
94
119
</para>
95
120
</refsect1>
96
121
</refentry>
97
-

98
122
<!-- Keep this comment at the end of the file
99
123
Local variables:
100
124
mode: sgml
101
125