pajoye Sat Sep 10 06:41:15 2005 EDT
Modified files:
/phpdoc/en/reference/image/functions imageantialias.xml
Log:
- Document the antialising functions and how they work
Feel free to "fix" my english or grammar, or make it even more clear
http://cvs.php.net/diff.php/phpdoc/en/reference/image/functions/imageantialias.xml?r1=1.4&r2=1.5&ty=u
Index: phpdoc/en/reference/image/functions/imageantialias.xml
diff -u phpdoc/en/reference/image/functions/imageantialias.xml:1.4
phpdoc/en/reference/image/functions/imageantialias.xml:1.5
--- phpdoc/en/reference/image/functions/imageantialias.xml:1.4 Mon Apr 12
18:58:32 2004
+++ phpdoc/en/reference/image/functions/imageantialias.xml Sat Sep 10
06:41:14 2005
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<refentry id="function.imageantialias">
<refnamediv>
<refname>imageantialias</refname>
@@ -14,9 +14,17 @@
<methodparam><type>resource</type><parameter>im</parameter></methodparam>
<methodparam><type>bool</type><parameter>on</parameter></methodparam>
</methodsynopsis>
-
- &warn.undocumented.func;
- ¬e.bundled.gd;
+ <para>
+ Activate the fast drawing antialiased methods for lines and polygons.
+ It does not support alpha components. It works using a direct blend
+ operation. It works only with truecolor images.
+ </para>
+ <para>
+ Using antialiased primitives with transparent background color can end with
+ some unexpected results. The blend method uses the background color as any
+ other colors. The lack of alpha component support does not allow an alpha
+ based antialiasing method.
+ </para>
<para>
See also <function>imagecreatetruecolor</function>.
</para>