note 56521 added to function.imageantialias
| From: | trimbo at osu1 dot php dot net | Date: | Tue, 06 Sep 2005 07:25:04 +0000 |
| Subject: | note 56521 added to function.imageantialias | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-94782@lists.php.net to get a copy of this message | ||
So far using PHP 5.0.4 I've managed to get Imageantialias() to work well with:
ImageLine()
ImagePolygon()
but not with:
ImageArc()
ImageEllipse()
ImageFilled*()
You can still draw antialiased filled polygons by drawing a hollow polygon on top of a filled one
with the same dimensions:
<?php
$points=array($x,$y, $x2,$y2, $x3,$y3);
imageFilledPolygon($im, $points, 3, $gray );
imagePolygon($im, $points, 3, $gray );
?>
----
Manual Page -- http://www.php.net/manual/en/function.imageantialias.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+56521
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+56521&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+56521&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+56521&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+56521&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+56521&report=yes&reason=non-english
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+56521&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+56521&report=yes
Search -- http://master.php.net/manage/user-notes.php