- Document the antialising functions and how they work

Feel free to "fix" my english or grammar, or make it even more clear


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@195682 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Pierre Joye 2005-09-10 10:41:14 +00:00
parent 341d45ebc3
commit e7d64d1ccf

View file

@ -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;
&note.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>