From e7d64d1ccf3be7703e4f11bfc342e2e47aeaea65 Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Sat, 10 Sep 2005 10:41:14 +0000 Subject: [PATCH] - 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 --- reference/image/functions/imageantialias.xml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/reference/image/functions/imageantialias.xml b/reference/image/functions/imageantialias.xml index 9fe25e9be0..ac898748f8 100644 --- a/reference/image/functions/imageantialias.xml +++ b/reference/image/functions/imageantialias.xml @@ -1,5 +1,5 @@ - + imageantialias @@ -14,9 +14,17 @@ resourceim boolon - - &warn.undocumented.func; - ¬e.bundled.gd; + + 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. + + + 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. + See also imagecreatetruecolor.