reference/image/functions/imagecolorclosesthwb.xml
593ea510e853ff034e03f78a4be0daa41661c9d4
...
...
@@ -1,6 +1,6 @@
1
1
<?xml version="1.0" encoding="utf-8"?>
2
2
<!-- $Revision$ -->
3
-
<refentry xml:id='function.imagecolorclosesthwb' xmlns="http://docbook.org/ns/docbook">
3
+
<refentry xml:id="function.imagecolorclosesthwb" xmlns="http://docbook.org/ns/docbook">
4
4
<refnamediv>
5
5
<refname>imagecolorclosesthwb</refname>
6
6
<refpurpose>Get the index of the color which has the hue, white and blackness</refpurpose>
...
...
@@ -9,7 +9,7 @@
9
9
&reftitle.description;
10
10
<methodsynopsis>
11
11
<type>int</type><methodname>imagecolorclosesthwb</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>red</parameter></methodparam>
14
14
<methodparam><type>int</type><parameter>green</parameter></methodparam>
15
15
<methodparam><type>int</type><parameter>blue</parameter></methodparam>
...
...
@@ -52,6 +52,24 @@
52
52
the hue, white and blackness nearest the given color.
53
53
</para>
54
54
</refsect1>
55
+

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

55
73
<refsect1 role="examples">
56
74
&reftitle.examples;
57
75
<para>
...
...
@@ -77,39 +95,14 @@ HWB: 33
77
95
</example>
78
96
</para>
79
97
</refsect1>
80
-
<refsect1 role="changelog">
81
-
&reftitle.changelog;
82
-
<para>
83
-
<informaltable>
84
-
<tgroup cols="2">
85
-
<thead>
86
-
<row>
87
-
<entry>&Version;</entry>
88
-
<entry>&Description;</entry>
89
-
</row>
90
-
</thead>
91
-
<tbody>
92
-
<row>
93
-
<entry>5.3.0</entry>
94
-
<entry>
95
-
This function is now available on Windows
96
-
</entry>
97
-
</row>
98
-
</tbody>
99
-
</tgroup>
100
-
</informaltable>
101
-
</para>
102
-
</refsect1>
98
+

103
99
<refsect1 role="seealso">
104
100
&reftitle.seealso;
105
-
<para>
106
-
<simplelist>
107
-
<member><function>imagecolorclosest</function></member>
108
-
</simplelist>
109
-
</para>
101
+
<simplelist>
102
+
<member><function>imagecolorclosest</function></member>
103
+
</simplelist>
110
104
</refsect1>
111
105
</refentry>
112
-

113
106
<!-- Keep this comment at the end of the file
114
107
Local variables:
115
108
mode: sgml
116
109