reference/image/functions/imagechar.xml
a7e5e563d2d2269a6d7ccff506715a3e1a6f3902
...
...
@@ -9,16 +9,16 @@
9
9
&reftitle.description;
10
10
<methodsynopsis>
11
11
<type>bool</type><methodname>imagechar</methodname>
12
-
<methodparam><type>resource</type><parameter>image</parameter></methodparam>
13
-
<methodparam><type>int</type><parameter>font</parameter></methodparam>
12
+
<methodparam><type>GdImage</type><parameter>image</parameter></methodparam>
13
+
<methodparam><type class="union"><type>GdFont</type><type>int</type></type><parameter>font</parameter></methodparam>
14
14
<methodparam><type>int</type><parameter>x</parameter></methodparam>
15
15
<methodparam><type>int</type><parameter>y</parameter></methodparam>
16
-
<methodparam><type>string</type><parameter>c</parameter></methodparam>
16
+
<methodparam><type>string</type><parameter>char</parameter></methodparam>
17
17
<methodparam><type>int</type><parameter>color</parameter></methodparam>
18
18
</methodsynopsis>
19
19
<para>
20
20
<function>imagechar</function> draws the first character of
21
-
<parameter>c</parameter> in the image identified by
21
+
<parameter>char</parameter> in the image identified by
22
22
<parameter>image</parameter> with its upper-left at
23
23
<parameter>x</parameter>,<parameter>y</parameter> (top left is 0,
24
24
0) with the color <parameter>color</parameter>.
...
...
@@ -47,7 +47,7 @@
47
47
</listitem>
48
48
</varlistentry>
49
49
<varlistentry>
50
-
<term><parameter>c</parameter></term>
50
+
<term><parameter>char</parameter></term>
51
51
<listitem>
52
52
<para>
53
53
The character to draw.
...
...
@@ -58,8 +58,7 @@
58
58
<term><parameter>color</parameter></term>
59
59
<listitem>
60
60
<para>
61
-
A color identifier created with
62
-
<function>imagecolorallocate</function>.
61
+
&gd.identifier.color;
63
62
</para>
64
63
</listitem>
65
64
</varlistentry>
...
...
@@ -72,6 +71,25 @@
72
71
&return.success;
73
72
</para>
74
73
</refsect1>
74
+

75
+
<refsect1 role="changelog">
76
+
&reftitle.changelog;
77
+
<informaltable>
78
+
<tgroup cols="2">
79
+
<thead>
80
+
<row>
81
+
<entry>&Version;</entry>
82
+
<entry>&Description;</entry>
83
+
</row>
84
+
</thead>
85
+
<tbody>
86
+
&gd.changelog.gdfont-instance;
87
+
&gd.changelog.image-param;
88
+
</tbody>
89
+
</tgroup>
90
+
</informaltable>
91
+
</refsect1>
92
+

75
93
<refsect1 role="examples">
76
94
&reftitle.examples;
77
95
<para>
...
...
@@ -109,15 +127,12 @@ imagepng($im);
109
127
</refsect1>
110
128
<refsect1 role="seealso">
111
129
&reftitle.seealso;
112
-
<para>
113
-
<simplelist>
114
-
<member><function>imagecharup</function></member>
115
-
<member><function>imageloadfont</function></member>
116
-
</simplelist>
117
-
</para>
130
+
<simplelist>
131
+
<member><function>imagecharup</function></member>
132
+
<member><function>imageloadfont</function></member>
133
+
</simplelist>
118
134
</refsect1>
119
135
</refentry>
120
-

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