reference/image/functions/imageantialias.xml
593ea510e853ff034e03f78a4be0daa41661c9d4
...
...
@@ -9,8 +9,8 @@
9
9
&reftitle.description;
10
10
<methodsynopsis>
11
11
<type>bool</type><methodname>imageantialias</methodname>
12
-
<methodparam><type>resource</type><parameter>image</parameter></methodparam>
13
-
<methodparam><type>bool</type><parameter>enabled</parameter></methodparam>
12
+
<methodparam><type>GdImage</type><parameter>image</parameter></methodparam>
13
+
<methodparam><type>bool</type><parameter>enable</parameter></methodparam>
14
14
</methodsynopsis>
15
15
<para>
16
16
Activate the fast drawing antialiased methods for lines and wired polygons.
...
...
@@ -33,7 +33,7 @@
33
33
<variablelist>
34
34
&gd.image.description;
35
35
<varlistentry>
36
-
<term><parameter>enabled</parameter></term>
36
+
<term><parameter>enable</parameter></term>
37
37
<listitem>
38
38
<para>
39
39
Whether to enable antialiasing or not.
...
...
@@ -49,6 +49,32 @@
49
49
&return.success;
50
50
</para>
51
51
</refsect1>
52
+

53
+
<refsect1 role="changelog">
54
+
&reftitle.changelog;
55
+
<informaltable>
56
+
<tgroup cols="2">
57
+
<thead>
58
+
<row>
59
+
<entry>&Version;</entry>
60
+
<entry>&Description;</entry>
61
+
</row>
62
+
</thead>
63
+
<tbody>
64
+
&gd.changelog.image-param;
65
+
<row>
66
+
<entry>7.2.0</entry>
67
+
<entry>
68
+
<function>imageantialias</function> is now generally available. Formerly
69
+
it was only available if PHP was compiled with the bundled version of the
70
+
GD library.
71
+
</entry>
72
+
</row>
73
+
</tbody>
74
+
</tgroup>
75
+
</informaltable>
76
+
</refsect1>
77
+

52
78
<refsect1 role="examples">
53
79
&reftitle.examples;
54
80
<para>
...
...
@@ -94,20 +120,14 @@ imagedestroy($normal);
94
120
</example>
95
121
</para>
96
122
</refsect1>
97
-
<refsect1 role="notes">
98
-
&reftitle.notes;
99
-
&note.bundled.gd;
100
-
</refsect1>
123
+

101
124
<refsect1 role="seealso">
102
125
&reftitle.seealso;
103
-
<para>
104
-
<simplelist>
105
-
<member><function>imagecreatetruecolor</function></member>
106
-
</simplelist>
107
-
</para>
126
+
<simplelist>
127
+
<member><function>imagecreatetruecolor</function></member>
128
+
</simplelist>
108
129
</refsect1>
109
130
</refentry>
110
-

111
131
<!-- Keep this comment at the end of the file
112
132
Local variables:
113
133
mode: sgml
114
134