reference/image/functions/imagerectangle.xml
593ea510e853ff034e03f78a4be0daa41661c9d4
...
...
@@ -9,7 +9,7 @@
9
9
&reftitle.description;
10
10
<methodsynopsis>
11
11
<type>bool</type><methodname>imagerectangle</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>x1</parameter></methodparam>
14
14
<methodparam><type>int</type><parameter>y1</parameter></methodparam>
15
15
<methodparam><type>int</type><parameter>x2</parameter></methodparam>
...
...
@@ -63,8 +63,7 @@
63
63
<term><parameter>color</parameter></term>
64
64
<listitem>
65
65
<para>
66
-
A color identifier created with
67
-
<function>imagecolorallocate</function>.
66
+
&gd.identifier.color;
68
67
</para>
69
68
</listitem>
70
69
</varlistentry>
...
...
@@ -77,6 +76,24 @@
77
76
&return.success;
78
77
</para>
79
78
</refsect1>
79
+

80
+
<refsect1 role="changelog">
81
+
&reftitle.changelog;
82
+
<informaltable>
83
+
<tgroup cols="2">
84
+
<thead>
85
+
<row>
86
+
<entry>&Version;</entry>
87
+
<entry>&Description;</entry>
88
+
</row>
89
+
</thead>
90
+
<tbody>
91
+
&gd.changelog.image-param;
92
+
</tbody>
93
+
</tgroup>
94
+
</informaltable>
95
+
</refsect1>
96
+

80
97
<refsect1 role="examples">
81
98
&reftitle.examples;
82
99
<para>
...
...
@@ -117,7 +134,6 @@ imagedestroy($canvas);
117
134
</para>
118
135
</refsect1>
119
136
</refentry>
120
-

121
137
<!-- Keep this comment at the end of the file
122
138
Local variables:
123
139
mode: sgml
124
140